Repository: cassandra Updated Branches: refs/heads/trunk 4af23348e -> e0524c099
nodetool listsnapshots is missing local system keyspace snapshots Patch by Ariel Weisberg; Reviewed by Jay Zhuang for CASSANDRA-14381 Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/e0524c09 Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/e0524c09 Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/e0524c09 Branch: refs/heads/trunk Commit: e0524c099e0b59cccfd1a9cb9424147cfd001a32 Parents: 4af2334 Author: Ariel Weisberg <[email protected]> Authored: Tue Apr 17 12:40:51 2018 -0400 Committer: Ariel Weisberg <[email protected]> Committed: Fri Apr 20 11:51:05 2018 -0400 ---------------------------------------------------------------------- CHANGES.txt | 1 + src/java/org/apache/cassandra/service/StorageService.java | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cassandra/blob/e0524c09/CHANGES.txt ---------------------------------------------------------------------- diff --git a/CHANGES.txt b/CHANGES.txt index 5902305..0e15a8d 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,4 +1,5 @@ 4.0 + * nodetool listsnapshots is missing local system keyspace snapshots (CASSANDRA-14381) * Remove StreamCoordinator.streamExecutor thread pool (CASSANDRA-14402) * Rename nodetool --with-port to --print-port to disambiguate from --port (CASSANDRA-14392) * Client TOPOLOGY_CHANGE messages have wrong port. (CASSANDRA-14398) http://git-wip-us.apache.org/repos/asf/cassandra/blob/e0524c09/src/java/org/apache/cassandra/service/StorageService.java ---------------------------------------------------------------------- diff --git a/src/java/org/apache/cassandra/service/StorageService.java b/src/java/org/apache/cassandra/service/StorageService.java index 4f62dd5..de5d62b 100644 --- a/src/java/org/apache/cassandra/service/StorageService.java +++ b/src/java/org/apache/cassandra/service/StorageService.java @@ -3484,9 +3484,6 @@ public class StorageService extends NotificationBroadcasterSupport implements IE Map<String, TabularData> snapshotMap = new HashMap<>(); for (Keyspace keyspace : Keyspace.all()) { - if (SchemaConstants.isLocalSystemKeyspace(keyspace.getName())) - continue; - for (ColumnFamilyStore cfStore : keyspace.getColumnFamilyStores()) { for (Map.Entry<String, Directories.SnapshotSizeDetails> snapshotDetail : cfStore.getSnapshotDetails().entrySet()) --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
