Jonathan Ellis test_and_ci last 3 years


 7 Collaborator
Caleb Rackliffe , Andrés de la Peña , Ekaterina Dimitrova , Mike Adamson , Maxwell Guo , Piotr Kolaczkowski , Michael Marshall

 4 Patch
b0150e86fbf5863fd831cfca8118f1a8bd254a43, 5a82c04fd363030d712fb2935b6c591577ba25ec, b57181032d39cb16ee1c0968b5c4d6f79fa2e2d3, ebea2ba6ade00a6f156787ca4ee36b2f8eb003ad

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>

b57181032d39cb16ee1c0968b5c4d6f79fa2e2d3 | Author: Jonathan Ellis <jbellis@datastax.com>
 | 2023-07-17 14:23:09+02:00

    Fix KeyRangeIntersectionIterator count
    
    patch by Jonathan Ellis; reviewed by Andrés de la Peña

5a82c04fd363030d712fb2935b6c591577ba25ec | Author: Andrés de la Peña <a.penya.garcia@gmail.com>
 | 2023-06-28 16:43:58+01:00

    Add vector similarity functions
    
    patch by Andrés de la Peña; reviewed by Ekaterina Dimitrova and Maxwell Guo for CASSANDRA-18640
    
    Co-authored-by: Jonathan Ellis <jbellis@datastax.com>
    Co-authored-by: Andrés de la Peña <a.penya.garcia@gmail.com>

ebea2ba6ade00a6f156787ca4ee36b2f8eb003ad | Author: Jonathan Ellis <jbellis@datastax.com>
 | 2023-06-26 14:50:01-05:00

    Upgrade to lucene-core 9.7.0
    
    Notes on the upgrade path:
    - RamIndexOutput is replaced with ResettableByteBuffersIndexOutput, an extension of ByteBuffersIndexOutput, which was the closest thing to a replacement of RamIndexOutput.
    - Lucene exposes the code we needed from DirectReaders more or less directly in DirectReader now, so the old copied code has been deleted.
    - Lucene changed its data files to be little endian, but to keep its compatibility story simple it retained BE for the header and footer ints. That's the cause of the changes in SAICodecUtils.
    - We could gain a bit of performance making our own code natively little endian but that is too big of a change for this patch.
    
    patch by Jonathan Ellis; reviewed by Andrés de la Peña, Caleb Rackliffe, and Mike Adamson for CASSANDRA-18494