1
0
Fork 0
mirror of https://github.com/anyproto/any-sync.git synced 2025-06-11 18:20:28 +09:00

Add more logs

This commit is contained in:
mcrakhman 2024-02-05 20:41:33 +01:00
parent dd6507a4ba
commit 0d0e7898f7
No known key found for this signature in database
GPG key ID: DED12CFEF5B8396B

View file

@ -7,6 +7,8 @@ import (
"fmt"
"sync"
"go.uber.org/zap"
"github.com/anyproto/any-sync/commonspace/object/accountdata"
"github.com/anyproto/any-sync/commonspace/object/acl/liststorage"
"github.com/anyproto/any-sync/consensus/consensusproto"
@ -207,6 +209,7 @@ func (a *aclList) AddRawRecords(rawRecords []*consensusproto.RawRecordWithId) er
return err
}
}
log.Debug("inner records updated, final state", zap.String("head", a.Head().Id), zap.Int("len(total)", len(a.Records())))
return nil
}