[ 
https://issues.apache.org/jira/browse/ATLAS-4691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17623277#comment-17623277
 ] 

ASF subversion and git services commented on ATLAS-4691:
--------------------------------------------------------

Commit faf9da84bbf55cf46bce275ad1488333d71629cb in atlas's branch 
refs/heads/branch-2.0 from Jayendra Parab
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=faf9da84b ]

ATLAS-4691: Discrepancy in the atlas debug metrics between the active and the 
not active servers

Signed-off-by: Pinal Shah <[email protected]>
(cherry picked from commit 1c7e59478c8d2905f732c1d87da5e8fd940637b8)


> Discrepancy in the atlas debug metrics between the active and the not active 
> servers
> ------------------------------------------------------------------------------------
>
>                 Key: ATLAS-4691
>                 URL: https://issues.apache.org/jira/browse/ATLAS-4691
>             Project: Atlas
>          Issue Type: Bug
>          Components:  atlas-core
>    Affects Versions: 2.2.0
>            Reporter: Jayendra Parab
>            Assignee: Jayendra Parab
>            Priority: Major
>
> 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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to