Commit Graph

142 Commits

Author SHA1 Message Date
Robert Stupp 707c364309 Move to FastThreadLocalThread and FastThreadLocal
patch by Robert Stupp; reviewed by Jason Brown for CASSANDRA-13034
2016-12-13 17:37:47 +01:00
Robert Stupp e303863258 Merge branch 'cassandra-3.11' into cassandra-3.X 2016-12-12 20:39:55 +01:00
Robert Stupp 50a9b1abb1 Merge branch cassandra-3.0 into cassandra-3.11 2016-12-12 20:39:41 +01:00
Robert Stupp 7f668c6fe1 Thread local pools never cleaned up
patch by Robert Stupp; reviewed by Jason Brown for CASSANDRA-13033
2016-12-12 20:38:56 +01:00
Ariel Weisberg 07f990bc2d Log message size in trace message in OutboundTcpConnection
patch by aweisberg; reviewed by jasobrown for CASSANDRA-13028
2016-12-12 10:30:00 -08:00
Robert Stupp b3a4e2005e Config class uses boxed types but DD exposes primitive types
patch by Robert Stupp; reviewed by Carl Yeksigian for CASSANDRA-12199
2016-10-05 09:39:03 +02:00
Tyler Hobbs c26bd91852 Retry all MS messages once after reopening a connection
Patch by Tyler Hobbs; reviewed by Yuki Morishita for CASSANDRA-12192
2016-08-24 17:31:07 -05:00
Dave Brosius 7dccb31373 simple boxing fixes: parseXXX for primitives, valueOf for boxed objects 2016-08-03 22:26:02 -04:00
T Jake Luciani dc9ed46341 Improve write path performance
Patch by tjake; reviewed by Stefania Alborghetti for CASSANDRA-12269
2016-07-26 14:55:54 -04:00
Sylvain Lebresne c310adde0e Merge branch 'cassandra-3.0' into trunk
* cassandra-3.0:
  Fix handling of clustering key > 64K
2016-06-23 11:06:53 +02:00
Sylvain Lebresne 40ab6312d0 Merge commit '0171259d05a2dd5ec901ccadda016361312b59a9' into cassandra-3.0
* commit '0171259d05a2dd5ec901ccadda016361312b59a9':
  Fix handling of clustering key > 64K
2016-06-23 11:03:16 +02:00
Sylvain Lebresne 0171259d05 Merge commit '452d626a7a6b03917b7bd72a5dfe9da8a27e0903' into cassandra-2.2
* commit '452d626a7a6b03917b7bd72a5dfe9da8a27e0903':
  Fix handling of clustering key > 64K
2016-06-23 10:57:32 +02:00
Lerh Chuan Low 452d626a7a Fix handling of clustering key > 64K
Prevent select statements with clustering key > 64k,
nicer error message when writing a value larger than unsigned short,
catch Throwable for OutboundTCPConnection.

Patch by Lerh Chuan Low; reviewed by Branimir Lambov for CASSANDRA-11882
2016-06-23 10:52:14 +02:00
Sylvain Lebresne 17d1b1b043 Merge branch 'cassandra-3.0' into cassandra-3.5 2016-03-08 17:22:14 +01:00
Sylvain Lebresne c2b47baf3f Merge branch 'cassandra-2.2' into cassandra-3.0 2016-03-08 17:21:59 +01:00
Sylvain Lebresne 9b53d6a5b7 Merge branch 'cassandra-2.1' into cassandra-2.2 2016-03-08 17:21:25 +01:00
Sylvain Lebresne e94a2a0341 Add missing unit conversion when timeouting outbound messages
patch by slebresne; reviewed by aweisberg for CASSANDRA-11302
2016-03-08 17:20:43 +01:00
Mick Semb Wever bf25e668f4 Add support for custom tracing implementations
Patch by Mick Semb Wever; reviewed by tjake for CASSANDRA-10392
2016-02-24 13:28:18 -05:00
Sylvain Lebresne f3b7599e3b Avoid potential AssertionError in mixed version cluster
patch by slebresne; reviewed by Stefania for CASSANDRA-1128

The patch attempts to make sure the version of a given node is set
correctly as soon as possible by using the version passed through
gossip, as that version could previously be used before having been
properly set, thus defaulting to the current version (which might be
incorrect) and leading to the AssertionError
2016-02-12 12:04:09 +01:00
Sam Tunnicliffe e8bd8a44bc Merge branch 'cassandra-2.1' into cassandra-2.2 2016-01-08 16:05:14 +00:00
Stefania Alborghetti 0f27d68fc2 Maybe retry sending digest syn during shadow round
Patch by Stefania Alborghetti; reviewed by Sam Tunnicliffe for
CASSANDRA-8072
2016-01-08 15:54:17 +00:00
Stefan Podkowinski c8493c41ec Explicitly handle SSL handshake errors during connect()
patch by Stefan Podkowinski; reviewed by aweisberg for CASSANDRA-10816

Any IOException before this patch has just been logged to debug and
retried in case of outgoing connections. Any issues with SSL
certificates would only be reported in case the log level is set to
debug, which won't be the case on most clusters. The existing retry
loop for the outgoing connect() call would also not make much sense
in case of SSL handshake errors and cause unnecessary load while
constantly running into the same handshake error again.
2015-12-10 17:29:50 +01:00
Yuki Morishita fc675450e9 Merge branch 'cassandra-2.1' into cassandra-2.2 2015-09-29 12:00:24 -05:00
Yuki Morishita 4c6411f083 Fix dropping undroppable when message queue is full
patch by yukim; reviewed by Paulo Motta for CASSANDRA-10113
2015-09-29 12:00:01 -05:00
Paulo Motta 4a849efeb7 Add a separate production debug log for troubleshooting
patch by Paulo Motta; reviewed by Ariel Weisberg  for CASSANDRA-10241
2015-09-22 22:00:23 +02:00
Paulo Motta dd19a7fcfd Fix thrift_hsha_test dtest on Windows
Patch by pmotta; reviewed by jmckenzie for CASSANDRA-10076
2015-08-21 14:51:29 -04:00
Yuki Morishita 33e3af59f9 Fix broken internode SSL
patch by yukim; reviewed by Jason Brown for CASSANDRA-9884
2015-07-29 14:39:15 -05:00
Robert Stupp 14d7a63b8a Merge branch 'cassandra-2.1' into cassandra-2.2 2015-06-28 10:36:54 +02:00
Robert Stupp 8a56868bca Merge branch 'cassandra-2.0' into cassandra-2.1 2015-06-28 10:33:59 +02:00
Robert Stupp 353d4a052c Improve trace messages for RR
patch by Robert Stupp; reviewed by Jason Brown for CASSANDRA-9479
2015-06-28 10:24:34 +02:00
T Jake Luciani 7aafe053e7 Add Static Analysis to warn on unsafe use of Autocloseable instances
Patch by tjake and carlyeks, reviewed by benedict for CASSANDRA-9431
2015-05-27 17:53:26 -04:00
Robert Stupp 1a11d5239e Merge branch 'cassandra-2.1' into trunk 2015-04-29 18:53:30 +02:00
Robert Stupp 8322d18e1d Merge branch 'cassandra-2.0' into cassandra-2.1 2015-04-29 18:51:42 +02:00
sankalp kohli 58f25d526c IncomingTcpConnection thread is not named
Patch by Sankalp Kohli; Reviewed by Ariel Weisberg for CASSANDRA-9262
2015-04-29 18:48:30 +02:00
Ariel Weisberg 1caa4f9426 For C-8789, fix bug caught by Sylvain where 0 is provided as a version to MessageOut.payloadSize because the connection isn't complete 2015-04-07 18:09:07 +02:00
Ariel Weisberg 16499ca9b0 Constrain internode message buffer sizes, and improve IO class hierarchy
patch by ariel and benedict for CASSANDRA-8670
2015-03-31 17:28:15 +01:00
Dave Brosius 3e6fe8bd28 use parameterized logging 2015-03-30 21:16:13 -04:00
Benedict Elliott Smith 0e5e7d93be Merge branch 'cassandra-2.1' into trunk
Conflicts:
	src/java/org/apache/cassandra/config/Config.java
	src/java/org/apache/cassandra/config/DatabaseDescriptor.java
2015-03-18 10:39:32 +00:00
Ariel Weisberg 828496492c Introduce intra-cluster message coalescing
patch by ariel; reviewed by benedict for CASSANDRA-8692
2015-03-18 10:38:04 +00:00
Yuki Morishita 4adb981463 Generalize progress reporting
patch by yukim; reviewed by Josh McKenzie for CASSANDRA-8901
2015-03-10 14:17:31 -05:00
Brandon Williams 12997504bc Merge branch 'cassandra-2.1' into trunk 2015-02-26 10:30:32 -08:00
Brandon Williams 649a5cd12f warn when we won't connect to an older seed 2015-02-26 10:30:26 -08:00
Ben Chan f5866ca2ba Add repair tracing
Patch by Ben Chan; reviewed by jmckenzie for CASSANDRA-5483
2014-12-03 13:15:10 -06:00
Brandon Williams eb0424ecde don't block SocketThread for MessagingService
Patch by yangwei, reviewed by brandonwilliams for CASSANDRA-8188
2014-12-01 13:44:28 -06:00
Brandon Williams 399a4ecf9e Set socket timeout when reading remote version
Patch by wy96f, reviewed by Brandon Williams for CASSANDRA-8188
2014-11-03 14:42:03 -06:00
Joshua McKenzie f25da979f6 Shutdown JVM on file descriptor exhaustion
patch by jmckenzie, reviewed by marcuse for CASSANDRA-7579
2014-10-27 13:49:07 -05:00
Aleksey Yeschenko 9873960f3b Merge branch 'cassandra-2.0' into cassandra-2.1
Conflicts:
	CHANGES.txt
	src/java/org/apache/cassandra/net/IncomingTcpConnection.java
2014-10-07 18:43:41 +03:00
Aleksey Yeschenko f5a4321471 Record the real messaging version in all cases in OutboundTcpConnection
patch by Aleksey Yeschenko; reviewed by Piotr Kołaczkowski for
CASSANDRA-8057
2014-10-07 18:33:31 +03:00
Tyler Hobbs 948ae016f4 Fix tracing of concurrent range slices
Patch by Tyler Hobbs; review by Aleksey Yeschenko for CASSANDRA-7626
2014-07-30 15:58:26 -05:00
Jason Brown 66b3b2bf08 Merge branch 'cassandra-2.0' into cassandra-2.1
Conflicts:
	src/java/org/apache/cassandra/net/OutboundTcpConnection.java
2014-04-08 16:28:33 -07:00