Skip to content

Conversation

@ejona86
Copy link
Member

@ejona86 ejona86 commented Aug 19, 2022

The log id is an incrementing value starting from 0. That means the same
binary on two different machines will have the same hashes for each
consecutive Channel. That was not at all the intension of CHANNEL_ID.
From gRFC A42:

This can be used in similar situations to where Envoy uses
connection_properties to hash on the source IP address.

CC @apolcyn

Backport of #9453

The log id is an incrementing value starting from 0. That means the same binary on two different machines will have the same hashes for each consecutive Channel. That was not at all the intension of CHANNEL_ID. From gRFC A42: > This can be used in similar situations to where Envoy uses > connection_properties to hash on the source IP address.
@ejona86 ejona86 requested a review from YifeiZhuang August 19, 2022 15:52
@ejona86 ejona86 merged commit 54fc4f2 into grpc:v1.49.x Aug 19, 2022
@ejona86 ejona86 deleted the backport-xds-channel-id-is-random-1.49 branch August 19, 2022 17:58
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

2 participants