Commit Graph

5287 Commits

Author SHA1 Message Date
Blake Eggleston 01d6548e0d Merge branch 'cassandra-3.0' into cassandra-3.11 2019-04-25 10:21:55 -07:00
Blake Eggleston c3ce32e239 Fix assorted gossip races and add related runtime checks
Patch by Blake Eggleston; Reviewed by Ariel Weisberg for CASSANDRA-15059
2019-04-25 10:20:46 -07:00
Blake Eggleston 839fc7e36f Merge branch 'cassandra-3.0' into cassandra-3.11 2019-04-24 11:38:18 -07:00
Blake Eggleston d27c3ad0d2 Fix mixed mode partition range scans with limit
Patch by Blake Eggleston; Reviewed by Sam Tunnicliffe for CASSANDRA-15072
2019-04-24 11:33:58 -07:00
Blake Eggleston 7e64003ed8 Merge branch 'cassandra-3.0' into cassandra-3.11 2019-04-24 11:22:56 -07:00
Blake Eggleston e9e883baae Merge branch 'cassandra-2.2' into cassandra-3.0 2019-04-24 11:21:06 -07:00
Blake Eggleston 7d2c3c215f Support cross version messaging in in-jvm upgrade dtests
Patch by Blake Eggleston; Reviewed by Alex Petrov for CASSANDRA-15078
2019-04-24 11:18:27 -07:00
Marcus Eriksson 08018ab5c1 Merge branch 'cassandra-3.0' into cassandra-3.11 2019-03-26 10:07:27 +01:00
Marcus Eriksson b48ba8a843 Merge branch 'cassandra-2.2' into cassandra-3.0 2019-03-26 10:03:26 +01:00
Marcus Eriksson 1d615a5ca1 Fix index summary redistribution cancellation
Patch by marcuse; reviewed by Jordan West for CASSANDRA-15045
2019-03-26 10:00:22 +01:00
Marcus Eriksson 9d7eeb5d28 Merge branch 'cassandra-3.0' into cassandra-3.11 2019-03-25 09:05:22 +01:00
Marcus Eriksson 78776d3534 Avoid double closing the iterator to avoid overcounting the number of requests
Patch by marcuse; reviewed by Sam Tunnicliffe for CASSANDRA-15058
2019-03-25 09:02:43 +01:00
Alex Petrov 093fe7dfe9 Merge branch 'cassandra-3.0' into cassandra-3.11 2019-02-25 16:30:36 +01:00
Alex Petrov 127cf8ffbf Merge branch 'cassandra-2.2' into cassandra-3.0 2019-02-25 16:29:14 +01:00
Alex Petrov e0c10fd76b Implement simple In-JVM tooling for testing distributed paging
Patch by Alex Petrov; reviewed by Jon Meredith for CASSANDRA-15009
2019-02-25 16:27:46 +01:00
Alex Petrov 7b462ec467 Merge branch 'cassandra-3.0' into cassandra-3.11 2019-02-25 14:16:19 +01:00
Alex Petrov b27cc37abd Merge branch 'cassandra-2.2' into cassandra-3.0 2019-02-25 14:14:19 +01:00
Alex Petrov a7d8ba7b10 Fix memory-retention problem arising from thread locals from schema change in in-jvm tests
patch by Alex Petrov; reviewed by Joseph Lynch for CASSANDRA-15014
2019-02-25 14:00:16 +01:00
Andrés de la Peña e6a61be8c8 Add flag to disable SASI indexes, and warning on creation
patch by Andres de la Peña; reviewed by Robert Stupp for CASSANDRA-14866
2019-02-19 14:20:06 +00:00
Blake Eggleston 126853068d Merge branch 'cassandra-3.0' into cassandra-3.11 2019-02-14 13:21:38 -08:00
Joseph Lynch b30c8c98a5 Improve merkle tree size and time on heap
Patch by Joseph Lynch; Reviewed by Blake Eggleston for CASSANDRA-14096
2019-02-14 13:19:30 -08:00
Benedict Elliott Smith 9199e591c6 Merge branch 'cassandra-3.0' into cassandra-3.11 2019-02-06 13:49:01 +00:00
Benedict Elliott Smith 44785dd2ee Anti-compaction temporarily corrupts sstable state
This may result in queries being answered with incorrect results.

patch by Blake Eggleston, Marcus Eriksson and Benedict for CASSANDRA-15004

Co-authored-by: Marcus Eriksson <marcuse@apache.org>
Co-authored-by: Blake Eggleston <bdeggleston@gmail.com>
2019-02-06 13:39:32 +00:00
Benedict Elliott Smith a6059f1fee Merge branch 'cassandra-3.0' into cassandra-3.11 2019-02-05 10:52:17 +00:00
Benedict Elliott Smith aa2a5c6994 Merge branch 'cassandra-2.2' into cassandra-3.0 2019-02-05 10:51:28 +00:00
Benedict Elliott Smith c100f1ac40 Multi-version in-JVM dtests
patch by Benedict; reviewed by Alex Petrov for CASSANDRA-14937
2019-02-05 10:49:16 +00:00
Robert Stupp 16c96c20da Merge branch cassandra-3.0 into cassandra-3.11 2019-02-01 12:27:24 +01:00
Robert Stupp bc18b4dd4e Severe concurrency issues in STCS,DTCS,TWCS,TMD.Topology,TypeParser
patch by Robert Stupp; reviewed by Blake Eggleston for CASSANDRA-14781
2019-02-01 12:26:06 +01:00
Benedict Elliott Smith 2d05bff0ba Merge branch 'cassandra-3.0' into cassandra-3.11 2019-01-21 17:44:36 +00:00
Benedict Elliott Smith 459945bcf4 Merge branch 'cassandra-2.2' into cassandra-3.0 2019-01-21 17:43:26 +00:00
Benedict Elliott Smith fdb1735010 In JVM dtests need to clean up after instance shutdown
Followup - isolate executions for a given node to an executor owned by the instance

patch by Benedict; reviewed by Alex Petrov for CASSANDRA-14922
2019-01-21 10:13:48 +00:00
Joseph Lynch 8ad4a9a522 In JVM dtests need to clean up after instance shutdown
Adds additional cleanup logic to ensure we don't leak classloaders and
their associated objects when running the in JVM dtests.

Patch by Joseph Lynch; reviewed by Alex Petrov for CASSANDRA-14922
2019-01-21 10:13:48 +00:00
Alex Petrov a3004ef29f Make sure that SEP Worker shuts down when pool is shutdown
Patch by Alex Petrov; reviewed by Benedict Elliott Smith for CASSANDRA-14815
2019-01-21 10:13:48 +00:00
Alex Petrov 1d5e0301f3 Introduce in-jvm distributed tests
Patch by Alex Petrov and Benedict Elliott Smith; reviewed by Benedict Elliott Smith and Dinesh Joshi for CASSANDRA-14821.

Co-authored-by: Benedict Elliott Smith <benedict@apache.org>
2019-01-21 10:13:48 +00:00
Sam Tunnicliffe e5ab9b6a47 Merge branch 'cassandra-3.0' into cassandra-3.11 2019-01-17 11:59:42 +00:00
Sam Tunnicliffe db3c85287f Merge branch 'cassandra-2.2' into cassandra-3.0 2019-01-17 10:30:03 +00:00
Sam Tunnicliffe 11b06e9bc1 Merge branch 'cassandra-2.1' into cassandra-2.2 2019-01-17 10:20:53 +00:00
Sam Tunnicliffe dd228d4581 Special case page handling for DISTINCT queries
Simplify the removal of the first row in a paged range slice page
with DISTINCT if that row was already returned at the end of the
previous page

Patch by Sam Tunnicliffe and Marcus Eriksson; reviewed by Sam Tunnicliffe
and Marcus Eriksson for CASSANDRA-14956

