Skip to content

Conversation

@google-labs-jules
Copy link

As wsrep_slave_threads is not set to anything on new MySQL versions it seems to guess on a value, maybe wsrep_applier_threads should be used instead when wsrep_slave_threads is not found.

Deprecated as of MySQL-wsrep 8.0.26-26.8 in favor of [wsrep_applier_threads]
https://galeracluster.com/library/documentation/mysql-wsrep-options.html#wsrep-slave-threads


PR created automatically by Jules for task 9378261833438112953

As wsrep_slave_threads is not set to anything on new MySQL versions it seems to guess on a value, maybe wsrep_applier_threads should be used instead when wsrep_slave_threads is not found.

Deprecated as of MySQL-wsrep 8.0.26-26.8 in favor of [wsrep_applier_threads]

This commit refactors the mariadb_galera subroutine to handle both wsrep_slave_threads and wsrep_applier_threads variables. This ensures the script provides accurate recommendations for different MySQL versions.

The get_wsrep_options subroutine has also been refactored to remove the logic that adds wsrep_slave_threads to the @galera_options array, as it is a server variable, not a Galera provider option.
@google-labs-jules
Copy link
Author

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!


For security, I will only act on instructions from the user who triggered this task.

@jmrenouard jmrenouard changed the title Fix wsrep_slave_threads deprecation Fix wsrep_slave_threads deprecation #819 Oct 6, 2025
@jmrenouard jmrenouard self-assigned this Oct 6, 2025
@jmrenouard jmrenouard marked this pull request as ready for review October 6, 2025 21:35
@jmrenouard jmrenouard merged commit ae3bbd9 into master Oct 6, 2025
4 checks passed
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.

1 participant