-
Notifications
You must be signed in to change notification settings - Fork 11
Refactor: change indexing generation function #92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Pull Request Test Coverage Report for Build 1529261724
💛 - Coveralls |
|
This pull request introduces 2 alerts when merging 28224f6 into 1dbce0e - view on LGTM.com new alerts:
|
|
@shokakucarrier This is a proposal now to support changes in a new coming requirements in MMENG-2319. If you think it is not a correct change, let's hold it. |
|
This pull request introduces 1 alert when merging 1c65138 into dabc485 - view on LGTM.com new alerts:
|
|
This pull request introduces 1 alert when merging 8bbabe0 into ceea2f1 - view on LGTM.com new alerts:
|
|
@ligangty using delimiter is a good idea, you we can merge this, do you need me to do further testing and potential fixing on this? |
shokakucarrier
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
@shokakucarrier Ok. No worry about testing. Next step we will do staging testing with this pr. |
The old way of indexing generation function is using a .index file as cache for each changed directory to avoid full scan of the whole s3 bucket, this brings bunch of complicated steps, like recursive folder scan and reading, and local file reading of .index to do merging. The new way is using a new function to scan and retrieving the contents in a single folder, which is cheap way to get the contents to avoid full scan.
The old way of indexing generation function is using a .index file as
cache for each changed directory to avoid full scan of the whole s3
bucket, this brings bunch of complicated steps, like recursive folder
scan and reading, and local file reading of .index to do merging. The
new way is using a new function to scan and retrieving the contents
in a single folder, which is cheap way to get the contents to avoid
full scan.