Commit Graph

3635 Commits

Author SHA1 Message Date
ZhaoYang cb6fad3efc Fix toJSONString for the UDT, tuple and collection types
patch by ZhaoYang; reviewed by Benjamin Lerer for CASSANDRA-13592
2017-07-07 16:12:27 +02:00
Benjamin Lerer b77e11cfd5 Fix nested Tuples/UDTs validation
patch by Benjamin Lerer; reviewed by Andrés de la Peña for CASSANDRA-13646
2017-07-07 13:29:00 +02:00
adelapena 486b82a6b0 Merge branch 'cassandra-2.1' into cassandra-2.2 2017-05-10 11:02:40 +01:00
adelapena b0db519b79 Fix 2ndary indexes on primary key columns to don't create expiring entries (CASSANDRA-13412) 2017-05-10 10:52:50 +01:00
Marcus Eriksson bd540bc51f Fix NeverPurgeTest - wait for compactions to finish
Patch by marcuse; reviewed by Stefania for CASSANDRA-12841
2017-04-26 09:36:32 +02:00
Alex Petrov 31590f5da1 Avoid starting gossiper in RemoveTest
Patch by Alex Petrov; reviewed by Joel Knighton for CASSANDRA-13407
2017-04-20 11:40:53 +02:00
Benjamin Lerer 194329d3c3 Merge branch cassandra-2.1 into cassandra-2.2 2017-04-07 11:32:12 +02:00
Andrés de la Peña 64d8a1d9fd Fix 2ndary index queries on partition keys for tables with static columns
patch by Andrés de la Peña; reviewed by Benjamin Lerer for CASSANDRA-13147
2017-04-07 11:15:54 +02:00
Marcus Eriksson e5a5fb96c3 Use explicit timestamp to avoid getting sstables in different windows
Patch by marcuse; reviewed by yukim for CASSANDRA-12825
2017-04-03 08:32:13 +02:00
Jeff Jirsa beb9658dd5 Commitlog replay may fail if last mutation is within 4 bytes of end of segment
Patch by Jeff Jirsa; Reviewed by Branimir Lambov for CASSANDRA-13282
2017-03-12 21:54:04 -07:00
Benjamin Lerer 5ef8a8b408 Fix queries updating multiple time the same list
patch by Benjamin Lerer; reviewed by Sylvain Lebresne for CASSANDRA-13130
2017-03-10 09:57:20 +01:00
Michael Kjellman 44fefeffa5 org.apache.cassandra.db.DirectoriesTest(testStandardDirs) unit test failing
patch by mkjellman, reviewed by jasobrown for CASSANDRA-13231
2017-03-04 15:37:19 -08:00
Marcus Eriksson 6ffd5cc5d2 run LongLeveledCompactionStrategyTest.testLeveledScanner in a separate table
patch by marcuse; reviewed by yukim for CASSANDRA-12202
2017-02-23 10:35:50 +09:00
Sam Tunnicliffe 3f45010774 Fix ColumnCounter::countAll behaviour for reverse queries
Patch by Sam Tunnicliffe; reviewed by Jason Brown for CASSANDRA-13222
2017-02-20 11:43:52 +00:00
Corentin Chary 5725e2c422 Coalescing strategies improvements CASSANDRA-13090
With the previous code TIMEHORIZON and MOVINGAVERAGE
coalesing strategy would wait even when the backlog
still contains data which would make it grow even more.

Also:
- cleanups parkLoop()
- add otc_coalescing_max_coalesced_messages
- add otc_coalescing_enough_coalesced_messages
- add other otc_* settings to cassandra.yaml

