Possible explanation inline
shweta.agrawal wrote:
Hi,
I am making a custom iterator which returns multiple entries. For some
entries getTopValue function is called, sometimes skipped. Due to this
behaviour i am not getting all the entries at scan time which are to be
returned.
I had written functions calling hierarchy in a text file which is:
hasTop
getTopKey
A seek() might have happened here. Would explain why you there was no
getTopValue.
hasTop
getTopKey
getTopValue
After the seek, we checked to see that there was a K/V and then polled it
next
We then tried to advance the "pointer" to the next K/V
hasTop
And checked to see if we have another pair.
Thanks
Shweta