Skip to content
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

Compaction API #350

Merged
merged 5 commits into from Oct 28, 2019
Merged

Compaction API #350

merged 5 commits into from Oct 28, 2019

Conversation

@darkdh
Copy link
Member

darkdh commented Oct 18, 2019

fix #341
fix #289
brave/brave-browser#6552 will use this API to initiate the compaction

darkdh added 3 commits Oct 16, 2019
@darkdh darkdh self-assigned this Oct 18, 2019
client/requestUtil.js Outdated Show resolved Hide resolved
@darkdh darkdh requested a review from SergeyZhukovsky Oct 21, 2019
this.withRetry(() => {
return s3Helper.listObjects(this.s3, options, false)
}).then((s3Objects) => {
let latestRecords = {}

This comment has been minimized.

Copy link
@bridiver

bridiver Oct 21, 2019

Contributor

this is going to keep the most recent record in each batch, which is fine, but I think we should add a comment to make that clear

Copy link
Contributor

AlexeyBarabash left a comment

Looks good.

@darkdh darkdh mentioned this pull request Oct 21, 2019
8 of 32 tasks complete
client/requestUtil.js Outdated Show resolved Hide resolved
client/requestUtil.js Outdated Show resolved Hide resolved
client/requestUtil.js Outdated Show resolved Hide resolved
Copy link
Member

SergeyZhukovsky left a comment

++

@darkdh darkdh dismissed stale reviews from SergeyZhukovsky and AlexeyBarabash via 65e0165 Oct 25, 2019
@darkdh darkdh force-pushed the compaction branch 3 times, most recently from bd636b1 to 3669788 Oct 25, 2019
Copy link
Member

SergeyZhukovsky left a comment

++

compaction for up to 100 records

Add LRU cache(50 records) for missing part for decryption so it can be decrypted in
future round
Copy link
Member

SergeyZhukovsky left a comment

++

@darkdh darkdh merged commit 6f8795a into staging Oct 28, 2019
2 checks passed
2 checks passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details
@darkdh darkdh deleted the compaction branch Oct 28, 2019
darkdh added a commit that referenced this pull request Oct 28, 2019
Compaction API
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

4 participants
You can’t perform that action at this time.