You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Josh McKenzie (Jira)" <ji...@apache.org> on 2021/10/28 19:36:00 UTC

[jira] [Created] (CASSANDRA-17082) Make nodes more resilient to stale JSON files during startup

Josh McKenzie created CASSANDRA-17082:
-----------------------------------------

             Summary: Make nodes more resilient to stale JSON files during startup
                 Key: CASSANDRA-17082
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-17082
             Project: Cassandra
          Issue Type: Improvement
          Components: Local/Startup and Shutdown
            Reporter: Josh McKenzie
            Assignee: Josh McKenzie


There's a few things we can protect against being in the data dir on startup that might be around from older activity, tool usage, exports, etc:
a) file ending with *-old.json
b) file ending with *.json or *idx.json

A trivial update to the filter on SSTableHeaderFix.java should protect against hitting these types of files on startup and throwing.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org