Skip to content

[CASSSIDECAR-495] Report each instance's own Sidecar instance id in th… - #380

Open
bianca-stanciu29 wants to merge 1 commit into
apache:trunkfrom
bianca-stanciu29:CASSSIDECAR-495
Open

[CASSSIDECAR-495] Report each instance's own Sidecar instance id in th…#380
bianca-stanciu29 wants to merge 1 commit into
apache:trunkfrom
bianca-stanciu29:CASSSIDECAR-495

Conversation

@bianca-stanciu29

Copy link
Copy Markdown
Contributor

…e ring / token-range-replicas response

Enrich RingEntry and ReplicaMetadata with the id of the local Sidecar instance managing each node/replica, resolved via
InstanceMetadataFetcher#sidecarInstanceId(host) in KeyspaceRingHandler and TokenRangeReplicaMapHandler. Entries not managed by this Sidecar retain a null id. This lets clients discover which instanceId to pass for a given node/replica in a follow-up request, which matters most when the client sits behind a load balancer and cannot otherwise guarantee it reaches the Sidecar managing that node.

…e ring / token-range-replicas response

Enrich RingEntry and ReplicaMetadata with the id of the local Sidecar
instance managing each node/replica, resolved via
InstanceMetadataFetcher#sidecarInstanceId(host) in KeyspaceRingHandler
and TokenRangeReplicaMapHandler. Entries not managed by this Sidecar
retain a null id. This lets clients discover which instanceId to pass
for a given node/replica in a follow-up request, which matters most
when the client sits behind a load balancer and cannot otherwise
guarantee it reaches the Sidecar managing that node.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant