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 2024/04/11 21:15:00 UTC
[jira] [Assigned] (HDDS-10212) Add a configurable limit on number of open snapshots concurrently
[ https://issues.apache.org/jira/browse/HDDS-10212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hemant Kumar reassigned HDDS-10212:
-----------------------------------
Assignee: Swaminathan Balachandran
> Add a configurable limit on number of open snapshots concurrently
> -----------------------------------------------------------------
>
> Key: HDDS-10212
> URL: https://issues.apache.org/jira/browse/HDDS-10212
> Project: Apache Ozone
> Issue Type: Sub-task
> Reporter: Hemant Kumar
> Assignee: Swaminathan Balachandran
> Priority: Major
>
> Currently, there is no limit on number of snapshots open. User can open as many snapshots as they want. We limit the number of snapshot diff jobs running but that doesn't guarantee on number of open snapshots because client can perform read operations on snapshots independently.
> This task is to add the configurable limit on number of snapshot possibly in snapshotCache. And reject the *SnapshotCache#get()* if SnapshotCache reaches to this limit.
> One thing to keep in mind that this limit should not impact background services like {*}KeyDeletingService{*}, *SnapshotDirCleanUpService* etc, otherwise these operation may not succeed for the long time.
> e.g. let’s say snapshot cache limit is 1000 and 995 snapshots are open and in used by clients for read operations or snapshot diff. GC kicks in and it needs to move certain keys and for that it needs to opens more than 5 snapshots. It will fails the run and possible subsequent run as well if it can open needed snapshots till SnapshotCache.
--
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