Skip to content

Commit

Permalink
fixed build
Browse files Browse the repository at this point in the history
  • Loading branch information
harshil-goel committed Jan 21, 2025
1 parent 0593034 commit b1bb050
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions posting/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -987,8 +987,8 @@ func (l *List) setMutationAfterCommit(startTs, commitTs uint64, pl *pb.PostingLi
if l.mutationMap.committedUidsTime == math.MaxUint64 {
l.mutationMap.committedUidsTime = 0
}
if pl.CommitTs > mm.committedUidsTime {
mm.lastEntry = pl
if pl.CommitTs > l.mutationMap.committedUidsTime {
l.mutationMap.lastEntry = pl
}
l.mutationMap.committedUidsTime = x.Max(l.mutationMap.committedUidsTime, commitTs)

Expand Down

0 comments on commit b1bb050

Please sign in to comment.