-
Notifications
You must be signed in to change notification settings - Fork 219
hare certification: sync flow is not working yet tests passed #3475
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
Comments
mystery solved: the expected behavior is that if a certificate is not synced from all peers, sync for that layer will fail. so it's expected that in but here go-spacemesh/systest/cluster/cluster.go Lines 309 to 312 in 84b4163
the cluster smeshers have been reduced to only 2+bootnodes in |
## Motivation <!-- Please mention the issue fixed by this PR or detailed motivation --> Closes #3475 <!-- `Closes #XXXX, closes #XXXX, ...` links mentioned issues to this PR and automatically closes them when this it's merged --> ## Changes <!-- Please describe in detail the changes made --> - block certifier accept early CertifyMessage - syncer: - separate fetching layer data and layer opinions (only certificate for now) - only fetch certificates from peers within hdist layers of processed layer. processed layer is tortoise's last layer - fix sql bug where certificate is retrieved correctly and not overwritten once set - systest - fixed systests TestAddNode so that the test fails with the certificate sync failures - make systests TestFailedNodes to reassess layer hashes from nodes. because blocks are applied optimistically, the applied block can be changed after tortoise verify a layer
## Motivation <!-- Please mention the issue fixed by this PR or detailed motivation --> Closes #3475 <!-- `Closes #XXXX, closes #XXXX, ...` links mentioned issues to this PR and automatically closes them when this it's merged --> ## Changes <!-- Please describe in detail the changes made --> - block certifier accept early CertifyMessage - syncer: - separate fetching layer data and layer opinions (only certificate for now) - only fetch certificates from peers within hdist layers of processed layer. processed layer is tortoise's last layer - fix sql bug where certificate is retrieved correctly and not overwritten once set - systest - fixed systests TestAddNode so that the test fails with the certificate sync failures - make systests TestFailedNodes to reassess layer hashes from nodes. because blocks are applied optimistically, the applied block can be changed after tortoise verify a layer
## Motivation <!-- Please mention the issue fixed by this PR or detailed motivation --> Closes #3475 <!-- `Closes #XXXX, closes #XXXX, ...` links mentioned issues to this PR and automatically closes them when this it's merged --> ## Changes <!-- Please describe in detail the changes made --> - block certifier accept early CertifyMessage - syncer: - separate fetching layer data and layer opinions (only certificate for now) - only fetch certificates from peers within hdist layers of processed layer. processed layer is tortoise's last layer - fix sql bug where certificate is retrieved correctly and not overwritten once set - systest - fixed systests TestAddNode so that the test fails with the certificate sync failures - make systests TestFailedNodes to reassess layer hashes from nodes. because blocks are applied optimistically, the applied block can be changed after tortoise verify a layer
## Motivation <!-- Please mention the issue fixed by this PR or detailed motivation --> Closes #3475 <!-- `Closes #XXXX, closes #XXXX, ...` links mentioned issues to this PR and automatically closes them when this it's merged --> ## Changes <!-- Please describe in detail the changes made --> - block certifier accept early CertifyMessage - syncer: - separate fetching layer data and layer opinions (only certificate for now) - only fetch certificates from peers within hdist layers of processed layer. processed layer is tortoise's last layer - fix sql bug where certificate is retrieved correctly and not overwritten once set - systest - fixed systests TestAddNode so that the test fails with the certificate sync failures - make systests TestFailedNodes to reassess layer hashes from nodes. because blocks are applied optimistically, the applied block can be changed after tortoise verify a layer
## Motivation <!-- Please mention the issue fixed by this PR or detailed motivation --> Closes #3475 <!-- `Closes #XXXX, closes #XXXX, ...` links mentioned issues to this PR and automatically closes them when this it's merged --> ## Changes <!-- Please describe in detail the changes made --> - block certifier accept early CertifyMessage - syncer: - separate fetching layer data and layer opinions (only certificate for now) - only fetch certificates from peers within hdist layers of processed layer. processed layer is tortoise's last layer - fix sql bug where certificate is retrieved correctly and not overwritten once set - systest - fixed systests TestAddNode so that the test fails with the certificate sync failures - make systests TestFailedNodes to reassess layer hashes from nodes. because blocks are applied optimistically, the applied block can be changed after tortoise verify a layer
Description
two issues in the implementation:
another important question: why do all system tests passed?
The text was updated successfully, but these errors were encountered: