our row key is combined with two ints, and we found that sometimes when we using only the first int part to scan, the result returned may missing some rows. But when we dump the whole hfile, the row is still there.
We have written a testcase to reproduce the bug. It works like this:
then scan using 12345，the returned row key will be 12345-0x20000000(12345-0x10000000 expected)