Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-6517 Snapshot support for Ozone
  3. HDDS-7952

Server side changes to add wait time and job status for Snapdiff API

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersConvert to IssueLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.4.0
    • None

    Description

      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.

      API and client changes are done as part of HDDS-7950 and PR-4264.

      This task is to make relevant changes on server side and introduce job state flow.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            hemantk Hemant Kumar Assign to me
            hemantk Hemant Kumar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment