-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
fix(etcd): handle etcd compaction #2687
Conversation
We can make a test case for the situation. |
@ShiningRush |
it should reproduce by follow steps:
I haven't actually tried it yet, but I guess it should be able to reproduce stably |
@ShiningRush |
|
||
local compact_revision = v3res.result.compact_revision | ||
if compact_revision and tonumber(compact_revision) > 0 then | ||
-- When the revisions are compacted, there might be compacted changes |
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.
add a todo comment, missing test cases, will add later
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.
@membphis
Solved.
44a631e
to
d1f4030
Compare
Close #2680.
What this PR does / why we need it:
Pre-submission checklist: