-
Notifications
You must be signed in to change notification settings - Fork 179
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
Chunk Data Model supports service event indices #6744
base: feature/efm-recovery
Are you sure you want to change the base?
Chunk Data Model supports service event indices #6744
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## feature/efm-recovery #6744 +/- ##
========================================================
+ Coverage 41.70% 41.73% +0.02%
========================================================
Files 2030 2031 +1
Lines 180462 180519 +57
========================================================
+ Hits 75261 75331 +70
+ Misses 99003 98996 -7
+ Partials 6198 6192 -6
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚨 Try these New Features:
|
strategic / conceptual thoughts
I mean is this is only a temporary solution, I am happy and we can skip most of question 3. |
Summary of Discussion with @AlexHentschelChange of
|
This PR adds support for specifying which service events were emitted in which chunk, by modifying the
ChunkBody
data structure in a backward compatible manner. Addresses #6622.Changes
ServiceEventIndices
field toChunkBody
:ChunkBody
will unmarshal into a struct with a nilServiceEventIndices
. We define a chunk with nilServiceEventIndices
to have the same semantics as before the field existed: if any service events were emitted, then they were emitted from the system chunk.ChunkBody
will always have non-nilServiceEventIndices
Upgrade Notes
Currently, no service events are emitted outside of the system chunk. Let's call the first block at which this happens block X.
This PR replaces two prior approaches, implemented in part #6629 and #6730.