patch by Corentin Chary <c.chary@criteo.com> reviewed by Ariel Weisberg <aweisberg@apple.com> for CASSANDRA-13090
2017-02-13 12:58:29 -05:00
Per Otterstrom 7e05f393f3 Fix negative mean latency metric
Patch by Per Otterstrom; Reviewed by Chris Lohfink for CASSANDRA-12876
2017-02-11 23:28:35 -08:00
Benjamin Lerer 70e33d96e1 Fix handling of nulls and unsets in IN conditions
patch by Benjamin Lerer; reviewed by Alex Petrov for CASSANDRA-12981
2017-01-27 15:17:53 +01:00
Sylvain Lebresne e5a5533397 Fix test interference in ColumnFamilyStoreTest
patch by Sylvain Lebresne; reviewed by Yuki Morishita for CASSANDRA-12890
2017-01-16 10:32:31 +01:00
Benjamin Lerer b45cb10445 Merge branch cassandra-2.1 into cassandra-2.2 2017-01-11 21:09:29 +01:00
Benjamin Lerer 70e8b39b02 Fix paging for DISTINCT queries on partition keys and static columns
patch by Benjamin Lerer; reviewed by Tyler Hobbs for CASSANDRA-13017
2017-01-11 21:05:37 +01:00
Jay Zhuang 8a112ca8ae AutoSavingCache does not store required keys making RowCacheTests Flaky
patch by Jay Zhuang; reviewed by Robert Stupp for CASSANDRA-12453
2017-01-04 13:32:23 +01:00
Joel Knighton e4f732536a Don't return early from DynamicEndpointSnitch when null scores are encountered
Patch by Joel Knighton; reviewed by tjake for CASSANDRA-13074
2017-01-03 12:50:18 -05:00
Yuki Morishita 66f1aaf88d Temporarily fix bug that creates commit log when running offline tools
patch by yukim; reviewed by thobbs for CASSANDRA-8616
2016-12-13 15:51:37 -08:00
Benjamin Lerer 9a5aef09fe Test bind parameters and unset parameters in InsertUpdateIfConditionTest
patch by Benjamin Lerer; reviewed by Alex Petrov for CASSANDRA-12980
2016-12-12 12:52:18 +01:00
Robert Stupp 0b97c5d1f7 testall failure in org.apache.cassandra.cql3.validation.entities.UFTest.testAllNativeTypes
patch by Robert Stupp; reviewed by Alex Petrov for CASSANDRA-12817
2016-12-07 13:06:55 +01:00
Stefan Podkowinski 9cd7d540de Avoid blocking gossip during pending range calculation
patch by Stefan Podkowinski; reviewed by Joel Knighton for CASSANDRA-12281
2016-11-18 17:29:14 +00:00
Joel Knighton 7d2fdfeb41 Rework tombstone purgeability checks to not use sentinel timestamp to indicate unconditional purgeability
patch by Joel Knighton; reviewed by Branimir Lambov for CASSANDRA-12792
2016-11-18 12:25:29 +02:00
Sam Tunnicliffe ca85bec1df Make IndexSummaryManagerTest::testCancelIndex more deterministic
Patch by Sam Tunnicliffe; reviewed by Marcus Eriksson for
CASSANDRA-12808
2016-11-10 09:56:31 +00:00
Benjamin Lerer 3de6e9d327 Fix Util.spinAssertEquals
patch by Benjamin Lerer; reviewed by Joshua McKenzie for CASSANDRA-12283
2016-11-08 17:53:27 +01:00
Marcus Eriksson a370409c80 Merge branch 'cameron/12765-2.1' into cameron/12765-2.2 2016-10-21 08:40:20 +02:00
Cameron Zemek f7ded1c592 Don't skip sstables based on maxLocalDeletionTime
Patch by Cameron Zemek; reviewed by marcuse for CASSANDRA-12765
2016-10-21 08:38:40 +02:00
Joel Knighton 7232d72c0f Limit colUpdateTimeDelta histogram updates to reasonable deltas
patch by Joel Knighton; reviewed by Marcus Eriksson for CASSANDRA-11117
2016-10-13 15:01:29 +02:00
Paulo Motta c70ce6307d Fix merkle tree depth calculation
Patch by Paulo Motta; Reviewed by Yuki Morishita for CASSANDRA-12580
2016-09-29 14:26:53 -05:00
Tyler Hobbs cdd535fcac Treat IN values as a set instead of a list
Patch by Tyler Hobbs; reviewed by Benjamin Lerer for CASSANDRA-12420
2016-09-27 11:51:41 -05:00
Benjamin Lerer 6dc595dd2e Make Collections deserialization more robust
patch by Benjamin Lerer; reviewed by Alex Petrov for CASSANDRA-12618
2016-09-27 14:02:10 +02:00
Jérôme Mainaud 6eff0829d2 Enable repair -pr and -local together (fix regression of CASSANDRA-7450)
Patch by Jérôme Mainaud; Reviewed by Paulo Motta for CASSANDRA-12522
2016-08-30 16:46:01 +01:00
Benjamin Lerer 9583b6b312 Merge branch cassandra-2.1 into cassandra-2.2 2016-08-16 15:26:26 +02:00
Benjamin Lerer 527d1897c0 Fix queries with empty ByteBuffer values in clustering column restrictions
patch by Benjamin Lerer; reviewed by jason Brown and Tyler Hobbs for CASSANDRA-12127
2016-08-16 15:17:59 +02:00
Paulo Motta 315356c1de Wait 10s instead of 1s for connections to be closed on StreamingTransferTest 2016-08-14 08:42:58 -07:00
Paulo Motta 91f7387e1f Only set broadcast_rpc_address on Ec2MultiRegionSnitch if it's not set
Patch by Paulo Motta; reviewed by Tyler Hobbs for CASSANDRA-11356
2016-08-12 18:25:19 -05:00
Per Otterstrom 2e90259669 Add decay to histograms and timers used for metrics
Patch by Per Otterstrom; reviewed by tjake for CASSANDRA-11752
2016-08-10 14:37:45 -04:00
Paulo Motta 76e3100ffb Fix hanging stream session
by preventing CompressedStreamReader from blocking on IOException.
Also removed retry support from streaming.

Patch by Paulo Motta; Reviewed by Yuki Morishita for CASSANDRA-10992
2016-08-09 16:31:34 -05:00
Paweł Rychlik dc8a017c79 JSON support for smallint, tinyint
Patch by Paweł Rychlik; reviewed by Tyler Hobbs for CASSANDRA-12371
2016-08-05 16:33:27 -05:00
Sylvain Lebresne 6dc1745edd Merge commit 'bd6654733dded3513c2c7acf96df2c364b0c043e' into cassandra-2.2
* commit 'bd6654733dded3513c2c7acf96df2c364b0c043e':
  Disable passing control to post-flush after flush failure to prevent data loss.
2016-08-05 15:37:11 +02:00
Branimir Lambov bd6654733d Disable passing control to post-flush after flush failure to prevent
data loss.

patch by Branimir Lambov; reviewed by Sylvain Lebresne for
CASSANDRA-11828
2016-08-05 15:35:25 +02:00
Yuki Morishita 0398521264 Release sstables of failed stream sessions only when outgoing transfers are finished
Patch by Paulo Motta; reviewed by Yuki Morishita for CASSANDRA-11345
2016-08-03 09:34:27 -05:00
Jonathan Ellis e865e88753 Revert "Range tombstones that are masked by row tombstones should not be written out"
This reverts commit 98f5f77bb3.

(See thread at https://mail-archives.apache.org/mod_mbox/cassandra-dev/201607.mbox/%3CCALdd-zjg%2Ba73VncPkU2rw_UpFPVsw0yNwO-yBqUQfK8H8FpiKw%40mail.gmail.com%3E)
2016-07-21 10:15:41 -05:00
mck ef18a1768a NPE when trying to remove purgable tombstones from result
patch by mck; reviewed by Sylvain Lebresne for CASSANDRA-12143
2016-07-07 12:49:12 +02:00
Sylvain Lebresne 43c741e251 Merge branch 'cassandra-2.1' into cassandra-2.2
* cassandra-2.1:
  Range tombstones that are masked by row tombstones should not be written out
2016-07-06 14:39:13 +02:00
Nachiket Patil 98f5f77bb3 Range tombstones that are masked by row tombstones should not be written out
patch by Nachiket Patil; reviewed by Sylvain Lebresne for CASSANDRA-12030
2016-07-06 14:35:10 +02:00