Skip to content
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

Update to latest coordinatord to fix the storing bug #365

Conversation

danielabrozzoni
Copy link
Collaborator

@danielabrozzoni danielabrozzoni force-pushed the 20220207_coord_storing_bug branch 3 times, most recently from 4b64b96 to d9a7ed5 Compare February 8, 2022 13:57
@darosior
Copy link
Member

darosior commented Feb 8, 2022

Alright, one last re-run and this is good to go :)

darosior added a commit to revault/coordinatord that referenced this pull request Feb 8, 2022
b5d7cb5 Fix storing bug (Daniela Brozzoni)

Pull request description:

  This bug would sometimes appear in the revaultd functional tests.
  The problem was that we would check if the signature was in the db,
  then if it wasn't there, try to insert it. The problem with this is
  that between the check and the insertion someone else might have
  inserted the signature.
  Here we remove the second check altoghether, and recognize if there
  were any duplicates from the eventual error at insertion.

ACKs for top commit:
  darosior:
    This looks good to me, and seems to make CI happy in revault/revaultd#365. utACK b5d7cb5.

Tree-SHA512: 86b4b90b70c4281c525cfc4675a92770a8211f4132109b52473dda299fa4755b6e5e2d0cba00d452e90ba515ee5c63d63c9731ec99028ecc762d17e8e8d7a4fe
@darosior
Copy link
Member

darosior commented Feb 8, 2022

Ouch.

@danielabrozzoni
Copy link
Collaborator Author

Closing in favor of #361

@danielabrozzoni danielabrozzoni deleted the 20220207_coord_storing_bug branch February 28, 2022 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants