Skip to content

Keep accurate term in history on the primary#2111

Merged
ashamis merged 5 commits into
microsoft:masterfrom
achamayou:term_in_history
Jan 26, 2021
Merged

Keep accurate term in history on the primary#2111
ashamis merged 5 commits into
microsoft:masterfrom
achamayou:term_in_history

Conversation

@achamayou

Copy link
Copy Markdown
Member

Next part of #2087

This is necessary so the frontend can atomically capture a (term, version, root) and initialise the Tx with an up to date (term, read_version) and the corresponding merkle tree root.

@achamayou achamayou requested a review from a team as a code owner January 25, 2021 19:32
@ghost

ghost commented Jan 25, 2021

Copy link
Copy Markdown

term_in_history@17992 aka 20210126.29 vs master ewma over 50 builds from 17290 to 17925
images

Comment thread src/consensus/aft/raft.h Outdated
Comment thread src/kv/store.h
Comment thread src/kv/store.h
achamayou and others added 2 commits January 26, 2021 10:08
Co-authored-by: Eddy Ashton <ashton.eddy@gmail.com>
@ashamis ashamis merged commit d3aa76f into microsoft:master Jan 26, 2021
@achamayou achamayou mentioned this pull request Jan 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants