[
https://issues.apache.org/jira/browse/CASSANDRA-20150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stefan Miklosovic updated CASSANDRA-20150:
------------------------------------------
Description:
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.
> Create 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
>
> 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: [email protected]
For additional commands, e-mail: [email protected]