-
Notifications
You must be signed in to change notification settings - Fork 33
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) * [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 <[email protected]> * Enable write to cache by default Signed-off-by: Sean Kao <[email protected]> * bugfix: _meta.latestId missing when create index Signed-off-by: Sean Kao <[email protected]> * set and unset config in test suite Signed-off-by: Sean Kao <[email protected]> * fix: use member flintSparkConf Signed-off-by: Sean Kao <[email protected]> --------- Signed-off-by: Sean Kao <[email protected]> * default metadata cache write disabled Signed-off-by: Sean Kao <[email protected]> * remove string literal "external" in index builder Signed-off-by: Sean Kao <[email protected]> * track refreshInterval and lastRefreshTime Signed-off-by: Sean Kao <[email protected]> * add last refresh timestamps to metadata log entry Signed-off-by: Sean Kao <[email protected]> * update metadata cache test case: should pass Signed-off-by: Sean Kao <[email protected]> * move to spark package; get refresh interval Signed-off-by: Sean Kao <[email protected]> * parse refresh interval Signed-off-by: Sean Kao <[email protected]> * minor syntax fix on FlintSpark.createIndex Signed-off-by: Sean Kao <[email protected]> * strategize cache writer interface Signed-off-by: Sean Kao <[email protected]> * update refresh timestamps in FlintSpark Signed-off-by: Sean Kao <[email protected]> * add test cases Signed-off-by: Sean Kao <[email protected]> * IT test for refresh timestamp update Signed-off-by: Sean Kao <[email protected]> * add doc for spark conf Signed-off-by: Sean Kao <[email protected]> * change mock table name Signed-off-by: Sean Kao <[email protected]> * add IT test at FlintSpark level Signed-off-by: Sean Kao <[email protected]> * test with external scheduler Signed-off-by: Sean Kao <[email protected]> * refactor refreshIndex method; add test for modes Signed-off-by: Sean Kao <[email protected]> * fix typo Signed-off-by: Sean Kao <[email protected]> * fix failed test caused by refactoring Signed-off-by: Sean Kao <[email protected]> * rename method; add comment Signed-off-by: Sean Kao <[email protected]> --------- Signed-off-by: Sean Kao <[email protected]>
- Loading branch information
1 parent
cd730cb
commit a07f88f
Showing
23 changed files
with
1,053 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.