[ 
https://issues.apache.org/jira/browse/IGNITE-26670?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vladimir Pligin updated IGNITE-26670:
-------------------------------------
    Description: 
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. 

  was:
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.


> Placement driver metrics confusing
> ----------------------------------
>
>                 Key: IGNITE-26670
>                 URL: https://issues.apache.org/jira/browse/IGNITE-26670
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Vladislav Pyatkov
>            Assignee: Vladislav Pyatkov
>            Priority: Major
>              Labels: ignite-3
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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