summaryrefslogtreecommitdiffstats
path: root/store/sql_supplier.go
diff options
context:
space:
mode:
Diffstat (limited to 'store/sql_supplier.go')
-rw-r--r--store/sql_supplier.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/store/sql_supplier.go b/store/sql_supplier.go
index 442c55ce9..53153d911 100644
--- a/store/sql_supplier.go
+++ b/store/sql_supplier.go
@@ -83,12 +83,14 @@ type SqlSupplierOldStores struct {
}
type SqlSupplier struct {
+ // rrCounter and srCounter should be kept first.
+ // See https://github.com/mattermost/platform/pull/7281
+ rrCounter int64
+ srCounter int64
next LayeredStoreSupplier
master *gorp.DbMap
replicas []*gorp.DbMap
searchReplicas []*gorp.DbMap
- rrCounter int64
- srCounter int64
oldStores SqlSupplierOldStores
}