Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Given an iterator, there are two definitions of index size. One is the size as seen by the iterator, which in v3, may not be the current index size (because iterators iterate over a view of the index at a particular point in time - either the time of iterator creation, or when a moveTo, moveToFirst, or moveToLast operation happens (except for snapshot iterators)). The other size is the current size of the index (and any sub-type indexes).
Change the name of the api to indicate this to reduce mistakes in the future. Change uses which are incorrect (which need the current index size).