We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2731759 + fc8187a commit 303f345Copy full SHA for 303f345
acl/object.go
@@ -2,6 +2,7 @@ package acl
2
3
import (
4
"context"
5
+ "slices"
6
"sync"
7
"time"
8
@@ -51,6 +52,7 @@ type aclObject struct {
51
52
func (a *aclObject) AddConsensusRecords(recs []*consensusproto.RawRecordWithId) {
53
a.mu.Lock()
54
defer a.mu.Unlock()
55
+ slices.Reverse(recs)
56
if a.store == nil {
57
defer close(a.ready)
58
if a.store, a.consErr = liststorage.NewInMemoryAclListStorage(a.id, recs); a.consErr != nil {
0 commit comments