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

Additional documentation/examples related to transaction deadlock #529

Open
sparr opened this issue Jun 19, 2023 · 0 comments
Open

Additional documentation/examples related to transaction deadlock #529

sparr opened this issue Jun 19, 2023 · 0 comments

Comments

@sparr
Copy link

sparr commented Jun 19, 2023

https://github.com/etcd-io/bbolt#transactions provides some warnings about potential deadlock scenarios. However, this documentation uses a lot of uncertain language like "should", "generally", "can", etc.

It would be useful to have more certainty around these scenarios. More explicit narrative documentation could help, but my preference would be concrete examples.

e.g. at least "These example snippets will always cause a deadlock" and "... will never cause a deadlock", possibly also "... will cause deadlock if X additional condition is [not] met", with enough examples of each to cover a variety of cases of multiple transactions, threads, etc.

@github-actions github-actions bot added the stale label Apr 17, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale May 9, 2024
@ahrtr ahrtr reopened this May 9, 2024
@ahrtr ahrtr removed the stale label May 9, 2024
@github-actions github-actions bot added the stale label Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants