This is an automated email from the ASF dual-hosted git repository.

brandonwilliams pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra.git

commit eacdfc4978547b8e7be06c9ba9611c29963e6cc2
Merge: 7cdad3c 4f50a67
Author: Brandon Williams <[email protected]>
AuthorDate: Tue Jun 16 12:37:15 2020 -0500

    Merge branch 'cassandra-3.11' into trunk

 CHANGES.txt                                        |  1 +
 .../apache/cassandra/service/CassandraDaemon.java  |  3 ++-
 .../apache/cassandra/service/StorageService.java   | 30 ++++++++++++++--------
 3 files changed, 23 insertions(+), 11 deletions(-)

diff --cc CHANGES.txt
index 5f09cdc,0f730d4..e6ecb42
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@@ -1,49 -1,10 +1,50 @@@
 -3.11.7
 +4.0-alpha5
 + * Fix missing topology events when running multiple nodes on the same 
network interface (CASSANDRA-15677)
 + * Create config.yml.MIDRES (CASSANDRA-15712)
 + * Fix handling of fully purged static rows in repaired data tracking 
(CASSANDRA-15848)
 + * Prevent validation request submission from blocking ANTI_ENTROPY stage 
(CASSANDRA-15812)
 + * Add fqltool and auditlogviewer to rpm and deb packages (CASSANDRA-14712)
 + * Include DROPPED_COLUMNS in schema digest computation (CASSANDRA-15843)
 + * Fix Cassandra restart from rpm install (CASSANDRA-15830)
 + * Improve handling of 2i initialization failures (CASSANDRA-13606)
 + * Add completion_ratio column to sstable_tasks virtual table (CASANDRA-15759)
 + * Add support for adding custom Verbs (CASSANDRA-15725)
 + * Speed up entire-file-streaming file containment check and allow 
entire-file-streaming for all compaction strategies 
(CASSANDRA-15657,CASSANDRA-15783)
 + * Provide ability to configure IAuditLogger (CASSANDRA-15748)
 + * Fix nodetool enablefullquerylog blocking param parsing (CASSANDRA-15819)
 + * Add isTransient to SSTableMetadataView (CASSANDRA-15806)
 + * Fix tools/bin/fqltool for all shells (CASSANDRA-15820)
 + * Fix clearing of legacy size_estimates (CASSANDRA-15776)
 + * Update port when reconnecting to pre-4.0 SSL storage (CASSANDRA-15727)
 + * Only calculate dynamicBadnessThreshold once per loop in 
DynamicEndpointSnitch (CASSANDRA-15798)
 + * Cleanup redundant nodetool commands added in 4.0 (CASSANDRA-15256)
 + * Update to Python driver 3.23 for cqlsh (CASSANDRA-15793)
 + * Add tunable initial size and growth factor to RangeTombstoneList 
(CASSANDRA-15763)
 + * Improve debug logging in SSTableReader for index summary (CASSANDRA-15755)
 + * bin/sstableverify should support user provided token ranges 
(CASSANDRA-15753)
 + * Improve logging when mutation passed to commit log is too large 
(CASSANDRA-14781)
 + * replace LZ4FastDecompressor with LZ4SafeDecompressor (CASSANDRA-15560)
 + * Fix buffer pool NPE with concurrent release due to in-progress tiny pool 
eviction (CASSANDRA-15726)
 + * Avoid race condition when completing stream sessions (CASSANDRA-15666)
 + * Flush with fast compressors by default (CASSANDRA-15379)
 + * Fix CqlInputFormat regression from the switch to system.size_estimates 
(CASSANDRA-15637)
 + * Allow sending Entire SSTables over SSL (CASSANDRA-15740)
 + * Fix CQLSH UTF-8 encoding issue for Python 2/3 compatibility 
(CASSANDRA-15739)
 + * Fix batch statement preparation when multiple tables and parameters are 
used (CASSANDRA-15730)
 + * Fix regression with traceOutgoingMessage printing message size 
(CASSANDRA-15687)
 + * Ensure repaired data tracking reads a consistent amount of data across 
replicas (CASSANDRA-15601)
 + * Fix CQLSH to avoid arguments being evaluated (CASSANDRA-15660)
 + * Correct Visibility and Improve Safety of Methods in LatencyMetrics 
(CASSANDRA-15597)
 + * Allow cqlsh to run with Python2.7/Python3.6+ 
(CASSANDRA-15659,CASSANDRA-15573)
 + * Improve logging around incremental repair (CASSANDRA-15599)
 + * Do not check cdc_raw_directory filesystem space if CDC disabled 
(CASSANDRA-15688)
 + * Replace array iterators with get by index (CASSANDRA-15394)
 + * Minimize BTree iterator allocations (CASSANDRA-15389)
 +Merged from 3.11:
   * Fix CQL formatting of read command restrictions for slow query log 
(CASSANDRA-15503)
 - * Allow sstableloader to use SSL on the native port (CASSANDRA-14904)
  Merged from 3.0:
+  * Catch exception on bootstrap resume and init native transport 
(CASSANDRA-15863)
   * Fix replica-side filtering returning stale data with CL > ONE 
(CASSANDRA-8272, CASSANDRA-8273)
 - * Fix duplicated row on 2.x upgrades when multi-rows range tombstones 
interact with collection ones (CASSANDRA-15805)
   * Rely on snapshotted session infos on StreamResultFuture.maybeComplete to 
avoid race conditions (CASSANDRA-15667)
   * EmptyType doesn't override writeValue so could attempt to write bytes when 
expected not to (CASSANDRA-15790)
   * Fix index queries on partition key columns when some partitions contains 
only static data (CASSANDRA-13666)
diff --cc src/java/org/apache/cassandra/service/CassandraDaemon.java
index 2dbe217,1f93262..c7591d5
--- a/src/java/org/apache/cassandra/service/CassandraDaemon.java
+++ b/src/java/org/apache/cassandra/service/CassandraDaemon.java
@@@ -438,35 -450,10 +438,36 @@@ public class CassandraDaemo
      public void initializeNativeTransport()
      {
          // Native transport
-         nativeTransportService = new NativeTransportService();
+         if (nativeTransportService == null)
+             nativeTransportService = new NativeTransportService();
      }
  
 +    @VisibleForTesting
 +    public static void uncaughtException(Thread t, Throwable e)
 +    {
 +        StorageMetrics.uncaughtExceptions.inc();
 +        logger.error("Exception in thread " + t, e);
 +        Tracing.trace("Exception in thread {}", t, e);
 +        for (Throwable e2 = e; e2 != null; e2 = e2.getCause())
 +        {
 +            JVMStabilityInspector.inspectThrowable(e2);
 +
 +            if (e2 instanceof FSError)
 +            {
 +                if (e2 != e) // make sure FSError gets logged exactly once.
 +                    logger.error("Exception in thread " + t, e2);
 +                FileUtils.handleFSError((FSError) e2);
 +            }
 +
 +            if (e2 instanceof CorruptSSTableException)
 +            {
 +                if (e2 != e)
 +                    logger.error("Exception in thread " + t, e2);
 +                FileUtils.handleCorruptSSTable((CorruptSSTableException) e2);
 +            }
 +        }
 +    }
 +
      /*
       * Asynchronously load the row and key cache in one off threads and 
return a compound future of the result.
       * Error handling is pushed into the cache load since cache loads are 
allowed to fail and are handled by logging.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to