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

incusd/network/acl: Avoid nested DB transactions #393

Merged
merged 1 commit into from
Jan 16, 2024
Merged

Conversation

stgraber
Copy link
Member

With the recent changes to use ClusterTx everywhere, we now had a situation where we'd attempt to create a new transaction from usageFunc while it was called from within another transaction.

This would fail, hit the timeout and cause a transaction retry, which would similarly still timeout, eventually causing the operation to fail.

With the recent changes to use ClusterTx everywhere, we now had a
situation where we'd attempt to create a new transaction from usageFunc
while it was called from within another transaction.

This would fail, hit the timeout and cause a transaction retry, which
would similarly still timeout, eventually causing the operation to fail.

Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
@tych0 tych0 merged commit 3cad640 into lxc:main Jan 16, 2024
24 of 25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants