[ 
https://issues.apache.org/jira/browse/CASSANDRA-17082?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17451378#comment-17451378
 ] 

Caleb Rackliffe commented on CASSANDRA-17082:
---------------------------------------------

+1 w/ one nit...

{noformat}
logger.info("Couldn't parse filename {}, ignoring", p.toString());
{noformat}
...can be...
{noformat}
logger.info("Couldn't parse filename {}, ignoring", p);
{noformat}

> 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.20.1#820001)

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

Reply via email to