On Tue, May 4, 2010 at 7:34 AM, Stack <st...@duboce.net> wrote: > On Tue, May 4, 2010 at 12:02 AM, Dmitriy Ryaboy <dmit...@twitter.com> wrote: > > We should fix this. Keeping a counter of how many rows in a region > wouldn't be hard. It could be updated on compaction, etc. A row > count would be good enough. >
<<Post-Coffee>> On second thoughts, keeping a counter wouldn't be that easy particularly if multiple column families. I wonder what happens if you do a getClosestRowBefore on the last region passing in the "" key. Will it return the last row in the region? (I'll try it later if you don't get to it first). St.Ack