cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbel...@apache.org
Subject [1/4] git commit: add back droppable tombstones metadata to 1.2
Date Wed, 02 May 2012 19:42:17 GMT
Updated Branches:
  refs/heads/cassandra-1.1 606e666f8 -> bf9a72265
  refs/heads/trunk 1d86bd40a -> 087f902d6


add back droppable tombstones metadata to 1.2


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/087f902d
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/087f902d
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/087f902d

Branch: refs/heads/trunk
Commit: 087f902d6e03af46d77f2a3c1af535ab776de867
Parents: c66b072
Author: Jonathan Ellis <jbellis@apache.org>
Authored: Wed May 2 14:41:18 2012 -0500
Committer: Jonathan Ellis <jbellis@apache.org>
Committed: Wed May 2 14:41:18 2012 -0500

----------------------------------------------------------------------
 .../cassandra/tools/SSTableMetadataViewer.java     |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/087f902d/src/java/org/apache/cassandra/tools/SSTableMetadataViewer.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/tools/SSTableMetadataViewer.java b/src/java/org/apache/cassandra/tools/SSTableMetadataViewer.java
index eba90c4..13b491c 100644
--- a/src/java/org/apache/cassandra/tools/SSTableMetadataViewer.java
+++ b/src/java/org/apache/cassandra/tools/SSTableMetadataViewer.java
@@ -50,6 +50,7 @@ public class SSTableMetadataViewer
             out.printf("Partitioner: %s\n", metadata.partitioner);
             out.printf("Maximum timestamp: %s\n", metadata.maxTimestamp);
             out.printf("Compression ratio: %s\n", metadata.compressionRatio);
+            out.printf("Estimated droppable tombstones: %s\n", metadata.getEstimatedDroppableTombstoneRatio((int)
(System.currentTimeMillis() / 1000)));
             out.println(metadata.replayPosition);
             printHistograms(metadata, out);
         }


Mime
View raw message