Skip to content

Conversation

sazzad16
Copy link
Contributor

No description provided.

@sazzad16 sazzad16 added breakingchange Pull request that has breaking changes. Must include the breaking behavior in release notes. experimental labels Feb 28, 2023
@sazzad16 sazzad16 merged commit 519faa3 into redis:master Feb 28, 2023
@sazzad16 sazzad16 deleted the broad-cover branch February 28, 2023 12:00
@sazzad16 sazzad16 added this to the 4.4.0 milestone Feb 28, 2023
banker pushed a commit to banker/jedis that referenced this pull request Mar 28, 2023
ggivo added a commit to Kguswo/jedis that referenced this pull request Aug 11, 2025
PR redis#3306 introduces broadcasting of commands like FUNCTION DELETE, FUNCTION FLUSH, FUNCTION KILL, FUNCTION RESTORE ... to all nodes of the cluster. This leads to error when command is executed on non-writable (replica) node.

This commit introduces a fix to broadcast the commands only to primary nodes from the cluster.
ggivo added a commit that referenced this pull request Aug 14, 2025
…4219)

* Fix JedisBroadcastException in functionLoadReplace

* Clean up PRIMARY_ONLY_COMMANDS initialization

* Fix JedisBroadcastException in FUNCTION commands for cluster

* Broadcast to primary nodes only

PR #3306 introduces broadcasting of commands like FUNCTION DELETE, FUNCTION FLUSH, FUNCTION KILL, FUNCTION RESTORE ... to all nodes of the cluster. This leads to error when command is executed on non-writable (replica) node.

This commit introduces a fix to broadcast the commands only to primary nodes from the cluster.

* format

---------

Co-authored-by: Ivo Gaydazhiev <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breakingchange Pull request that has breaking changes. Must include the breaking behavior in release notes. experimental

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant