Hemant Kumar created HDDS-11137:
-----------------------------------
Summary: Remove the locks from SnapshotPurge and
SnapshotSetProperty APIs
Key: HDDS-11137
URL: https://issues.apache.org/jira/browse/HDDS-11137
Project: Apache Ozone
Issue Type: Sub-task
Components: OM
Reporter: Hemant Kumar
In HDDS-10590, we introduce the locks to achieve synchronization among snapshot
purge, set snapshot property, and SSTFilteringService because they are updating
the snapshotInfo table and might be causing the snapshot chain corruption
because SSTFilteringService doesn't go through Ratis.
In HDDS-11068, we found that the snapshot chain corruption issue still exists
even after the locks. And the actual reason is that SSTFilteringService
directly updates the DB and persists it. More details in HDDS-11068.
Once we move sstFiltered flag out of snapshotInfoTable, we need to revisit the
need for locks. We might not need locks after that and just rely on
applyTransaction which is single threaded.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]