Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-7930

Metadata search may yield an inaccurate 'total', if giving a high 'offset'

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0.0
    • Fix Version/s: 4.1.0
    • Component/s: Metadata
    • Labels:
      None
    • Release Notes:
      Performing a metadata search now returns the correct total, even if the offset is very large.
    • Rank:
      1|hzzqzr:

      Description

      Suppose there are 5 results for a search query (giving offset of 0).
      Now, specify an offset of 10. No results will be returned (as expected), but the total returned in the response may be inaccurate.
      I suspect this bug to be there, but this needs to be validated.

        Attachments

          Activity

            People

            • Assignee:
              denton Denton Liu
              Reporter:
              ali.anwar Ali Anwar
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: