Jan Karlsson created CASSANDRA-9657:
---------------------------------------

             Summary: Hint table doing unnecessary compaction
                 Key: CASSANDRA-9657
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9657
             Project: Cassandra
          Issue Type: Bug
         Environment: 2.1.7
            Reporter: Jan Karlsson
            Priority: Minor


I found some really strange behaviour. During the replay of a node I found this 
in the log:
{code}INFO [CompactionExecutor:7] CompactionTask.java:271 Compacted 1 sstables 
to 
[/var/lib/cassandra/data/system/hints-2666e20573ef38b390fefecf96e8f0c7/system-hints-ka-120,].
  452,150,727 bytes to 452,150,727 (~100% of original) in 267,588ms = 
1.611449MB/s.  1 total partitions merged to 1.  Partition merge counts were 
{1:1, }{code}

This happened multiple times until the hint replay was completed and the 
sstables were removed.

I tried to replicate this by just starting up a cluster in ccm and killing a 
node for a few minutes. I got the same behaviour then.
{Code}
INFO  [CompactionExecutor:2] CompactionTask.java:270 - Compacted 1 sstables to 
[/home/ejankan/.ccm/hint/node3/data/system/hints-2666e20573ef38b390fefecf96e8f0c7/system-hints-ka-2,].
  65,570 bytes to 65,570 (~100% of original) in 600ms = 0.104221MB/s.  1 total 
partitions merged to 1.  Partition merge counts were {1:1, }
{Code}

It seems weird to me that the file does not decrease in size.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to