Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Chandler <wchandler@gitlab.com>2024-01-15 07:11:20 +0300
committerWill Chandler <wchandler@gitlab.com>2024-01-22 17:21:22 +0300
commit992753dca25886085bc3c4815a0bd760e5dc4e0f (patch)
tree3259cbeffa2e393bd3abcfb6912af285c6aeeb43
parentc23a2ab30f27b449061ca85c8d79321def12f3c1 (diff)
coordinator: Enable transactions for new RewriteHistory RPC
Enable transactions for the new RewriteHistory RPC.
-rw-r--r--internal/praefect/coordinator.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/praefect/coordinator.go b/internal/praefect/coordinator.go
index 03f9e0df2..170826299 100644
--- a/internal/praefect/coordinator.go
+++ b/internal/praefect/coordinator.go
@@ -44,6 +44,7 @@ func transactionsDisabled(context.Context) bool { return false }
// behaviour. If none is given, it's always enabled.
var transactionRPCs = map[string]transactionsCondition{
"/gitaly.CleanupService/ApplyBfgObjectMapStream": transactionsEnabled,
+ "/gitaly.CleanupService/RewriteHistory": transactionsEnabled,
"/gitaly.ConflictsService/ResolveConflicts": transactionsEnabled,
"/gitaly.ObjectPoolService/DisconnectGitAlternates": transactionsEnabled,
"/gitaly.ObjectPoolService/FetchIntoObjectPool": transactionsEnabled,