[ https://issues.apache.org/jira/browse/CASSANDRA-17215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17460672#comment-17460672 ]
Brandon Williams edited comment on CASSANDRA-17215 at 12/16/21, 12:45 PM: -------------------------------------------------------------------------- Snapshot just hard links all the files in the directory. You need to investigate the cause of why that file has such a different timestamp, as a) that doesn't really make sense in normal operation and b) the file probably wasn't there when you snapshotted. was (Author: brandon.williams): Snapshot just hard link all the files in the directory. You need to investigate the cause of why that file has such a different timestamp, as a) that doesn't really make sense in normal operation and b) the file probably wasn't there when you snapshotted. > nodetool snapshot not copying .TOC file fir a sstable > ----------------------------------------------------- > > Key: CASSANDRA-17215 > URL: https://issues.apache.org/jira/browse/CASSANDRA-17215 > Project: Cassandra > Issue Type: Bug > Components: Tool/nodetool, Tool/sstable > Reporter: NISHANT GUPTA > Priority: Normal > > In apache cassandra 4.0, I am seeing that nodetool snapshot is not copying > the TOC file for one of the sstable. The one difference with this sstable is > that time stamp of the TOC file for the problematic sstable is 13 min past > rest of the files. > -rw-rw-r-- 2 cassandra4 cassandra4 47 Dec 15 16:32 > /home/cassandra4/apache-cassandra-4.0.1/data/data/nishant/employee-932e34204cf511ecad596bbf203e140e/nb-3-big-CompressionInfo.db > -rw-rw-r-- 2 cassandra4 cassandra4 64 Dec 15 16:32 > /home/cassandra4/apache-cassandra-4.0.1/data/data/nishant/employee-932e34204cf511ecad596bbf203e140e/nb-3-big-Data.db > -rw-rw-r-- 2 cassandra4 cassandra4 10 Dec 15 16:32 > /home/cassandra4/apache-cassandra-4.0.1/data/data/nishant/employee-932e34204cf511ecad596bbf203e140e/nb-3-big-Digest.crc32 > -rw-rw-r-- 2 cassandra4 cassandra4 16 Dec 15 16:32 > /home/cassandra4/apache-cassandra-4.0.1/data/data/nishant/employee-932e34204cf511ecad596bbf203e140e/nb-3-big-Filter.db > -rw-rw-r-- 2 cassandra4 cassandra4 16 Dec 15 16:32 > /home/cassandra4/apache-cassandra-4.0.1/data/data/nishant/employee-932e34204cf511ecad596bbf203e140e/nb-3-big-Index.db > -rw-rw-r-- 2 cassandra4 cassandra4 4763 Dec 15 16:32 > /home/cassandra4/apache-cassandra-4.0.1/data/data/nishant/employee-932e34204cf511ecad596bbf203e140e/nb-3-big-Statistics.db > -rw-rw-r-- 2 cassandra4 cassandra4 56 Dec 15 16:32 > /home/cassandra4/apache-cassandra-4.0.1/data/data/nishant/employee-932e34204cf511ecad596bbf203e140e/nb-3-big-Summary.db > *-rw-rw-r-- 1 cassandra4 cassandra4 92 Dec 15 16:45 > /home/cassandra4/apache-cassandra-4.0.1/data/data/nishant/employee-932e34204cf511ecad596bbf203e140e/nb-3-big-TOC.txt* > After taking the snapshot with command "~/apache-cassandra-4.0.1/bin/nodetool > snapshot -t exp_cas4_new nishant", the content of this sstable snapshot is as > follows: > -rw-rw-r-- 2 cassandra4 cassandra4 47 Dec 15 16:32 > /home/cassandra4/apache-cassandra-4.0.1/data/data/nishant/employee-932e34204cf511ecad596bbf203e140e/snapshots/exp_cas4_new/nb-3-big-CompressionInfo.db > -rw-rw-r-- 2 cassandra4 cassandra4 64 Dec 15 16:32 > /home/cassandra4/apache-cassandra-4.0.1/data/data/nishant/employee-932e34204cf511ecad596bbf203e140e/snapshots/exp_cas4_new/nb-3-big-Data.db > -rw-rw-r-- 2 cassandra4 cassandra4 10 Dec 15 16:32 > /home/cassandra4/apache-cassandra-4.0.1/data/data/nishant/employee-932e34204cf511ecad596bbf203e140e/snapshots/exp_cas4_new/nb-3-big-Digest.crc32 > -rw-rw-r-- 2 cassandra4 cassandra4 16 Dec 15 16:32 > /home/cassandra4/apache-cassandra-4.0.1/data/data/nishant/employee-932e34204cf511ecad596bbf203e140e/snapshots/exp_cas4_new/nb-3-big-Filter.db > -rw-rw-r-- 2 cassandra4 cassandra4 16 Dec 15 16:32 > /home/cassandra4/apache-cassandra-4.0.1/data/data/nishant/employee-932e34204cf511ecad596bbf203e140e/snapshots/exp_cas4_new/nb-3-big-Index.db > -rw-rw-r-- 2 cassandra4 cassandra4 4763 Dec 15 16:32 > /home/cassandra4/apache-cassandra-4.0.1/data/data/nishant/employee-932e34204cf511ecad596bbf203e140e/snapshots/exp_cas4_new/nb-3-big-Statistics.db > -rw-rw-r-- 2 cassandra4 cassandra4 56 Dec 15 16:32 > /home/cassandra4/apache-cassandra-4.0.1/data/data/nishant/employee-932e34204cf511ecad596bbf203e140e/snapshots/exp_cas4_new/nb-3-big-Summary.db > All the other sstables have their TOC files present. -- This message was sent by Atlassian Jira (v8.20.1#820001) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org