From c3ce32e239b1ba41faf1d58a942465b9bf45b986 Mon Sep 17 00:00:00 2001 From: Blake Eggleston Date: Thu, 21 Mar 2019 13:01:49 -0700 Subject: [PATCH] Fix assorted gossip races and add related runtime checks Patch by Blake Eggleston; Reviewed by Ariel Weisberg for CASSANDRA-15059 --- CHANGES.txt | 1 + build.xml | 1 + ide/idea/workspace.xml | 2 +- .../cassandra/config/DatabaseDescriptor.java | 8 + .../org/apache/cassandra/gms/Gossiper.java | 192 ++++++++++++------ .../cassandra/service/StorageService.java | 10 +- .../cassandra/distributed/impl/Instance.java | 21 +- .../apache/cassandra/gms/GossiperTest.java | 1 + .../PendingRangeCalculatorServiceTest.java | 1 + .../locator/CloudstackSnitchTest.java | 1 + .../cassandra/locator/EC2SnitchTest.java | 1 + .../locator/GoogleCloudSnitchTest.java | 1 + .../locator/PropertyFileSnitchTest.java | 1 + 13 files changed, 170 insertions(+), 71 deletions(-) diff --git a/CHANGES.txt b/CHANGES.txt index 4f76c70bdf..596d90223d 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,4 +1,5 @@ 3.0.19 + * Fix assorted gossip races and add related runtime checks (CASSANDRA-15059) * Fix mixed mode partition range scans with limit (CASSANDRA-15072) * cassandra-stress works with frozen collections: list and set (CASSANDRA-14907) * For nodetool listsnapshots output, put spaces between columns, and increase snapshot padding (CASSANDRA-14876) diff --git a/build.xml b/build.xml index 593b1c39d3..8ef8c67b63 100644 --- a/build.xml +++ b/build.xml @@ -1224,6 +1224,7 @@ + diff --git a/ide/idea/workspace.xml b/ide/idea/workspace.xml index e632b5f040..3424af3f00 100644 --- a/ide/idea/workspace.xml +++ b/ide/idea/workspace.xml @@ -168,7 +168,7 @@