Skip to content

Combine view and seqno into single HTTP header #2257

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

Merged
merged 9 commits into from
Mar 3, 2021

Conversation

eddyashton
Copy link
Member

Closes #2256.

The format of this header is {view}.{seqno}, with no other decoration. Any decoration we do add to aid parsing should be safe to insert as a URL query parameter.

Also creates public header file for this ccf::TxID. This should be used more broadly within CCF, replacing a few similar duplicated structs, but I don't want that to pollute this PR.

There are other places in the API (notably /tx) where we still talk about view and seqno separately. These could be consolidated into a single field, but they're not directly tied to this change.

@eddyashton eddyashton requested a review from a team as a code owner March 1, 2021 18:14
@ghost
Copy link

ghost commented Mar 1, 2021

single_tx_id_header@19866 aka 20210303.10 vs main ewma over 20 builds from 19626 to 19856
images

@eddyashton eddyashton merged commit 1783466 into microsoft:main Mar 3, 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.

Transaction ID should be returned in a single header
2 participants