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:
authorToon Claes <toon@gitlab.com>2021-07-06 12:04:20 +0300
committerToon Claes <toon@gitlab.com>2021-07-06 12:04:20 +0300
commit6ee267a02055a7f48871d66fae594417c4cdec9b (patch)
tree628a7ee657b216b650b90a8180674196222ec82c
parenta447f7aae37dcfc7c5fa9c57ec1b371fdb62da1a (diff)
parentb76154dd7dce4aa7b5d3fa7416d1697965b656d0 (diff)
Merge branch 'xx/fix-praefect-not-correctly-tracking-errors' into 'master'
praefect: Fix incorrect error tracking for secondaries See merge request gitlab-org/gitaly!3620
-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 f56cdd347..520445b4e 100644
--- a/internal/praefect/coordinator.go
+++ b/internal/praefect/coordinator.go
@@ -468,6 +468,7 @@ func (c *Coordinator) mutatorStreamParameters(ctx context.Context, call grpcCall
}
for _, secondary := range route.Secondaries {
+ secondary := secondary
secondaryMsg, err := rewrittenRepositoryMessage(call.methodInfo, call.msg, secondary.Storage)
if err != nil {
return nil, err