Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-10172

Improve list APIs by prodiving the continuation token rather than using last element from the previous page

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      Currently some of Ozone's list APIs are implement in a way that last element from the last page's response is sent as continuation token rather than server providing it. Because of that it makes an extra call to know the ending of response. Hence metrics are also not correct for those paginated APIs HDDS-9983.
      We should change this to explicit return the continuation token for the paginated API and use that to fetch next page rather than using last element from the last page's response

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              hemantk Hemant Kumar
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: