server
server copied to clipboard
MDEV-36843 : Galera tests fail if wsrep_provider_options is too long …
…(> 2k)
- [x] The Jira issue number for this PR is: MDEV-36843
Description
Galera provider options contains many options and several directory names and file names that could lead situation where wsrep_provider_options string is longer than 2k. Many tests set few new options required by test and then restore wsrep_provider_options to original value. This restoring wsrep_provider_options string to original value then fails because of common limit for all charptr variables (2k).
Fix is to increase common limit for all charptr variables to 4kb.
Release Notes
TODO: What should the release notes say about this change? Include any changed system variables, status variables or behaviour. Optionally list any https://mariadb.com/kb/ pages that need changing.
How can this PR be tested?
TODO: modify the automated test suite to verify that the PR causes MariaDB to behave as intended. Consult the documentation on "Writing good test cases".
If the changes are not amenable to automated testing, please explain why not and carefully describe how to test manually.
Basing the PR against the correct MariaDB version
- [ ] This is a new feature or a refactoring, and the PR is based against the
mainbranch. - [ x] This is a bug fix, and the PR is based against the earliest maintained branch in which the bug can be reproduced.
PR quality check
- [ x] I checked the CODING_STANDARDS.md file and my PR conforms to this where appropriate.
- [x ] For any trivial modifications to the PR, I am ok with the reviewer making the changes themselves.