Skip to content

Conversation

ofekshenawa
Copy link
Collaborator

Whenever a new client connection is established, the client has been excessively sending a "COMMAND" command, even when it's not necessary. I've made a modification so that the "COMMAND" command will only be executed when the ReadOnly attribute in ClusterOptions is set to True.

The ReadOnly attribute enables the execution of read-only commands on slave nodes. This change ensures that the "COMMAND" command is used more efficiently and only when required.

@chayim chayim added the bug label Nov 30, 2023
@ofekshenawa ofekshenawa marked this pull request as ready for review November 30, 2023 09:09
@ofekshenawa
Copy link
Collaborator Author

@monkey92t, @vmihailenco, would one of you be able to review this, please?

@ofekshenawa ofekshenawa merged commit 86c68be into master Dec 17, 2023
@ofekshenawa ofekshenawa deleted the os-execute-command-only-on-readonly branch June 19, 2024 22:04
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.

2 participants