Uploaded image for project: 'Atlas'
  1. Atlas
  2. ATLAS-4691

Discrepancy in the atlas debug metrics between the active and the not active servers

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.2.0
    • 2.0.0, 2.3.0
    • atlas-core
    • None

    Description

      There is a discrepancy in the atlas debug metrics between the active and the not active servers.

      Steps to reproduce:

      • Setup Atlas in HA mode with two instances of Atlas
      • add "atlas.debug.metrics.enabled=true" to the Atlas configuration (conf/atlas-application.properties)
      • restart Atlas
      • open Atlas and create a new entity (e.g. hdfs_path) 
      • check the debug metrics on both atlas instances using API call: https://<atlas_host>:<atlas_port>/api/atlas/admin/debug/metrics
      • The active instance returns correct metrics, whereas passive instance returns empty metrics

      The reason for this is that the debug metrics are maintained in-memory in the active server. When "admin/debug/metrics" API call is accessed on the passive server, the request isn't redirected to the active server like it does for the other APIs, hence the passive node returns empty metrics.

      Attachments

        Issue Links

          Activity

            People

              jayendrap Jayendra Parab
              jayendrap Jayendra Parab
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: