You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Siyao Meng (Jira)" <ji...@apache.org> on 2023/03/02 03:21:00 UTC
[jira] [Updated] (HDDS-7950) Add continuation token, page size and diff response to support Snapdiff pagination
[ https://issues.apache.org/jira/browse/HDDS-7950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Siyao Meng updated HDDS-7950:
-----------------------------
Status: Patch Available (was: Open)
> Add continuation token, page size and diff response to support Snapdiff pagination
> ----------------------------------------------------------------------------------
>
> Key: HDDS-7950
> URL: https://issues.apache.org/jira/browse/HDDS-7950
> Project: Apache Ozone
> Issue Type: Sub-task
> Reporter: Hemant Kumar
> Assignee: Hemant Kumar
> Priority: Major
> Labels: pull-request-available
>
> +*API change #1:*+
> To Support Partial SnapshotDiff and pagination, we need to add new parameters continuation token and page size and pass them till *OmSnapshotManager* and response to client appropriately.
> *+API change #2:+*
> Snapshot diff API is synchronous API and diff report generation could long time. It is possible the client request timeout before diff report gets generated.
> To solve this, client submits the request, we can spawn a background thread to generate the diff and return the client that job has been queued and wait for sometime before retrying.
> For this, we need to add Job Status and wait time in the SnapshotDiffResponse and set these when generating the response for it in SnapshotDiffManager.
--
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