Repository: cassandra
Updated Branches:
  refs/heads/trunk 3891598e6 -> 714703a08


Fix sstablemetadata date string for minLocalDeletionTime

patch by Vince White; reviewed by jasobrown for CASSANDRA-14132


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

Branch: refs/heads/trunk
Commit: 714703a08dfb965df40f4dad6ba83196ff95156f
Parents: 3891598
Author: Vincent White <vi...@instaclustr.com>
Authored: Thu Dec 21 00:25:28 2017 +0000
Committer: Jason Brown <jasedbr...@gmail.com>
Committed: Fri Feb 9 04:47:39 2018 -0800

----------------------------------------------------------------------
 CHANGES.txt                                                    | 1 +
 src/java/org/apache/cassandra/tools/SSTableMetadataViewer.java | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/714703a0/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index c7c1b6f..e860265 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,4 +1,5 @@
 4.0
+ * Fix sstablemetadata date string for minLocalDeletionTime (CASSANDRA-14132)
  * Make it possible to change neverPurgeTombstones during runtime 
(CASSANDRA-14214)
  * Remove GossipDigestSynVerbHandler#doSort() (CASSANDRA-14174)
  * Add nodetool clientlist (CASSANDRA-13665)

http://git-wip-us.apache.org/repos/asf/cassandra/blob/714703a0/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 5a8a0bc..8ff964f 100755
--- a/src/java/org/apache/cassandra/tools/SSTableMetadataViewer.java
+++ b/src/java/org/apache/cassandra/tools/SSTableMetadataViewer.java
@@ -425,7 +425,7 @@ public class SSTableMetadataViewer
             field("EncodingStats minTTL", encodingStats.minTTL,
                     toDurationString(encodingStats.minTTL, TimeUnit.SECONDS));
             field("EncodingStats minLocalDeletionTime", 
encodingStats.minLocalDeletionTime,
-                    toDateString(encodingStats.minLocalDeletionTime, 
TimeUnit.MILLISECONDS));
+                    toDateString(encodingStats.minLocalDeletionTime, 
TimeUnit.SECONDS));
             field("EncodingStats minTimestamp", encodingStats.minTimestamp,
                     toDateString(encodingStats.minTimestamp, tsUnit));
             field("KeyType", keyType.toString());


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to