cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From marc...@apache.org
Subject [01/18] cassandra git commit: Include SSTable path in compacting large row message
Date Fri, 21 Oct 2016 07:15:36 GMT
Repository: cassandra
Updated Branches:
  refs/heads/cassandra-2.1 83ae5f339 -> f7ded1c59
  refs/heads/cassandra-2.2 4eed687d3 -> a370409c8
  refs/heads/cassandra-3.0 8b04ec908 -> 7976d65af
  refs/heads/cassandra-3.X f51ee61f9 -> 575927b1e
  refs/heads/trunk 456c0280e -> 2e15fc37f


Include SSTable path in compacting large row message

Patch by Sankalp Kohli; Reviewed by Nate McCall for CASSANDRA-12384


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

Branch: refs/heads/cassandra-3.X
Commit: 8b04ec908854f8301533107b81e7508de993b671
Parents: 4ba91cd
Author: Nate McCall <zznate.m@gmail.com>
Authored: Fri Oct 21 15:00:50 2016 +1300
Committer: Nate McCall <zznate.m@gmail.com>
Committed: Fri Oct 21 15:00:50 2016 +1300

----------------------------------------------------------------------
 CHANGES.txt                                                        | 1 +
 .../org/apache/cassandra/io/sstable/format/big/BigTableWriter.java | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/8b04ec90/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 82348d5..b309e96 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,4 +1,5 @@
 3.0.10
+ * Include SSTable filename in compacting large row message (CASSANDRA-12384)
  * Fix potential socket leak (CASSANDRA-12329, CASSANDRA-12330)
  * Fix ViewTest.testCompaction (CASSANDRA-12789)
  * Improve avg aggregate functions (CASSANDRA-12417)

http://git-wip-us.apache.org/repos/asf/cassandra/blob/8b04ec90/src/java/org/apache/cassandra/io/sstable/format/big/BigTableWriter.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/io/sstable/format/big/BigTableWriter.java b/src/java/org/apache/cassandra/io/sstable/format/big/BigTableWriter.java
index d3630d7..0d500c1 100644
--- a/src/java/org/apache/cassandra/io/sstable/format/big/BigTableWriter.java
+++ b/src/java/org/apache/cassandra/io/sstable/format/big/BigTableWriter.java
@@ -168,7 +168,7 @@ public class BigTableWriter extends SSTableWriter
         if (rowSize > DatabaseDescriptor.getCompactionLargePartitionWarningThreshold())
         {
             String keyString = metadata.getKeyValidator().getString(key.getKey());
-            logger.warn("Writing large partition {}/{}:{} ({} bytes)", metadata.ksName, metadata.cfName,
keyString, rowSize);
+            logger.warn("Writing large partition {}/{}:{} ({} bytes to sstable {}) ", metadata.ksName,
metadata.cfName, keyString, rowSize, getFilename());
         }
     }
 


Mime
View raw message