Skip to content

Commit

Permalink
Disable splits in release 1.2 (#4672)
Browse files Browse the repository at this point in the history
  • Loading branch information
martinmr committed Jan 27, 2020
1 parent 75325a1 commit 1846c68
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion posting/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -1176,7 +1176,8 @@ func (l *List) readListPart(startUid uint64) (*pb.PostingList, error) {

// shouldSplit returns true if the given plist should be split in two.
func shouldSplit(plist *pb.PostingList) bool {
return plist.Size() >= maxListSize && len(plist.Pack.Blocks) > 1
return false
// return plist.Size() >= maxListSize && len(plist.Pack.Blocks) > 1
}

// splitUpList checks the list and splits it in smaller parts if needed.
Expand Down

0 comments on commit 1846c68

Please sign in to comment.