Co-authored-by: Sam Tunnicliffe <sam@beobal.com>
Co-authored-by: Marcus Eriksson <marcuse@apache.org>
2019-01-17 09:49:05 +00:00
Aleksey Yeshchenko 2edd6fd2e0 Merge branch 'cassandra-3.0' into cassandra-3.11 2018-12-10 18:19:31 +00:00
Aleksey Yeshchenko 4f3a6feb22 Merge branch 'cassandra-2.2' into cassandra-3.0 2018-12-10 18:14:14 +00:00
Stefania Alborghetti 84ffcb82a7 Streaming needs to synchronise access to LifecycleTransaction
patch by Stefania Alborghetti and Benedict; reviewed by Robert Stupp for CASSANDRA-14554
2018-12-10 15:00:00 +00:00
Benedict Elliott Smith 0918ba0117 Merge branch 'cassandra-3.0' into cassandra-3.11 2018-12-07 12:27:08 +00:00
Stefania Alborghetti 3539a07884 Prevent concurrent access to lifecycle txn when streaming
patch by Stefania Alborghetti; reviewed by Robert Stupp for CASSANDRA-14554
2018-12-07 12:18:05 +00:00
Benedict Elliott Smith e635317cf8 Merge branch 'cassandra-3.0' into cassandra-3.11 2018-11-29 15:56:40 +00:00
Benedict Elliott Smith 8404260f16 Unfiltered.isEmpty conflicts with Row extends AbstractCollection.isEmpty
patch by Benedict; reviewed by Blake Eggleston for CASSANDRA-14588
2018-11-29 15:50:25 +00:00
Benedict Elliott Smith 1084ad9ee6 Merge branch 'cassandra-3.0' into cassandra-3.11 2018-11-29 14:38:01 +00:00
Benedict Elliott Smith 7bdea449c3 Throw exception if Columns serialized subset encode more columns than possible
patch by Benedict; reviewed by Dinesh Joshi for CASSANDRA-14591
2018-11-29 14:29:20 +00:00
Benedict Elliott Smith 4b1f40d538 Drop/add column name with different Kind can result in corruption
patch by Benedict; reviewed by Sam for CASSANDRA-14843
2018-11-29 14:29:20 +00:00
Blake Eggleston 4a531c27ce Merge branch 'cassandra-3.0' into cassandra-3.11 2018-11-28 09:13:56 -08:00
Blake Eggleston f7630e4c3a RangeTombstoneList doesn't properly clean up mergeable or superseded rts in some cases
Patch by Blake Eggleston; Reviewed by Sam Tinnicliffe for CASSANDRA-14894
2018-11-28 09:06:18 -08:00
Sam Tunnicliffe 64d828b9de Merge branch 'cassandra-3.0' into cassandra-3.11 2018-11-28 16:11:08 +00:00
Sam Tunnicliffe 0a7fbee43f Reading legacy tables handles tombstones for dropped collections
Patch by Sam Tunnicliffe; reviewed by Aleksey Yeschenko and
Benedict Elliott Smith for CASSANDRA-14912
2018-11-28 16:03:16 +00:00
Aleksey Yeshchenko afa4563864 Don't skip entire sstables when reading backwards with mixed clustering column order
patch by Aleksey Yeschenko; reviewed by Alex Petrov for CASSANDRA-14910
2018-11-27 21:03:56 +00:00
Aleksey Yeshchenko 54be1fa8f6 Merge branch 'cassandra-3.0' into cassandra-3.11 2018-11-20 15:23:55 +00:00
Aleksey Yeshchenko c9dc69dce6 Merge branch 'cassandra-2.2' into cassandra-3.0 2018-11-20 15:23:42 +00:00
Aleksey Yeshchenko cf6f7920f7 Cannot perform slice reads in reverse direction against tables with clustering columns in mixed order
patch by Aleksey Yeschenko; reviewed by Alex Petrov for CASSANDRA-14899
2018-11-20 15:19:28 +00:00
Alex Petrov 78c7d57ebb Merge branch 'cassandra-3.0' into cassandra-3.11 2018-11-19 08:52:59 +01:00
Aleksandr Sorokoumov c6f822c2a0 Fix full ring range subtraction
Patch by Aleksandr Sorokoumov; reviewed by Alex Petrov for CASSANDRA-14869
2018-11-19 08:51:56 +01:00
Blake Eggleston 2ed7c6a6b8 Merge branch 'cassandra-3.0' into cassandra-3.11 2018-11-17 16:01:39 -08:00
Blake Eggleston 60a8cfe115 fix failing test 2018-11-17 16:01:09 -08:00
Aleksey Yeshchenko 5431b87ede Merge branch 'cassandra-3.0' into cassandra-3.11 2018-11-13 15:30:56 +00:00
Branimir Lambov a03424ef95 Correct sstable sorting for garbagecollect and levelled compaction
patch by Branimir Lambov and Vincent White; reviewed by Zhao Yang for CASSANDRA-14879
2018-11-13 12:50:08 +02:00
Aleksey Yeshchenko 9eee7aa787 Fix missing rows when reading 2.1 SSTables with static columns in 3.0
patch by Aleksey Yeschenko; reviewed by Blake Eggleston for
CASSANDRA-14873
2018-11-12 19:27:31 +00:00
Blake Eggleston af600c7931 Merge branch 'cassandra-3.0' into cassandra-3.11 2018-11-06 15:56:40 -08:00
Blake Eggleston 7bf617165e ninja: fix out of date tests 2018-11-06 15:43:58 -08:00
Blake Eggleston a6a9dce157 Merge branch 'cassandra-3.0' into cassandra-3.11 2018-11-06 11:19:04 -08:00
Blake Eggleston d60c78358b Sstable min/max metadata can cause data loss
Patch by Blake Eggleston; Reviewed by Sam Tunnicliffe for CASSANDRA-14861
2018-11-06 11:17:06 -08:00
Blake Eggleston 69f8cc7d25 Merge branch 'cassandra-3.0' into cassandra-3.11 2018-10-28 19:37:51 -07:00
Blake Eggleston e4bac44a04 Dropped columns can cause reverse sstable iteration to return prematurely
Patch by Blake Eggleston; Reviewed by Sam Tunnicliffe for CASSANDRA-14838
2018-10-28 19:29:44 -07:00
Aleksey Yeshchenko 6308fb21da Merge branch 'cassandra-3.0' into cassandra-3.11 2018-10-23 23:27:09 +01:00
Jon Meredith e07d53aaec Fix flaky LongBufferPoolTest
patch by Jon Meredith; reviewed by Dinesh Joshi for CASSANDRA-14790
2018-10-23 23:22:13 +01:00
Blake Eggleston 075f458623 Merge branch 'cassandra-3.0' into cassandra-3.11 2018-10-16 12:48:38 -07:00
Blake Eggleston 285153f621 Legacy sstables with multi block range tombstones create invalid bound sequences
Patch by Blake Eggleston; Reviewed by Sam Tunnicliffe and Aleksey Yeschenko for CASSANDRA-14823
2018-10-16 12:37:24 -07:00
Aleksey Yeshchenko 4e6eb9a327 Merge branch 'cassandra-3.0' into cassandra-3.11 2018-10-16 17:12:53 +01:00
Aleksey Yeshchenko 5e969e9cfd Expand range tombstone validation checks to multiple interim request stages
patch by Aleksey Yeschenko; reviewed by Blake Eggleston and Sam
Tunnicliffe for CASSANDRA-14824
2018-10-16 17:01:17 +01:00
Blake Eggleston 70303563e9 Merge branch 'cassandra-3.0' into cassandra-3.11 2018-10-04 12:56:39 -07:00
Blake Eggleston ab0e30e759 Reverse order reads can return incomplete results
Patch by Blake Eggleston; Reviewed by Sam Tunnicliffe for CASSANDRA-14803
2018-10-04 12:46:21 -07:00
Marcus Eriksson c7e6eee58d Merge branch 'cassandra-3.0' into cassandra-3.11 2018-09-28 12:54:08 +02:00
Marcus Eriksson 30d2835809 Avoid calling iter.next() in a loop when notifying indexers about range tombstones
Patch by marcuse; reviewed by Alex Petrov and Sam Tunnicliffe for CASSANDRA-14794
2018-09-28 12:52:20 +02:00
Aleksey Yeshchenko c34a0f5207 Merge branch 'cassandra-3.0' into cassandra-3.11 2018-09-25 17:41:10 +01:00
Aleksey Yeshchenko d496dca672 Fix purging semi-expired RT boundaries in reversed iterators
patch by Aleksey Yeschenko; reviewed by Blake Eggleston for
CASSANDRA-14672
2018-09-25 17:32:56 +01:00
Aleksey Yeshchenko 4d3f5a32b2 Merge branch 'cassandra-3.0' into cassandra-3.11 2018-09-25 17:03:57 +01:00
Aleksey Yeshchenko 45937def31 DESC order reads can fail to return the last Unfiltered in the partition
patch by Aleksey Yeschenko; reviewed by Sam Tunnicliffe and Benedict
Elliott Smith for CASSANDRA-14766
2018-09-25 17:02:06 +01:00
Benedict Elliott Smith 4f30dae1d4 Merge branch 'cassandra-3.0' into cassandra-3.11 2018-09-20 14:21:23 +01:00
Benedict Elliott Smith 322f7e9bb4 ninja edit naming in LegacyLayoutTest.testStaticRangeTombstoneRoundTripDroppedColumn 2018-09-20 14:18:58 +01:00
Benedict Elliott Smith 287a960afb ninja fix: bad merge in LegacyLayoutTest 2018-09-17 11:58:27 +01:00
Benedict Elliott Smith 5d55882048 Merge branch 'cassandra-3.0' into cassandra-3.11 2018-09-14 11:24:41 +01:00
Benedict Elliott Smith 06c55f779a Collection Deletions for Dropped Columns in 2.1/3.0 mixed-mode can delete rows
patch by Benedict; reviewed by Sylvain Lebresne and Aleksey Yeschenko for CASSANDRA-14749
2018-09-14 11:17:59 +01:00
Benedict Elliott Smith 68dbeb34c9 Static deletions are corrupted in 3.0 -> 2.{1,2} messages (again)
The prior fix was incorrect; it turns out serialization to 2.{1,2} nodes was broken as well,
not just deserialization from 2.{1,2} nodes.

