Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-18976

Config History request execution time depends on config versions count

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.4.0
    • 2.5.0
    • ambari-server
    • None

    Description

      Request: /api/v1/clusters/tdk/configurations/service_config_versions?fields=group_id,user&minimal_response=true&from=0&page_size=10
      Response always contains 10 records or less (if there are less than 10 service configs versions). Each record has only two fields (group_id, user).
      Request execution time depends on overall count of service config versions in the DB.
      Example:

      Items Total in the DB Response Time
      2 ~140 ms
      100 900+ ms
      290 3+ s
      750 9+ s
      1000 15+ s
      3000 30+ s

      Attachments

        Activity

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

          People

            mpapirkovskyy Papirkovskyy Myroslav Assign to me
            mpapirkovskyy Papirkovskyy Myroslav
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment