-
Notifications
You must be signed in to change notification settings - Fork 41
Conversation
client/requestUtil.js
Outdated
this.withRetry(() => { | ||
return s3Helper.listObjects(this.s3, options, false) | ||
}).then((s3Objects) => { | ||
let latestRecords = {} |
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.
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
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.
Looks good.
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.
++
65e0165
bd636b1
to
3669788
Compare
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.
++
compaction for up to 100 records Add LRU cache(50 records) for missing part for decryption so it can be decrypted in future round
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.
++
fix #341
fix #289
brave/brave-browser#6552 will use this API to initiate the compaction