patch by Benedict; reviewed by Aleksey and Sylvain for CASSANDRA-14568
2018-09-14 11:16:50 +01:00
Branimir Lambov 991e19711f Merge branch 'cassandra-3.0' into cassandra-3.11 2018-08-21 11:56:05 +03:00
Branimir Lambov 299782cff5 Merge branch 'cassandra-2.2' into cassandra-3.0 2018-08-21 11:55:38 +03:00
Branimir Lambov 49adbe7e0f Fix SafeMemoryWriter trimming and behaviour over 2G
patch by Branimir Lambov; reviewed by Benedict Elliott Smith for CASSANDRA-14649
2018-08-21 11:53:30 +03:00
Aleksey Yeshchenko 65a46820bb Merge branch 'cassandra-3.0' into cassandra-3.11 2018-08-16 15:44:12 +01:00
Aleksey Yeshchenko 236c47e65c Fix static column order for SELECT * wildcard queries
patch by Aleksey Yeschenko; reviewed by Benedict Elliott Smith for
CASSANDRA-14638
2018-08-16 15:43:51 +01:00
Benjamin Lerer 975e1d3eb9 Merge branch 'cassandra-3.0' into cassandra-3.11 2018-08-02 11:32:03 +02:00
Benjamin Lerer 3acb7d44a6 Merge branch cassandra-2.2 into cassandra-3.0 2018-08-02 11:29:53 +02:00
Benjamin Lerer 2bd733264e Returns null instead of NaN or Infinity in JSON strings
patch by Benjamin Lerer; reviewed by Francisco Fernandez for CASSANDRA-14377
2018-08-02 11:01:39 +02:00
Benedict Elliott Smith 31d5d870f9 Merge branch 'cassandra-3.0' into HEAD 2018-07-16 17:46:37 +01:00
Benedict Elliott Smith d52c7b8c59 Fix corrupted static collection deletions in 3.0 -> 2.{1,2} messages
patch by Benedict; reviewed by Aleksey Yeschenko for CASSANDRA-14568
2018-07-16 17:40:09 +01:00
Jay Zhuang 847b843239 Merge branch 'cassandra-3.0' into cassandra-3.11 2018-07-05 09:58:31 -07:00