[
https://issues.apache.org/jira/browse/HDDS-12723?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ethan Rose updated HDDS-12723:
------------------------------
Description: Volume DB is there per volume keeping all containers metadata
in that volume. If the DB cannot be opened or read at all, we should fail the
volume in the volume scan. This means none of the containers can be read. If
only part of the DB is corrupted and some/most keys can be read, the container
scanner will mark the corresponding containers as unhealthy. We should not drop
the whole volume in this case because we may unnecessarily remove healthy
copies. (was: Volume DB is there per volume keeping all containers metadata in
that volume. If volume db is failed / corrupted, the containers are not
accessible.
Volume checker unable to detect such failure and shows as valid.
As solution, Volume checker should verify volume db also, and if there is
failure, mark volume as failed so that container can be replicated.)
> Volume scanner should fail volume if rocksDB is inaccessible
> ------------------------------------------------------------
>
> Key: HDDS-12723
> URL: https://issues.apache.org/jira/browse/HDDS-12723
> Project: Apache Ozone
> Issue Type: Sub-task
> Reporter: Sumit Agrawal
> Assignee: Peter Lee
> Priority: Major
>
> Volume DB is there per volume keeping all containers metadata in that volume.
> If the DB cannot be opened or read at all, we should fail the volume in the
> volume scan. This means none of the containers can be read. If only part of
> the DB is corrupted and some/most keys can be read, the container scanner
> will mark the corresponding containers as unhealthy. We should not drop the
> whole volume in this case because we may unnecessarily remove healthy copies.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]