forked from apache/cassandra
-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CNDB-12154: Port latest commits from main to main-5.0 #1467
Open
djatnieks
wants to merge
139
commits into
main-5.0
Choose a base branch
from
CNDB-12154
base: main-5.0
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+37,112
−8,739
Open
Changes from 1 commit
Commits
Show all changes
139 commits
Select commit
Hold shift + click to select a range
88085c7
Include checksums in CorruptBlockException when relevant (#1291)
michaeljmarshall 29d2430
Implement FSError#getMessage to ensure file name is logged (#1292)
michaeljmarshall 35e4038
Use query view's locked indexes for Plan#estimateAnnNodesVisited (#1238)
michaeljmarshall d09b969
CNDB-10923: Fix expressions accidentally joined by OR instead of AND
michaeljmarshall 8c04f9c
Update src/java/org/apache/cassandra/db/filter/RowFilter.java
pkolaczk b6f2046
Update src/java/org/apache/cassandra/db/filter/RowFilter.java
pkolaczk 46d4d15
Cleanup unused throws Throwable and other minor warnings
pkolaczk 4eddc05
Remove unused enum variant
pkolaczk 2d296a6
Revert "Use query view's locked indexes for Plan#estimateAnnNodesVisi…
michaeljmarshall ca61eec
CNDB-10862: Moves the deletion of index components on index drop to a…
pcmanus 4761098
CNDB-10455: Automatically tune compaction for vector tables (#1265)
ethan-brown2022 a4c5c42
Add ShardManagerReplicaAware class to align UCS shards with replica s…
michaeljmarshall 64a1aa4
CNDB-10988: inspect no space left exception on compaction (#1297)
jasonstack d4b7a54
CNDB-11048 ChunkCache eviction metrics improvements (#1303)
eolivelli 2586d51
CNDB-10966: Add ability to read the TTLs and write times of the eleme…
adelapena e45beb7
CNDB-10939: Port CASSANDRA-19461 (index empty values)
adelapena 36f06d1
CNDB-10870: Upgrade JVector dependency to 3.0.1
jkni b0feab1
CNDB-10945: Change calculation of sstable span for small sstables (#1…
blambov d2759f9
CNDB-11021: Improve performance of ORDER BY using KD-tree index
pkolaczk 03b1881
CNDB-9850: Row-level trie memtable with DeletionInfo tombstone handling
blambov f6c8a6a
CNDB-9850 followup: Additional rebase changes to review
djatnieks 86c00ae
CNDB-9850 followup: fix failing tests
djatnieks c1a3fb6
CNDB-9850 followup: Fix RowIndexTest
djatnieks 7707d09
CNDB-9850 followup: Align ByteComparable.Version values with main branch
djatnieks 7831acb
CNDB-10295 Followup - Do not use lambdas in InMemoryTrie (#1326)
eolivelli d246168
CNDB-11134: Fix data race in adjustForCrossDatacenterClashes to preve…
michaeljmarshall 0de0951
Fix access to JDK internals for jamm post CNDB-9850
ekaterinadimitrova2 262b135
CNDB-10990: include archive size when constructing Bucket#constructAg…
jasonstack 6ff57bf
CNDB-11028: Port CASSANDRA-18190, this fixes the tests for now, but m…
ekaterinadimitrova2 ad42706
CNDB-10783: Reuse CRC when appending index components
pkolaczk a373d3f
CC5 update IndexFileUtils to consistently use the version based getCh…
djatnieks 47681b3
CNDB-10991: skip aggregate that includes any sstables that are alread…
jasonstack 97b8d7f
CNDB-11090: add CompactionRealm#makeUCSEnvironment API (#1322)
jasonstack 9ef942c
DSP-24330 QueryProcessor evictPrepared deadlock (#1257)
bereng 28ac0b8
CNDB-8187 Add metrics about time spent writing SAI (compaction and fl…
eolivelli 98cf299
CNDB-10886: Bump JVector to 3.0.2 (#1343)
jkni 626e873
CNDB-8187 Move SAI writing metrics to micros and use counters (#1345)
eolivelli 7541f42
CNDB-11283: Unify CQLTester#waitForIndex and SAITester#waitForIndexQu…
adelapena 1899291
Add warning when rewriting TOC that does not exist (#1354)
pcmanus 3569d65
CNDB-11336: Fix tests post JDK-8210522 (rewrite reflection of modifie…
ekaterinadimitrova2 527ccbd
CNDB-11092: Fix IndexInputLeakDetector (#1310)
adelapena 2a6a311
CNDB-10629: Estimate predicate selectivity using histograms
pkolaczk 9bd6ad1
Revert Version.LATEST to DB (#1364)
pkolaczk 4c1b32d
CNDB-10988: fix CompactionOutOfSpaceTest by wrapping IOException with…
jasonstack 3a15aba
CNDB-11338: Fix ClassCastException from jdk GaloisCounterMode when u…
ekaterinadimitrova2 5b2fb66
CNDB-9877: Add pull request template (#1368)
jacek-lewandowski 2149b5b
CNDB-11345: mock CFS#makeUCSEnvironment in ControllerTest (#1360)
michaeljmarshall 3eb89ac
CNDB-11388: Set timeout when waiting on futures in ChunkCache.rebuffe…
jkni 6515b3a
CNDB-10716: do not use lambdas as they don't work with Jamm 3 on JDK2…
eolivelli 7345020
CNDB-11398: Fix concurrency issues with new TrieMemtable (#1371)
blambov 7c12281
CNDB-11133: Port CASSANDRA-17224, CASSANDRA-18267, CASSANDRA-17294 an…
ekaterinadimitrova2 475ba3a
CNDB-11217: Implemenet DelegatingShardManager (#1339)
michaeljmarshall 15c23c9
CNDB-11210: Fix false negatives for non-eq (#1359)
k-rus d6508c7
CNDB-11438 main: Fix CompactionStrategyStatisticsTest (#1378)
djatnieks 7e54436
CNDB-11210 simplify test of Non-eq on truncated types (#1381)
k-rus 301b89d
CNDB-11219: Make TokenAllocatorBase take a supplier for first token a…
michaeljmarshall c8ccb4f
CNDB-11492: Bump up Version.LATEST to DC
pkolaczk 9d1b66b
CNDB-1461: add REPLACE reload reason (#975)
jasonstack 1516421
CNDB-11519: Apply pk restriction earlier in hybrid sai execution (#1391)
michaeljmarshall 5b7e78a
CNDB-11498: Make main branch compile on JDK22 (#1385)
ekaterinadimitrova2 152c9d7
CNDB-11434: Refactor tests to mitigate https://openjdk.org/jeps/416 (…
ekaterinadimitrova2 221f776
CNDB-11518: Split o.a.c.index.sai.cql.VectorTypeTest to prevent timeo…
adelapena 3041d26
CNDB-11459 and 11413: More logging for SAI vector index events (#1404)
michaeljmarshall 878d032
CNDB-11579: Rewrite MessagePayloadTest to account for JEP 416
ekaterinadimitrova2 6dc1d0e
CNDB-11579: Use try-with-resources in MessagePayloadTest
ekaterinadimitrova2 88dafb0
CNDB-11499: Fix incorrect thread names in CompactionControllerTest
blambov eb85f95
CNDB-11563 move and rename SAI iterators and postings as in ASF (#1400)
k-rus 2638063
CNDB-11441: Port update SyncUtil for JDK11 and JDK17
ekaterinadimitrova2 3dc2722
CNDB-11663: Handle posting list ordinal assignment race (#1410)
michaeljmarshall 96a3d0b
CNDB-11646: Reclaculate ShardManager#minimumPerPartitionSpan on each …
michaeljmarshall c64eb5e
Rename few iterators to KeyRangeIterator
k-rus 1b7fea9
CNDB-11630: Minimal port of CASSANDRA-18049 and additional fixes arou…
ekaterinadimitrova2 47589d2
CNDB-11118 return null serializer if response verb is null (#1328)
jtgrabowski 95361eb
CNDB-11678: Use DenseIntMap for CassandraOnHeapGraph (#1418)
michaeljmarshall 3d18d6c
Allow custom SAI components discovery (#1338)
pcmanus f4a26bd
CNDB-10731: Add support for index analyzers to RowFilter (#1270)
adelapena 30a1094
CNDB-10085: Add guardrail for the number of column filters per query …
adelapena e70e5de
CNDB-8491: add existing sstables into SAI even if intiial build is sk…
jasonstack 2a115b6
CNDB-11680: Add source sstable/memtable id to vector traces (#1411)
michaeljmarshall 945002f
HCD-18 add option to ignore DC name validation (#1428)
shunsaker 34c38be
CNDB-11801: custom stage exeuctors
jakubzytka d240fcf
CNDB-11801: test for the functionality of using a custom stage executor
jakubzytka fa79f58
CNDB-9046: cross-node messaging metrics fixes
jakubzytka 6c0d818
Fix minor bug in intersection's propagate access (#1430)
k-rus bc2d573
CNDB-11782: additional messaging metrics
jakubzytka 5e880de
CNDB-11581: Stage metrics improvements
jakubzytka 680024b
CNDB-11714: Optimize SAI ORDER BY row materialization (#1419)
michaeljmarshall ba82683
CNDB-11832: add LifecycleNewTracker#trackNewWritten when sstable and …
jasonstack a4932a1
CNDB-10851 Lower paxos max backoff sleep from 100 to 50 ms (#1444)
jtgrabowski 2d1b768
CNDB-11768: DynamicEndpointSnitch tweaks: quantization and quantile i…
jakubzytka 1595cc2
CNDB-11760: Prevent full deserialization in CQL's CONTAINS operator (…
adelapena 97d1301
CNDB-11655: Limit the number of clauses before optimizing the Plan
pkolaczk 77861d4
CNDB-11742: Add a client warning when using an n-gram analyzer withou…
adelapena 83a97ea
CNDB-10732: Reproduction tests and fixes for CNDB-10732 and CNDB-1053…
ekaterinadimitrova2 5411d56
Add method to check if component diff creates unused components (#1438)
pcmanus 3ccd01d
CNDB-11988: Bump jvector to 3.0.4 (#1450)
michaeljmarshall 90aa046
CNDB-10759 Make native transport stage async in regards to read and w…
jakubzytka faec14b
CNDB-11950: cache sstable density result to speed up test (#1454)
michaeljmarshall 926fee7
CNDB-11762: Remove StorageAttachedIndexQueryPlan#postProcessor (#1422)
adelapena 9e812ac
CNDB-12051: addtional tracing messages about query execution (#1459)
jakubzytka 5d2df65
CNDB-11495: add REMOTE_STORAGE_HANDLER_FACTORY (#1443)
jasonstack 4418146
CNDB-10718: Make RowFilter non-iterable (#1448)
adelapena 88edb5b
CNDB-11932 plan union of half-ranges for inequality (#1451)
k-rus 4e8143c
SAI: Reduce DirectReader object creation (#1011)
michaeljmarshall 7febcba
STAR-1872: Parallelize UCS compactions per output shard (#1342)
blambov 5a9a04f
CNDB-12130: read source file sequentially when sending file through Z…
jasonstack bf4ab4c
CNDB-12128 Expose to CNDB some methods around ExpirationTask (#1465)
eolivelli 13f1f59
CNDB-11070: Limited backport of CASSANDRA-19534 (#1460)
jkni ad7ee6b
CNDB-12120: 3 test failures in MultiNodeBillingTest (#1462)
adelapena bbc7f67
DSP-24606: Replace nulls with negative defaults in system_schema (#1445)
szymon-miezal 7c0097e
CNDB-11242: Allow to specify a custom cluster version provider (#1458)
jacek-lewandowski 762f657
CNDB-12139 minor refactor row count estimation code (#1463)
k-rus 7fdd10d
CC5 Fix for CNDB-11070 to use 'native_transport_timeout' as 5.0 name …
djatnieks 0272b19
CNDB-12215 Replace [On|Off]HeapTrieMemtableIndexTest classes withTrie…
djatnieks 9a7229d
Add row count test for estimated row counts for SAI plan on single re…
k-rus 9482d5e
CNDB-12222 Fix flaky tests in SSTableCorruptionDetectionTest by addin…
djatnieks bddd5bb
CNDB-12223 Fix CorruptedSSTablesCompactionTest by modifying SharedCom…
djatnieks 17f983b
CNBD-12239: Replace System.nanoTime with approxTime in SAI where appr…
michaeljmarshall c31eeea
CNDB-12257: do not call System.getProperty on an hotpath (ChunkCache …
eolivelli c27bf0a
CNDB-12277: Upgrade to jvector 3.0.6 (#1478)
jbellis 462b7b3
CNDB-12272: Fix SimpleClientPerfTest (#1477)
djatnieks 61b0205
Improve typed reads in RandomAccessReader
blambov 118b35d
CNDB-12297: Fix flaky test MutatorTest.testMutatateAtomically by poll…
jkni eb9ef2b
CNDB-11437: Disable key cache in LazyBloomFilterTest
jkni 4f494ee
CNDB-12296: Skip metric creation for "fake" index contexts generated …
jkni cc068ed
CNDB-9850 followup: BtiFormat set byteComparableVersion based on trie…
djatnieks aba71bb
CNDB-9850 followup: Revert part of CNDB-11010 that added PartitionUpd…
djatnieks 974c4d6
CNDB-9850 followup: Implement PR comments
djatnieks 3b558ba
CNDB-9850 followup: more alignment with main branch
djatnieks 8edc8ed
CNDB-12346: Fix reporting enqueue time for stage tasks (#1490)
jakubzytka 2207746
CNDB-12289: Cache USE_DSE_COMPATIBLE_HISTOGRAM_BOUNDARIES to save cpu…
eolivelli 942cf76
CNDB-8501 Propagate read and write request sensors via native protoco…
aymkhalil 86a11a4
CNDB-12393: Refactor TransportTest to account for JEP-416 (#1497)
ekaterinadimitrova2 59740b7
CNDB-11508: Add config to enable JDK22 test and run (#1503)
ekaterinadimitrova2 3563121
CNDB-12423: Fix flaky test failures in LegacySSTableTest by blocking …
jkni ea4ac1e
moving PQ refine into CompactionGraph (#1471)
jbellis 66faff8
CNDB-12342: Avoid unnecessary looping in QueryView#build (#1491)
pkolaczk 5700159
CNDB-12445: parameterize ByteComparable.Version for clusteringFromByt…
michaeljmarshall de16993
CNDB-12075: Allow UDFs within GROUP BY clause (#1494)
adelapena File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems I forgot in CNDB-9850 that the OSS branch has a better solution to the problem this is meant to solve: extract the factory outside the memtable class, so that it no longer has a dependency on the memtable class being constructed. On the OSS branch that's the
SkipListMemtableFactory
, here we can do the same movingTrieMemtable.Factory
to top level asTrieMemtableFactory
, and then referencing itsINSTANCE
from the default params no longer involves initializingTrieMemtable
.This avoids having to reproduce every method of
Memtable.Factory
here which we can easily forget to do.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, I'll do that