Commit Graph

10853 Commits

Author SHA1 Message Date
Mick Semb Wever e49853914b
Merge branch 'cassandra-3.0' into cassandra-3.11 2020-06-09 09:45:52 +02:00
Mick Semb Wever c092c4610e
Merge branch 'cassandra-2.2' into cassandra-3.0 2020-06-09 09:44:24 +02:00
Mick Semb Wever 334024751c
Remove generated files from apache-cassandra-*-src.tar.gz artifacts
patch by Mick Semb Wever; reviewed by Robert Stupp for CASSANDRA-15849
2020-06-08 22:31:41 +02:00
Andrés de la Peña 7014cd5ab0 Merge branch 'cassandra-3.0' into cassandra-3.11
# Conflicts:
#	CHANGES.txt
#	src/java/org/apache/cassandra/db/filter/RowFilter.java
2020-06-05 12:25:28 +01:00
Andrés de la Peña dd255ffa07 Fix replica-side filtering returning stale data with CL > 1
patch by Andres de la Peña; reviewed by Benjamin Lerer, Caleb Rackliffe and ZhaoYang for CASSANDRA-8272
2020-06-05 12:01:13 +01:00
Sylvain Lebresne ebfd05254f Merge commit 'c8a2834606d683ba9945e9cc11bdb4207ce269d1' into cassandra-3.11 2020-05-27 17:17:50 +02:00
Sylvain Lebresne 8358e19840 Fix legacy handling of RangeTombstone with collection ones
When a multi-row range tombstone interacts with a a collection tombstone
within one of a covered row, the resulting range tombstone in the legacy
format will start in the middle of the row and extend past said row and
it needs special handling.

Before this commit, the code deserializing that RT was making it
artificially start at the end of the row (in which the collection
tombstone is), but that means that when `LegacyLayout.CellGrouper`
encountered it, it decided the row was finished, even if it was not,
leading to potential row duplication.

The patch solves this by:
1. making that problematic tombstone start at the beginning of the row
instead of its end (to avoid code deciding the row is over).
2. modify `UnfilteredDeserializer` to 'split' that range tombstone into
a row tombstone for the row it covers, which is handled as a normal row
tombstone, and push the rest of the range tombstone (that starts after
the row and extends to the original end of the RT) to be handled after
that row is fully "grouped".

The patch also removes the possibility of getting an empty row from
`LegacyLayout#getNextRow` to avoid theoretical problems with that.

Patch by Sylvain Lebresne; reviewed by Marcus Eriksson & Aleksey
Yeschenko for CASSANDRA-15805
2020-05-27 17:05:40 +02:00
Benjamin Lerer 3cda9d732d Merge branch cassandra-3.0 into cassandra-3.11 2020-05-25 16:32:52 +02:00
Massimiliano Tomassi a4b6deb906 Rely on snapshotted session infos on StreamResultFuture.maybeComplete to avoid races
patch by Massimiliano Tomassi; reviewed by Sergio Bossa and by ZhaoYang
for CASSANDRA-15667
2020-05-25 16:22:44 +02:00
Jordan West 9519eb3d37 Merge branch 'cassandra-3.0' into cassandra-3.11 2020-05-20 13:41:31 -07:00
David Capwell ea202cea28 EmptyType doesn't override writeValue so could attempt to write bytes when expected not to
Patch by David Capwell; Reviewed by Jordan West for CASSANDRA-15790
2020-05-20 13:37:49 -07:00
Benjamin Lerer 4a4d5e02b0 Merge branch cassandra-3.0 into cassandra-3.11 2020-05-20 11:16:59 +02:00
Bereng 86e1590042 Fix index queries on partition key columns when some partitions contains only static data
patch by Berenguer Blasi; reviewed by Benjamin Lerer for CASSANDRA-13666
2020-05-20 10:32:34 +02:00
Marcus Eriksson e1a0db798a Merge branch 'cassandra-3.0' into cassandra-3.11 2020-05-20 08:45:18 +02:00
Marcus Eriksson 4d42c189fa Avoid creating duplicate rows during major upgrades
Patch by Aleksey Yeschenko, Sam Tunnicliffe and Marcus Eriksson;
reviewed by Sylvain Lebresne and Alex Petrov for CASSANDRA-15789
2020-05-20 08:37:36 +02:00
Andrés de la Peña 406a8596eb Fix CQL formatting of read command restrictions for slow query log
patch by Andres de la Peña; reviewed by Berenguer Blasi for CASSANDRA-15503
2020-05-11 11:14:54 +01:00
Marcus Eriksson 18736b4136 Merge branch 'cassandra-3.0' into cassandra-3.11 2020-05-07 10:50:33 +02:00
David Capwell b105e91967 liveDiskSpaceUsed and totalDiskSpaceUsed get corrupted if IndexSummaryRedistribution gets interrupted
Patch by David Capwell; reviewed by marcuse for CASSANDRA-15674
2020-05-07 10:49:43 +02:00
Mick Semb Wever 996c0ada09
Merge branch 'cassandra-3.0' into cassandra-3.11 2020-05-06 12:56:02 +02:00
Mick Semb Wever 196e54436f
Merge branch 'cassandra-2.2' into cassandra-3.0 2020-05-06 12:55:00 +02:00
mpfau c6a9f5513e
Remove duplicates from tarball
patch by Matthias Pfau; reviewed by Eduard Tudenhöfner, Mick Semb Wever for CASSANDRA-15768
2020-05-06 12:39:26 +02:00
Brandon Williams 5fe434c4ab Merge branch 'cassandra-3.0' into cassandra-3.11 2020-04-29 12:03:31 -05:00
Vicente Jimenez Aguilar 469c6496ae Fix init script for debian Buster
Patch by Vicente Jimenez Aguilar, reviewed by brandonwilliams for
CASSANDRA-15770
2020-04-29 12:01:34 -05:00
Brandon Williams d7ffdb2d91 fix missing CHANGES entry 2020-04-28 10:02:06 -05:00
Zhao Yang 4886968c4e Fix chunk index overflow due to large sstable with small chunk length
patch by ZhaoYang; reviewed by brandonwilliams for CASSANDRA-15595
2020-04-27 11:22:06 -05:00
Brandon Williams c190ab9fcb Merge branch 'cassandra-3.0' into cassandra-3.11 2020-04-27 11:17:18 -05:00
Zhao Yang 04be7366fc Fix chunk index overflow due to large sstable with small chunk length
patch by ZhaoYang; reviewed by brandonwilliams for CASSANDRA-15595
2020-04-27 11:03:06 -05:00
Andrés de la Peña 377ceb675c Merge branch 'cassandra-3.0' into cassandra-3.11
# Conflicts:
#	src/java/org/apache/cassandra/service/pager/AbstractQueryPager.java
#	src/java/org/apache/cassandra/service/pager/MultiPartitionPager.java
#	test/unit/org/apache/cassandra/cql3/validation/operations/SelectTest.java
2020-04-27 16:21:45 +01:00
Andrés de la Peña 6cd2d07d9a Fix infinite loop on index query paging in tables with clustering
patch by Andres de la Peña; reviewed by Benjamin Lerer for CASSANDRA-14242
2020-04-27 15:01:31 +01:00
Dinesh A. Joshi 9b940a511c Merge branch 'cassandra-3.0' into cassandra-3.11 2020-04-17 22:14:18 -07:00
Jacob Becker a738c58022 cqlsh return non-zero status when STDIN CQL fails
Patch By Jacob Becker a.k.a. plastikat; reviewed by Jordan West and Dinesh Joshi for CASSANDRA-15623
2020-04-17 21:47:40 -07:00
Sam Tunnicliffe d6beb0113f Merge branch 'cassandra-3.0' into cassandra-3.11 2020-04-16 18:28:33 +01:00
Sam Tunnicliffe 092915ad19 Don't skip sstables with partition deletes
Patch by Sam Tunnicliffe; reviewed by Aleksey Yeschenko for CASSANDRA-15690
2020-04-16 18:27:56 +01:00
Marcus Eriksson 53740bcbee Merge branch 'cassandra-3.0' into cassandra-3.11 2020-04-16 12:55:38 +02:00
Marcus Eriksson 577409673e Merge branch 'cassandra-2.2' into cassandra-3.0 2020-04-16 12:55:15 +02:00
Marcus Eriksson 16f639af94 Duplicate results with DISTINCT queries in mixed mode
Patch by marcuse; reviewed by Aleksey Yeschenko, Sam Tunnicliffe and Alex Petrov for CASSANDRA-15501
2020-04-16 12:51:44 +02:00
Stefania Alborghetti 57b0bb93ab Merge branch 'cassandra-3.0' into cassandra-3.11 2020-04-09 09:01:42 -04:00
Stefania Alborghetti fe263ad9e9 Merge branch 'cassandra-2.2' into cassandra-3.0 2020-04-09 08:58:55 -04:00
Stefania Alborghetti c8081c2467 Merge branch 'cassandra-2.1' into cassandra-2.2 2020-04-09 08:56:38 -04:00
Benedict Elliott Smith 912c6c49a6 Merge branch 'cassandra-3.0' into cassandra-3.11 2020-04-08 00:34:09 +01:00
Benedict Elliott Smith e3f54d4a0c Memtable memory allocations may deadlock
patch by Benedict; reviewed by Blake Egglestone for CASSANDRA-15367
2020-04-08 00:32:10 +01:00
Aleksandr Sorokoumov f3568c0d50 Fix parse error in cqlsh COPY FROM and formatting for map of blobs
patch by Aleksandr Sorokoumov; reviewed by Stefania Alborghetti for CASSANDRA-15679
2020-04-07 12:32:15 -04:00
Sam Tunnicliffe bbe09d496c Merge branch 'cassandra-3.0' into cassandra-3.11 2020-03-25 17:38:04 +00:00
Sam Tunnicliffe 4815ae7924 Merge branch 'cassandra-2.2' into cassandra-3.0 2020-03-25 17:08:50 +00:00
Colm O hEigeartaigh 6a6dd8ad24 Disable JMX rebinding
Patch by Colm O hEigeartaigh; reviewed by Sam Tunnicliffe for CASSANDRA-15653
2020-03-25 17:06:35 +00:00
Brandon Williams c7a8730447 Allow sstableloader to use SSL on the native port. 2020-03-19 11:00:05 -05:00
Mick Semb Wever b7146676f6
Merge branch 'cassandra-3.0' into cassandra-3.11 2020-03-10 09:03:24 +01:00
Mick Semb Wever af097240bc
Merge branch 'cassandra-2.2' into cassandra-3.0 2020-03-10 09:01:09 +01:00
Vincent White ae326eed2a
Fix Commit log replays when static column clustering keys are collections
patch by Vincent White; reviewed by Mick Semb Wever for CASSANDRA-14365
2020-03-10 08:58:49 +01:00
Mick Semb Wever 1900510a72
Merge branch 'cassandra-3.0' into cassandra-3.11 2020-03-03 22:48:22 +01:00