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

Stefan Miklosovic updated CASSSIDECAR-249:
------------------------------------------
    Description: 
{code:java}
admin@cqlsh> select * from sidecar_internal.sidecar_lease_v1 ;

 name                 | owner
----------------------+--------------------------------------
 cluster_lease_holder | 831ec5ac-f44c-43a2-9fa3-b062dabb2f17 {code}
 

How do I know what sidecar exactly is the owner when my logs are on INFO?

We should also have some endpoint to get this programmatically. We might send 
it back in __health endpoint, for example. Not sure if we want to have a 
dedicated endpoint for that.

  was:
{code:java}
admin@cqlsh> select * from sidecar_internal.sidecar_lease_v1 ;

 name                 | owner
----------------------+--------------------------------------
 cluster_lease_holder | 831ec5ac-f44c-43a2-9fa3-b062dabb2f17 {code}
 

How do I know what sidecar exactly is the holder when my logs are on INFO?

We should also have some endpoint to get this programmatically. We might send 
it back in __health endpoint, for example. Not sure if we want to have a 
dedicated endpoint for that.


> Expose ServiceConfiguration.HOST_ID to startup logs and provide endpoint to 
> get it
> ----------------------------------------------------------------------------------
>
>                 Key: CASSSIDECAR-249
>                 URL: https://issues.apache.org/jira/browse/CASSSIDECAR-249
>             Project: Sidecar for Apache Cassandra
>          Issue Type: New Feature
>            Reporter: Stefan Miklosovic
>            Assignee: Stefan Miklosovic
>            Priority: Major
>
> {code:java}
> admin@cqlsh> select * from sidecar_internal.sidecar_lease_v1 ;
>  name                 | owner
> ----------------------+--------------------------------------
>  cluster_lease_holder | 831ec5ac-f44c-43a2-9fa3-b062dabb2f17 {code}
>  
> How do I know what sidecar exactly is the owner when my logs are on INFO?
> We should also have some endpoint to get this programmatically. We might send 
> it back in __health endpoint, for example. Not sure if we want to have a 
> dedicated endpoint for that.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to