Skip to content

Combine view and seqno into single HTTP header#2257

Merged
eddyashton merged 9 commits into
microsoft:mainfrom
eddyashton:single_tx_id_header
Mar 3, 2021
Merged

Combine view and seqno into single HTTP header#2257
eddyashton merged 9 commits into
microsoft:mainfrom
eddyashton:single_tx_id_header

Conversation

@eddyashton
Copy link
Copy Markdown
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
Copy Markdown

ghost commented Mar 1, 2021

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

Comment thread CHANGELOG.md Outdated
Comment thread python/ccf/clients.py
@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