-
Notifications
You must be signed in to change notification settings - Fork 473
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
95 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I do not think this is the correct implementation for all cases. When we insert IndexProducer items they may duplicate indices. The documentation for merge(IndexProducer) states:
So after inserting 1 IndexProducer your count
y
may be higher than 1. If I then call getMaxInsert with the same index producer I will obtain more than 1.Thoughts on this?