Supratim Deka created HDDS-1229:
-----------------------------------
Summary: Concurrency issues with Background Block Delete
Key: HDDS-1229
URL: https://issues.apache.org/jira/browse/HDDS-1229
Project: Hadoop Distributed Data Store
Issue Type: Sub-task
Components: Ozone Datanode
Reporter: Supratim Deka
HDDS-1163 takes a simplistic approach to deal with concurrent block deletes on
a container,
when the metadata scanner is checking existence of chunks for each block in the
Container Block DB.
As part of HDDS-1663 checkBlockDB() just does a retry if any inconsistency is
detected during a concurrency window. The retry is expected to succeed because
the new DB iterator will not include any of the blocks being processed by the
concurrent background delete. If retry fails, then the inconsistency is ignored
expecting the next iteration of the metadata scanner will avoid running
concurrently with the same container.
This Jira is raised to explore a more predictable (yet simple) mechanism to
deal with this concurrency.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]