Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Not A Problem
-
None
-
None
-
Normal
Description
While moving back from incremental repairs to full repairs (C* 2.2.12) we're setting all our sstables as "unrepaired" just like described here: https://docs.datastax.com/en/cassandra/2.1/cassandra/tools/toolsSSTableRepairedSet.html
So basically we're running sstablerepairedset against sstables. First we're creating sstables list:
find "/var/lib/cassandra/data/keyspace/" -iname "*Data.db*" > /var/lib/cassandra/sstables.txt
and afterwards:
/usr/bin/sstablerepairedset --really-set --is-unrepaired -f /var/lib/cassandra/sstables.txt
Unfortunately, operation is unfinished w/error:
root@host $ /usr/bin/sstablerepairedset --really-set --is-unrepaired -f /var/lib/cassandra/sstables.txt Exception in thread "main" java.io.FileNotFoundException: /var/lib/cassandra/data/keyspace/some-cf/tmp-lb-74-big-Statistics.db (No such file or directory) at java.io.FileOutputStream.open0(Native Method) at java.io.FileOutputStream.open(FileOutputStream.java:270) at java.io.FileOutputStream.<init>(FileOutputStream.java:213) at java.io.FileOutputStream.<init>(FileOutputStream.java:101) at org.apache.cassandra.io.sstable.metadata.MetadataSerializer.rewriteSSTableMetadata(MetadataSerializer.java:155) at org.apache.cassandra.io.sstable.metadata.MetadataSerializer.mutateRepairedAt(MetadataSerializer.java:148) at org.apache.cassandra.tools.SSTableRepairedAtSetter.main(SSTableRepairedAtSetter.java:92)
Afaik tmp-part of sstable is created for a compaction time. There is no single "tmp" part of sstables in our whole C* datadir.
Do you know any workaround for having those sstables marked as unrepaired?
Cheers,