Skip to content

Conversation

@paulorsousa
Copy link
Contributor

@paulorsousa paulorsousa commented Dec 19, 2025

Fixes OSS Cluster server initialization by also passing the enable_redis_7_config_directives parameter to generate_common_server_args
This ensures --enable-debug-command and other Redis 7+ config directives are also properly applied when running cluster mode.

closes #462

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes OSS Cluster server initialization by passing the enable_redis_7_config_directives parameter to generate_common_server_args. This ensures Redis 7+ configuration directives like --enable-debug-command are properly applied when running in cluster mode.

Key Changes:

  • Added enable_redis_7_config_directives parameter to the generate_common_server_args call in cluster initialization
  • Added a test to verify the parameter is correctly passed through to the generated command

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
redisbench_admin/environments/oss_cluster.py Modified generate_cluster_redis_server_args to pass enable_redis_7_config_directives parameter to generate_common_server_args, ensuring Redis 7+ config directives are applied in cluster mode
tests/test_cluster.py Added test test_generate_cluster_redis_server_args_passes_redis_7_directive to verify the parameter is correctly passed through

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@paulorsousa paulorsousa changed the title Fix: Pass enable_redis_7_config_directives to OSS Cluster server args Fix: Pass enable_redis_7_config_directives to OSS Cluster server args Dec 19, 2025
@fcostaoliveira fcostaoliveira merged commit d069d4c into master Dec 23, 2025
0 of 3 checks passed
@fcostaoliveira fcostaoliveira deleted the fix/enable-debug-command-oss-cluster branch December 23, 2025 09:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants