-
Notifications
You must be signed in to change notification settings - Fork 887
Refactor separating AppQC from CommitQC #3849
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
Changes from all commits
Commits
Show all changes
63 commits
Select commit
Hold shift + click to select a range
164832c
WIP
pompon0 7a8d996
roughly compiles
pompon0 74243c4
snapshot
pompon0 bec2480
streaming
pompon0 1b5a061
GlobalRange in AppProposal
pompon0 027ed62
fixes types tests
pompon0 0892f8d
data fixes
pompon0 0f43cb1
codex AppQC in BlockDB
pompon0 f5f12b7
robust tracking
pompon0 5e11a5d
pushing AppQCs
pompon0 921892c
reverted metrics
pompon0 5434911
WIP
pompon0 566d110
addresses codex review
pompon0 9c12d28
fmt
pompon0 5d195ee
fixed data tests
pompon0 bd863e5
pruned avail tests
pompon0 d7af2d1
some fixes
pompon0 519733f
some test fixes
pompon0 85efdec
appProposal persistence.
pompon0 00fe049
test fixes
pompon0 7fc04f0
uniform coverage of blockDB data types
pompon0 ea1df5c
consistent recent floor
pompon0 06bcfd5
simplifications
pompon0 fe34f24
WIP
pompon0 90d264f
floor
pompon0 8ad2882
more precise status
pompon0 cd348cd
floor fixed
pompon0 063e606
test fixes
pompon0 c9ac367
codex test fixes
pompon0 cc64f08
removed persistedBlockStart
pompon0 1c2f9b1
p2p tests still fail
pompon0 94369ac
should be fine
pompon0 9114624
voting only on persisted apphashes
pompon0 1344285
simplified db
pompon0 febf53e
fix from codex
pompon0 ddddac9
simplified readRecent()
pompon0 86bacf6
simplified
pompon0 b59451f
removed useless tests
pompon0 6b67803
simplified inmem blockDB
pompon0 a7aaa69
Option[Status]
pompon0 882a8a5
rename done
pompon0 6262ca2
WIP
pompon0 520f74d
fixed data.State.First()
pompon0 388c57d
applied comments WIP
pompon0 7a9bd64
fixed
pompon0 b1da655
anchor excluded from the avail state
pompon0 55a22ad
addressed comments
pompon0 9c7ebf6
Merge remote-tracking branch 'origin/main' into gprusak-appqc
pompon0 50066c8
removed stupid shit
pompon0 ff4a03c
test fix
pompon0 0fc5236
removed race condition
pompon0 5785a55
fixed test
pompon0 84c42bf
applied claude comments
pompon0 34b20ab
typo
pompon0 19d1d79
buf
pompon0 dc776b0
stricter rules for pushing AppHash
pompon0 6d9af6b
adapted the weakened WAL semantics
pompon0 8b8d526
applied claude comments
pompon0 779b058
added test for out-of-order PushAppHash
pompon0 d4e2c2c
more precise old apphash dropping criterion
pompon0 9ac7ed8
another test
pompon0 bfe6137
Re-run checks
pompon0 674210d
Merge remote-tracking branch 'origin/main' into gprusak-appqc
pompon0 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back 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.
[nit]
countExistingStatenow returns the size of the recovery suffix, not the whole ledger, but the doc comment above still says "scans the ledger to count the persisted blocks and QCs, exercising the replay path at startup". SinceblockCount/qcCountare reported to the operator at line 106, the numbers now mean something different from what the benchmark previously printed — worth either renaming tocountSuffixStateor updating the comment so the output isn't misread.