Ethan Rose created HDDS-8115:
--------------------------------
Summary: Do not use deleted block count to determine if containers
are empty
Key: HDDS-8115
URL: https://issues.apache.org/jira/browse/HDDS-8115
Project: Apache Ozone
Issue Type: Sub-task
Reporter: Ethan Rose
Assignee: Ethan Rose
Ozone currently uses a block count metadata field for each container replica to
determine whether it is empty. This counter can be incorrect in some cases and
is difficult to maintain. It is only used to determine whether the container is
empty. In this case, it would be simpler to have a an isEmpty boolean for each
container that starts as {{false}} and is set to {{true}} when a delete block
is processed and the block table is empty.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]