You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Stefan Miklosovic (Jira)" <ji...@apache.org> on 2025/05/19 16:09:00 UTC
[jira] [Updated] (CASSSIDECAR-249) Expose ServiceConfiguration.HOST_ID to startup logs and provide endpoint to get it
[ 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-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org