[ https://issues.apache.org/jira/browse/CASSANDRA-20150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17913029#comment-17913029 ]
Stefan Miklosovic commented on CASSANDRA-20150: ----------------------------------------------- Thanks I will get the builds going. I will build all 20149 up to 20151 and merge it at once (but each as individual commit). > Create snapshot manifest upon loading where it does not exist or enrich it > -------------------------------------------------------------------------- > > Key: CASSANDRA-20150 > URL: https://issues.apache.org/jira/browse/CASSANDRA-20150 > Project: Apache Cassandra > Issue Type: Improvement > Components: Local/Snapshots > Reporter: Stefan Miklosovic > Assignee: Stefan Miklosovic > Priority: Normal > Fix For: 5.x > > Time Spent: 2h > Remaining Estimate: 0h > > In 4.0 times, there was no snapshot manifest created. When such > node is upgraded to 5.1, no snapshots would be found, because even > they would be loaded, snapshot's presence is logically determined by the > existence of at least one manifest.json file in any data dir. That > would result in snapshots not being shown e.g. in the output of > nodetool listsnapshots. > > The fix consists of creating a manifest in each snapshot directory when > not present. > > When a manifest.json exists, its older format has not contained > created_at field. > When this is detected, we will proceed to enrich such manifest by > overwriting it > with a manifest of new format. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org