Skip to content

Commit 196900c

Browse files
added changes
1 parent 93e2333 commit 196900c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

posting/list.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1701,7 +1701,7 @@ func (l *List) ApproxLen() int {
17011701

17021702
func (l *List) calculateUids() error {
17031703
l.RLock()
1704-
if l.mutationMap.isUidsCalculated {
1704+
if l.mutationMap == nil || l.mutationMap.isUidsCalculated {
17051705
l.RUnlock()
17061706
return nil
17071707
}

0 commit comments

Comments
 (0)