Steve Yen
Steve Yen
> A better strategy might be to make it possible to reuse the same memory buffer several times. Indeed -- that's the pattern we've been following in blevesearch, and it's...
Looks like that link to the java iterator example is broken? Newer link: https://github.com/RoaringBitmap/RoaringBitmap/blob/master/roaringbitmap/src/main/java/org/roaringbitmap/PeekableIntIterator.java
As an application usage example, the bleve full-text library would likely have use for a skip-ahead or advance-able iterator method. It currently has that brute force for-loop that calls HasNext/Next(),...
From scrub of couchbaselabs/cbft, looks like a duplicate from old report... https://github.com/couchbaselabs/cbft/issues/146 Going to close the old couchbaselabs/cbft one.
Thanks @ingenthr -- that gives some hope that there can be existing code to reuse somehow!
see also: https://issues.couchbase.com/browse/MB-17012
Looks race'y -- a 2nd attempt via a "restart build" on travis worked ok / didn't fail.
flushing a bucket seems to bring cbft to a state where it closes the index, but cbft doesn't seem to reopen it.
Following up on Feb 13, 2015 comment, this is reconfirmed even in latest cbft/cbgt circa Dec 2015. After a FLUSH, a cbft node can get into a looping state of......
Proposed fix in cbdatasource here: http://review.couchbase.org/57740