[ 
https://issues.apache.org/jira/browse/HDDS-10212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wei-Chiu Chuang reassigned HDDS-10212:
--------------------------------------

    Assignee: Sadanand Shenoy  (was: 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: Sadanand Shenoy
>            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-unsubscr...@ozone.apache.org
For additional commands, e-mail: issues-h...@ozone.apache.org

Reply via email to