-
Notifications
You must be signed in to change notification settings - Fork 65
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
added clientGetName command- Node #387
Conversation
Missing the expected response/request policy |
9271901
to
1981af9
Compare
@barshaul @adanWattad @shohamazon the CLIENT SETNAME command might be more complex than expected, since we'll need to reset the name when we reconnect internally. I suggest not implementing it in code for now, instead passing the value in the connection options. |
I recommend that we only implement CLIENT GETNAME for now |
1981af9
to
eb3d9bc
Compare
node/src/Transaction.ts
Outdated
* See https://redis.io/commands/client-getname/ for more details. | ||
* | ||
* Command Response - the name of the client connection as a string if a name is set, or null if no name is assigned. | ||
* When specifying a route other than a single node, the response will be a dictionary of Address: nodeResponse. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there's no route with more than a single node in a transaction.
node/src/RedisClusterClient.ts
Outdated
* case the client will initially try to route the command to the nodes defined by `route`. | ||
* | ||
* @returns - the name of the client connection as a string if a name is set, or null if no name is assigned. | ||
* When specifying a route other than a single node, it will return a dictionary of Address: nodeResponse. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a dictionary of Address: nodeResponse
is neither english, nor a description of the returned typed.
eb3d9bc
to
57ccb99
Compare
* Python: Add LOLWUT command (#387) Added Python LOLWUT command * Updated CHANGELOG.md * Fixed formated issues --------- Co-authored-by: Andrew Carbonetto <[email protected]>
added clientGetName and clientSetName commands in node.
response/request policy: None.