[
https://issues.apache.org/jira/browse/CASSANDRA-8616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14276283#comment-14276283
]
Russ Hatch commented on CASSANDRA-8616:
---------------------------------------
Same goes for 2.1
{noformat}
root@e69321a30198:/cassandra# ls -ltr data/commitlog/
total 262144
-rw-r--r-- 1 root root 33554432 Jan 14 00:37 CommitLog-4-1421195804516.log
-rw-r--r-- 1 root root 33554432 Jan 14 00:38 CommitLog-4-1421195804525.log
-rw-r--r-- 1 root root 33554432 Jan 14 00:38 CommitLog-4-1421195804530.log
-rw-r--r-- 1 root root 33554432 Jan 14 00:38 CommitLog-4-1421195804529.log
-rw-r--r-- 1 root root 33554432 Jan 14 00:38 CommitLog-4-1421195804528.log
-rw-r--r-- 1 root root 33554432 Jan 14 00:38 CommitLog-4-1421195804531.log
-rw-r--r-- 1 root root 33554432 Jan 14 00:38 CommitLog-4-1421195804526.log
-rw-r--r-- 1 root root 33554432 Jan 14 00:38 CommitLog-4-1421195804527.log
root@e69321a30198:/cassandra# ls -ltr data/commitlog/ | wc -l
9
root@e69321a30198:/cassandra# tools/bin/sstable2json
data/data/keyspace1/standard1-85148e309b8511e4b94691de6f1c3a1d/keyspace1-standard1-ka-1-Data.db
> /dev/null
root@e69321a30198:/cassandra# ls -ltr data/commitlog/
total 262148
-rw-r--r-- 1 root root 33554432 Jan 14 00:37 CommitLog-4-1421195804516.log
-rw-r--r-- 1 root root 33554432 Jan 14 00:38 CommitLog-4-1421195804525.log
-rw-r--r-- 1 root root 33554432 Jan 14 00:38 CommitLog-4-1421195804530.log
-rw-r--r-- 1 root root 33554432 Jan 14 00:38 CommitLog-4-1421195804529.log
-rw-r--r-- 1 root root 33554432 Jan 14 00:38 CommitLog-4-1421195804528.log
-rw-r--r-- 1 root root 33554432 Jan 14 00:38 CommitLog-4-1421195804531.log
-rw-r--r-- 1 root root 33554432 Jan 14 00:38 CommitLog-4-1421195804526.log
-rw-r--r-- 1 root root 33554432 Jan 14 00:38 CommitLog-4-1421195804527.log
-rw-r--r-- 1 root root 33554432 Jan 14 00:42 CommitLog-4-1421196133229.log
root@e69321a30198:/cassandra# ls -ltr data/commitlog/ | wc -l
10
{noformat}
> sstable2json may result in commit log segments be written
> ---------------------------------------------------------
>
> Key: CASSANDRA-8616
> URL: https://issues.apache.org/jira/browse/CASSANDRA-8616
> Project: Cassandra
> Issue Type: Bug
> Components: Tools
> Reporter: Tyler Hobbs
> Assignee: Russ Hatch
> Fix For: 2.0.13
>
>
> There was a report of sstable2json causing commitlog segments to be written
> out when run. I haven't attempted to reproduce this yet, so that's all I
> know for now. Since sstable2json loads the conf and schema, I'm thinking
> that it may inadvertently be triggering the commitlog code.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)