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

Multiple db errors while setting auto-tags #41

Open
ice-phoenix opened this issue Sep 19, 2017 · 0 comments
Open

Multiple db errors while setting auto-tags #41

ice-phoenix opened this issue Sep 19, 2017 · 0 comments
Labels
bug Something isn't working minor

Comments

@ice-phoenix
Copy link
Member

Original report by Mikhail Belyaev (Bitbucket: belyaev.mikhail, GitHub: belyaev-mikhail).


Several log messages cause races between setting and resetting of tags on the same submission. These are guaranteed not to cause any inconsistencies (or are they?), but are very annoying.

A typical scenario is as follows:

  • Log 1 received (success)
  • Log 2 received (success)
  • Log 3 received (success)
  • Log 1 handler starts dbFind, gets records A, B, C
  • Log 2 handler starts dbFind, gets records A, B, C (duh!)
  • Log 3 handler starts dbFind, gets records A. B, C
  • Log 1 handler deletes records A, B, C, creates record A1
  • Log 2 handler deletes record A (knows nothing about A1), which is already deleted, crashtrace
  • Log 3 handler deletes record A (knows nothing about A1), which is already deleted, crashtrace
@ice-phoenix ice-phoenix added minor bug Something isn't working labels Aug 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working minor
Projects
None yet
Development

No branches or pull requests

1 participant