Make pull merge in on database transaction #8903

Closed
opened 2025-11-02 08:22:39 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @6543 on GitHub (May 3, 2022).

this is currently not possible because we get a deadlock, at least on sqlite :/ (see comments and commits on #19576)

92f139d091/services/issue/status.go (L22-L23)

92f139d091/services/pull/merge.go (L63-L65)

92f139d091/services/pull/merge.go (L508-L511)

Originally created by @6543 on GitHub (May 3, 2022). this is currently not possible because we get a deadlock, at least on sqlite :/ (see comments and commits on #19576) https://github.com/go-gitea/gitea/blob/92f139d091c906cc6d30599101d45c62a208f585/services/issue/status.go#L22-L23 https://github.com/go-gitea/gitea/blob/92f139d091c906cc6d30599101d45c62a208f585/services/pull/merge.go#L63-L65 https://github.com/go-gitea/gitea/blob/92f139d091c906cc6d30599101d45c62a208f585/services/pull/merge.go#L508-L511
GiteaMirror added the issue/needs-feedbacktype/refactoring labels 2025-11-02 08:22:39 -06:00
Author
Owner

@lunny commented on GitHub (Aug 22, 2025):

I think this has been resolved, maybe by #30805

@lunny commented on GitHub (Aug 22, 2025): I think this has been resolved, maybe by #30805
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#8903