You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Stefan Miklosovic (Jira)" <ji...@apache.org> on 2024/12/18 14:07:00 UTC
[jira] [Updated] (CASSANDRA-20150) Create snapshot manifest upon loading where it does not exist or enrich it
[ https://issues.apache.org/jira/browse/CASSANDRA-20150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stefan Miklosovic updated CASSANDRA-20150:
------------------------------------------
Summary: Create snapshot manifest upon loading where it does not exist or enrich it (was: Create manifest upon loading where it does not exist or enrich it)
> 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: 10m
> 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-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org