Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Identify client on connect #2708

Merged
merged 8 commits into from
Sep 20, 2023
Merged

Identify client on connect #2708

merged 8 commits into from
Sep 20, 2023

Conversation

ofekshenawa
Copy link
Collaborator

@ofekshenawa ofekshenawa commented Sep 14, 2023

closes #2707

cluster.go Outdated Show resolved Hide resolved
cluster.go Outdated Show resolved Hide resolved
redis.go Outdated Show resolved Hide resolved
Copy link
Contributor

@chayim chayim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggested DisableIndentity but open to something obvious and shorter. Maybe DisableIdentifier?

@chayim chayim added the feature label Sep 19, 2023
@ofekshenawa ofekshenawa merged commit 0b6be62 into master Sep 20, 2023
7 checks passed
@@ -30,6 +30,7 @@ func NewClientStub(resp []byte) *ClientStub {
Dialer: func(ctx context.Context, network, addr string) (net.Conn, error) {
return stub.stubConn(initHello), nil
},
DisableIndentity: true,
Copy link
Contributor

@ljun20160606 ljun20160606 Sep 22, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this a typo? We also need to add it to UniversalOptions. @ofekshenawa @chayim

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, we don't want to send client setinfo on benchmark tests 😅

Copy link

@pdf pdf Feb 20, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suspect the question about whether this is a typo might be because Indentity is a very uncommon word (I'm not sure it's even a generally recognised word), whereas Identity would be much more common.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update CLIENT-SETINFO to support suffixes
4 participants