-
Notifications
You must be signed in to change notification settings - Fork 294
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
pcli view db corrupted with invalid anchors #4577
Comments
conorsch
added
A-node
Area: System design and implementation for node software
A-client
Area: Design and implementation for client functionality
labels
Jun 7, 2024
github-actions
bot
added
the
needs-refinement
unclear, incomplete, or stub issue that needs work
label
Jun 7, 2024
conorsch
added
A-CI/CD
Relates to continuous integration & deployment of Penumbra
and removed
needs-refinement
unclear, incomplete, or stub issue that needs work
labels
Jun 7, 2024
1 task
cronokirby
added a commit
that referenced
this issue
Jun 10, 2024
This should fix an issue wherein a load balanced RPC can cause data corruption by delivering the same block twice in the stream. ## Issue ticket number and link This should close #4577. ## Checklist before requesting a review - [x] If this code contains consensus-breaking changes, I have added the "consensus-breaking" label. Otherwise, I declare my belief that there are not consensus-breaking changes, for the following reason: > Just a client change
1 task
1 task
conorsch
pushed a commit
that referenced
this issue
Jun 20, 2024
This should fix an issue wherein a load balanced RPC can cause data corruption by delivering the same block twice in the stream. ## Issue ticket number and link This should close #4577. ## Checklist before requesting a review - [x] If this code contains consensus-breaking changes, I have added the "consensus-breaking" label. Otherwise, I declare my belief that there are not consensus-breaking changes, for the following reason: > Just a client change (cherry picked from commit 4245ebc)
conorsch
pushed a commit
that referenced
this issue
Jun 20, 2024
This should fix an issue wherein a load balanced RPC can cause data corruption by delivering the same block twice in the stream. ## Issue ticket number and link This should close #4577. ## Checklist before requesting a review - [x] If this code contains consensus-breaking changes, I have added the "consensus-breaking" label. Otherwise, I declare my belief that there are not consensus-breaking changes, for the following reason: > Just a client change (cherry picked from commit 4245ebc)
this seems to still be happening sometimes. i am going to reopen this until we're confident that this has been resolved. |
We released v0.77.3 yesterday (#4648) so I suspect that anyone still encountering this error is on 0.77.2 or below. Let's make sure to check versions. |
ah! my apologies for the noise, let's keep this closed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Since launching ceremony 2.1, we've seen a marked upstick in reports of:
To Reproduce
Several team members confirm this is reproducible by simply looping over
pcli-tx-send
. For example, here's an attempt I just submitted:full terminal session from send-loop
Steps to reproduce the behavior:
for i in $(seq 10); do pcli tx send --to $(pcli view address 10 -e) --memo "testing looped pcli sends $i" 0.1penumbra ; done
Once pcli gets into this state, all subsequent txs will fail, which is very bad:
Simply running
pcli view reset
and rerunning a single, not aggressively looped, tx will work fine.Expected behavior
I should be able to throw transactions quickly at a remote endpoint and not encounter errors.
Additional context
So far it appears this bug only occurs on the primary load-balanced endpoints, i.e.
https://grpc.penumbra.testnet.zone
. If I test against a solo node, I've not been able to reproduce.Workarounds
pcli view reset
and try the transaction again.The text was updated successfully, but these errors were encountered: