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

database: Document context limitations of Tx.Commit() #73

Merged

Conversation

oxzi
Copy link
Member

@oxzi oxzi commented Sep 24, 2024

A key finding of Icinga/icingadb#800 was that committing a transaction does not necessarily have to respect the context of the transaction, depending on the database driver. As @lippserd suggested there, I have added notes to the documentation of all relevant database functions.

@oxzi oxzi requested a review from lippserd September 24, 2024 12:27
@cla-bot cla-bot bot added the cla/signed CLA is signed by all contributors of a PR label Sep 24, 2024
database/db.go Outdated Show resolved Hide resolved
A key finding of Icinga/icingadb#800 was that committing a transaction
does not necessarily have to respect the context of the transaction,
depending on the database driver. As @lippserd suggested there, I have
added notes to the documentation of all relevant database functions.
@oxzi oxzi force-pushed the database-document-commit-mir-ins-abenteuerkontextland branch from be01f18 to 42b562e Compare October 8, 2024 08:59
@oxzi oxzi requested a review from lippserd October 8, 2024 08:59
@oxzi oxzi added this to the 0.4.0 milestone Oct 15, 2024
@yhabteab yhabteab merged commit a2fd4d4 into main Oct 18, 2024
15 checks passed
@yhabteab yhabteab deleted the database-document-commit-mir-ins-abenteuerkontextland branch October 18, 2024 10:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla/signed CLA is signed by all contributors of a PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants