[ https://issues.apache.org/jira/browse/CASSANDRA-17082?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17435642#comment-17435642 ]
Josh McKenzie commented on CASSANDRA-17082: ------------------------------------------- [Branch|https://github.com/apache/cassandra/compare/trunk...josh-mckenzie:cassandra-17082?expand=1] Super trivial and changes the filter on processFileOrDirectory to tolerate failed Descriptor.fromFilenameWithComponent calls; not sure it's worth the resources to run the test suite against this (and get the barrage of known failures... /grumble) > 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 > Priority: Normal > Fix For: 4.x > > > 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 on a 3.x > -> 4.x update: > 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-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org