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

Config History request execution time depends on config versions count

    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

        1. AMBARI-18976.patch
          16 kB
          Papirkovskyy Myroslav

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: