-
Notifications
You must be signed in to change notification settings - Fork 211
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
Add check to not overwrite an existing key when migrating after downgrade #5709
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #5709 +/- ##
=======================================
Coverage 79.7% 79.8%
=======================================
Files 279 279
Lines 28527 28541 +14
=======================================
+ Hits 22755 22782 +27
+ Misses 4202 4185 -17
- Partials 1570 1574 +4 ☔ View full report in Codecov by Sentry. |
bors merge |
…rade (#5709) ## Motivation Downgrading to v1.3.x after upgrading to v1.4.x will generate a new key that when the node is updated again to v1.4.x will overwrite the existing key. This adds a check that prevents the node from overwriting a possibly already existing key.
e57bcfa
to
26f4227
Compare
Canceled. |
26f4227
to
5ebe3c8
Compare
bors merge |
5ebe3c8
to
6f090dc
Compare
Canceled. |
bors merge |
…rade (#5709) ## Motivation Downgrading to v1.3.x after upgrading to v1.4.x will generate a new key that when the node is updated again to v1.4.x will overwrite the existing key. This adds a check that prevents the node from overwriting a possibly already existing key.
Build failed (retrying...): |
…rade (#5709) ## Motivation Downgrading to v1.3.x after upgrading to v1.4.x will generate a new key that when the node is updated again to v1.4.x will overwrite the existing key. This adds a check that prevents the node from overwriting a possibly already existing key.
Build failed:
|
@dshulyak looks unrelated to the change of this PR and the other PR that was included in the bors batch |
6f090dc
to
251c7be
Compare
bors merge |
…rade (#5709) ## Motivation Downgrading to v1.3.x after upgrading to v1.4.x will generate a new key that when the node is updated again to v1.4.x will overwrite the existing key. This adds a check that prevents the node from overwriting a possibly already existing key.
Build failed: |
bors merge |
i agree with you that it is not related to your change. retrying just doesn't make any sense, just open develop and push changes. either somebody will have to pay attention to such failures, or tests can be simply disabled in the last case test exited before transaction was added to proposals and executed |
based on merge history repeated retries started from 14th, i would check what in 12-13 changes could cause them, otherwise look at env |
…rade (#5709) ## Motivation Downgrading to v1.3.x after upgrading to v1.4.x will generate a new key that when the node is updated again to v1.4.x will overwrite the existing key. This adds a check that prevents the node from overwriting a possibly already existing key.
I would not say that they started march 14, we had failing merges every day for the last week or so. Most of them failed due to flaky tests which should now have been fixed 🤷 |
Env is the same, no changes on env side at all. |
Build failed: |
last test failed because 1 node didn't publish atx. this test failed the same way twice in this change. even if it is not related it doesn't make sense to retry. someone needs to find the root cause of that or just disable that test. regarding grpc failures i will take a look on monday what can cause that |
Manually merged. |
@dshulyak The node probably didn't publish an ATX because of this error which happened in epoch 5 and persisted for the rest of the run:
|
Motivation
Downgrading to v1.3.x after upgrading to v1.4.x will generate a new key that when the node is updated again to v1.4.x will overwrite the existing key.
This adds a check that prevents the node from overwriting a possibly already existing key.
Description
When migrating the key the code now checks if there is already a
local.key
before copying the old key there.Test Plan
TODO