Vladislav Pyatkov created IGNITE-26670:
------------------------------------------

             Summary: Placement driver metrics are confused
                 Key: IGNITE-26670
                 URL: https://issues.apache.org/jira/browse/IGNITE-26670
             Project: Ignite
          Issue Type: Bug
            Reporter: Vladislav Pyatkov


h3. Motivation
The placement driver metric periodically prints in a log:
{noformat}
placement-driver [ActiveLeasesCount=25, CurrentPendingAssignmentsSize=0, 
CurrentStableAssignmentsSize=25, LeasesCreated=25, LeasesProlonged=1379, 
LeasesPublished=25, LeasesWithoutCandidates=0]
{noformat}
But in any node except for the placement driver active actor, it prints like 
this:
{noformat}
placement-driver [ActiveLeasesCount=0, CurrentPendingAssignmentsSize=0, 
CurrentStableAssignmentsSize=25, LeasesCreated=0, LeasesProlonged=0, 
LeasesPublished=0, LeasesWithoutCandidates=0]
{noformat}

Definition of done:
There are two ways that I see:
* Print the actual placement-driven state in each node
* Print something that unmistakably defines that the metrics are unavailable 
because the node is not an active actor.



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

Reply via email to