You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Hemant Kumar (Jira)" <ji...@apache.org> on 2023/08/08 20:50:00 UTC

[jira] [Created] (HDDS-9135) Snapshot deletion and SST filtering service synchronization

Hemant Kumar created HDDS-9135:
----------------------------------

             Summary: Snapshot deletion and SST filtering service synchronization
                 Key: HDDS-9135
                 URL: https://issues.apache.org/jira/browse/HDDS-9135
             Project: Apache Ozone
          Issue Type: Sub-task
            Reporter: Hemant Kumar


To fix [HDDS-9126|https://issues.apache.org/jira/browse/HDDS-9126], we added and used *isSstFiltered* flag to achieve synchronization between snapshot deletion and SST filtering service.
First of all, there is no need to achieve to synchronization in theory and we should just use active snapshot check because in worst case scenario SST filtering service will fail for the snapshot and in next snapshot run it will be skipped because snapshot is deleted.
If the above doesn't work and it ends up in memory leaking or inconsistence DB state, we should use locking for snapshot background services (not the same lock we used to snapshot APIs) instead of using *isSstFiltered*. Same locking mechanism can be use to synchronize new background service related to snapshot gets added.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org