Michael Marshall all time


 4 Collaborator
Jonathan Ellis , Ekaterina Dimitrova , Caleb Rackliffe , Piotr Kolaczkowski

 1 Patch
b0150e86fbf5863fd831cfca8118f1a8bd254a43

b0150e86fbf5863fd831cfca8118f1a8bd254a43 | Author: Ekaterina Dimitrova <ekaterina.dimitrova@datastax.com>
 | 2024-03-04 13:46:25-05:00

    Clean up KeyRangeIterator classes
    * replace KeyRangeConcatIterator's PriorityQeueu with List
    * remove KeyRangeIterator.current and simplify
    * remove injected exception and tests - not relevant to the current implementation
    * expand randomized testing
    * inline getCurrent() -> peek(); rename getCount to getMaxKeys
    * redefine skipTo contract to not return a value (which saves unnecessary work when skipTo is called multiple times in a row)
    * calling hasNext in skipTo is a pessimization; if the iterator is in DONE state, then skipTo will see it and avoid further effort; if it is not, then we are computing a next value that we're just going to throw away
    * fix SingleNodeQueryFailureTest - tests now multi and single index
    * rationalize/standardize the way we release SSTableIndexes in QueryController
    
    patch by Ekaterina Dimitrova; reviewed by Caleb Rackliffe, Ekaterina Dimitrova for CASSANDRA-19428
    
    Co-authored-by: Caleb Rackliffe <calebrackliffe@gmail.com>
    Co-authored-by: Jonathan Ellis <jbellis@apache.org>
    Co-authored-by: Piotr Kolaczkowski <pkolaczk@datastax.com>
    Co-authored-by: Michael Marshall <michael.marshall@datastax.com>