-
Notifications
You must be signed in to change notification settings - Fork 86
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
Fix: ChainDB QSM test flakyness #3651
Fix: ChainDB QSM test flakyness #3651
Conversation
ouroboros-consensus-test/test-storage/Test/Ouroboros/Storage/ChainDB/Model.hs
Show resolved
Hide resolved
ouroboros-consensus-test/test-storage/Test/Ouroboros/Storage/ChainDB/Model.hs
Outdated
Show resolved
Hide resolved
ouroboros-consensus-test/test-storage/Test/Ouroboros/Storage/ChainDB/Model.hs
Outdated
Show resolved
Hide resolved
ouroboros-consensus-test/test-storage/Test/Ouroboros/Storage/ChainDB/Model.hs
Show resolved
Hide resolved
ouroboros-consensus-test/test-storage/Test/Ouroboros/Storage/ChainDB/Model.hs
Outdated
Show resolved
Hide resolved
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.
Thanks for adding this nice explanation Javier. Let's go over my comments on a call, and if @nfrisby does not object we can merge this.
ouroboros-consensus-test/test-storage/Test/Ouroboros/Storage/ChainDB/Model.hs
Outdated
Show resolved
Hide resolved
ouroboros-consensus-test/test-storage/Test/Ouroboros/Storage/ChainDB/Model.hs
Outdated
Show resolved
Hide resolved
ouroboros-consensus-test/test-storage/Test/Ouroboros/Storage/ChainDB/Model.hs
Outdated
Show resolved
Hide resolved
ouroboros-consensus-test/test-storage/Test/Ouroboros/Storage/ChainDB/Model.hs
Outdated
Show resolved
Hide resolved
ouroboros-consensus-test/test-storage/Test/Ouroboros/Storage/ChainDB/Model.hs
Outdated
Show resolved
Hide resolved
ouroboros-consensus-test/test-storage/Test/Ouroboros/Storage/ChainDB/Model.hs
Outdated
Show resolved
Hide resolved
ouroboros-consensus-test/test-storage/Test/Ouroboros/Storage/ChainDB/Model.hs
Outdated
Show resolved
Hide resolved
ouroboros-consensus-test/test-storage/Test/Ouroboros/Storage/ChainDB/Model.hs
Outdated
Show resolved
Hide resolved
ouroboros-consensus-test/test-storage/Test/Ouroboros/Storage/ChainDB/Model.hs
Outdated
Show resolved
Hide resolved
ouroboros-consensus-test/test-storage/Test/Ouroboros/Storage/ChainDB/Model.hs
Outdated
Show resolved
Hide resolved
3f8ff2b
to
24f03b4
Compare
bors r+ |
3651: Fix: ChainDB QSM test flakyness r=Jasagredo a=Jasagredo ChainDB QSM didn't have a notion of validity for blocks that were in chain suffixes no longer connected to the Genesis block. It now carries a Set of known-valid blocks to answer the `GetIsValid` query. Closes CAD-4002 Closes CAD-3590 Closes CAD-3601 Closes #3389 Closes #3440 Co-authored-by: Javier Sagredo <[email protected]>
Build failed: |
24f03b4
to
ad7ed31
Compare
bors retry |
3651: Fix: ChainDB QSM test flakyness r=Jasagredo a=Jasagredo ChainDB QSM didn't have a notion of validity for blocks that were in chain suffixes no longer connected to the Genesis block. It now carries a Set of known-valid blocks to answer the `GetIsValid` query. Closes CAD-4002 Closes CAD-3590 Closes CAD-3601 Closes #3389 Closes #3440 Co-authored-by: Javier Sagredo <[email protected]>
Build failed: |
bors r+ |
3651: Fix: ChainDB QSM test flakyness r=Jasagredo a=Jasagredo ChainDB QSM didn't have a notion of validity for blocks that were in chain suffixes no longer connected to the Genesis block. It now carries a Set of known-valid blocks to answer the `GetIsValid` query. Closes CAD-4002 Closes CAD-3590 Closes CAD-3601 Closes #3389 Closes #3440 Co-authored-by: Javier Sagredo <[email protected]>
Build failed: |
bors r+ |
3651: Fix: ChainDB QSM test flakyness r=Jasagredo a=Jasagredo ChainDB QSM didn't have a notion of validity for blocks that were in chain suffixes no longer connected to the Genesis block. It now carries a Set of known-valid blocks to answer the `GetIsValid` query. Closes CAD-4002 Closes CAD-3590 Closes CAD-3601 Closes #3389 Closes #3440 Co-authored-by: Javier Sagredo <[email protected]>
Build failed: |
bors r+ |
3651: Fix: ChainDB QSM test flakyness r=jbgi a=Jasagredo ChainDB QSM didn't have a notion of validity for blocks that were in chain suffixes no longer connected to the Genesis block. It now carries a Set of known-valid blocks to answer the `GetIsValid` query. Closes CAD-4002 Closes CAD-3590 Closes CAD-3601 Closes #3389 Closes #3440 Co-authored-by: Javier Sagredo <[email protected]>
This PR was included in a batch that successfully built, but then failed to merge into master. It will not be retried. Additional information: {"message":"2 of 4 required status checks have not succeeded: 1 failing.","documentation_url":"https://docs.github.com/articles/about-protected-branches"} |
This reverts commit ff82da6. IntersectMBO/ouroboros-network#3651
This reverts commit ff82da6. IntersectMBO/ouroboros-network#3651
This reverts commit ff82da6. IntersectMBO/ouroboros-network#3651
…repancy (#284) This PR is the third round of fighting with a ChainDB q-s-m model vs SUT discrepancy for `getIsValid`, see #123 for the history. The two previous rounds either introduced new bugs or left certain bugs unaddressed. The approach of this PR is to highlight the *cumulative* change over all of these different fixes compared to the initial implementation is. For this, we first revert IntersectMBO/ouroboros-network#3651, IntersectMBO/ouroboros-network#3743 and IntersectMBO/ouroboros-network#3990 in the first four commits. It is recommended to skip these while reviewing. The fifth commit in this PR is then fixing the bug in one go with the benefit of hindsight, see its commit description for details. Closes #123
ChainDB QSM didn't have a notion of validity for blocks that were in
chain suffixes no longer connected to the Genesis block. It now carries
a Set of known-valid blocks to answer the
GetIsValid
query.Closes CAD-4002
Closes CAD-3590
Closes CAD-3601
Closes #3389
Closes #3440