Skip to content

Conversation

hengyoush
Copy link

@hengyoush hengyoush commented Jul 17, 2025

Make sure that:

  • You have read the contribution guidelines.
  • You have created a feature request first to discuss your contribution intent. Please reference the feature request ticket number in the pull request.
  • You applied code formatting rules using the mvn formatter:format target. Don’t submit any formatting related changes.
  • You submit test cases (unit or integration tests) that back your changes.

This PR fixes the issue where during slot migration(#3353 ), there might be concurrent writes of other commands between the asking command and the actual command. It achieves this by modifying the writeToChannelAndFlush(Channel channel, Collection<? extends RedisCommand> commands), changing the original method of writing to the channel using a for loop to directly writing the list to the channel, thus avoiding the aforementioned issue.

Signed-off-by: hengyouhai <hengyouhai@tuhu.cn>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants