diff options
Diffstat (limited to 'store')
-rw-r--r-- | store/sql_supplier.go | 6 |
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 } |