-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Write metadata cache data to mappings _meta with refresh time update (#…
…805) (#840) * [0.5-nexus] Write mock metadata cache data to mappings _meta (#744) * write mock metadata cache data to mappings _meta Signed-off-by: Sean Kao <seankao@amazon.com> * Enable write to cache by default Signed-off-by: Sean Kao <seankao@amazon.com> * bugfix: _meta.latestId missing when create index Signed-off-by: Sean Kao <seankao@amazon.com> * set and unset config in test suite Signed-off-by: Sean Kao <seankao@amazon.com> * fix: use member flintSparkConf Signed-off-by: Sean Kao <seankao@amazon.com> --------- Signed-off-by: Sean Kao <seankao@amazon.com> * default metadata cache write disabled Signed-off-by: Sean Kao <seankao@amazon.com> * remove string literal "external" in index builder Signed-off-by: Sean Kao <seankao@amazon.com> * track refreshInterval and lastRefreshTime Signed-off-by: Sean Kao <seankao@amazon.com> * add last refresh timestamps to metadata log entry Signed-off-by: Sean Kao <seankao@amazon.com> * update metadata cache test case: should pass Signed-off-by: Sean Kao <seankao@amazon.com> * move to spark package; get refresh interval Signed-off-by: Sean Kao <seankao@amazon.com> * parse refresh interval Signed-off-by: Sean Kao <seankao@amazon.com> * minor syntax fix on FlintSpark.createIndex Signed-off-by: Sean Kao <seankao@amazon.com> * strategize cache writer interface Signed-off-by: Sean Kao <seankao@amazon.com> * update refresh timestamps in FlintSpark Signed-off-by: Sean Kao <seankao@amazon.com> * add test cases Signed-off-by: Sean Kao <seankao@amazon.com> * IT test for refresh timestamp update Signed-off-by: Sean Kao <seankao@amazon.com> * add doc for spark conf Signed-off-by: Sean Kao <seankao@amazon.com> * change mock table name Signed-off-by: Sean Kao <seankao@amazon.com> * add IT test at FlintSpark level Signed-off-by: Sean Kao <seankao@amazon.com> * test with external scheduler Signed-off-by: Sean Kao <seankao@amazon.com> * refactor refreshIndex method; add test for modes Signed-off-by: Sean Kao <seankao@amazon.com> * fix typo Signed-off-by: Sean Kao <seankao@amazon.com> * fix failed test caused by refactoring Signed-off-by: Sean Kao <seankao@amazon.com> * rename method; add comment Signed-off-by: Sean Kao <seankao@amazon.com> --------- Signed-off-by: Sean Kao <seankao@amazon.com> (cherry picked from commit a07f88f)
- Loading branch information
1 parent
f790d35
commit c3b1da4
Showing
22 changed files
with
1,051 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.