[MDEV-15530] Variable replicate_rewrite_db cannot be found in "show global variables" Created: 2018-03-09 Updated: 2023-08-07 Resolved: 2022-10-21 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Replication, Variables |
| Fix Version/s: | 10.11.1 |
| Type: | Task | Priority: | Critical |
| Reporter: | Aurélien LEQUOY | Assignee: | Anel Husakovic |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | Preview_10.11 | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||
| Description |
|
Hello, It's many time I asked myself but I never found answer about that, why we cannot find the variable : replicate_rewrite_db in "show global variables" or "show all slaves stauts" <- (should be there)
|
| Comments |
| Comment by Elena Stepanova [ 2018-07-09 ] |
|
That's because it's not a variable, it's a command-line option only. Do you want it to be converted into a feature request for making it a variable? |
| Comment by Aurélien LEQUOY [ 2018-08-06 ] |
|
Hello Elena, Yes, can you add this to be converted into a feature request for making it a variable. without this you need reboot server each time, and it's not fair at all when you have many thread of replication. |
| Comment by Aurélien LEQUOY [ 2018-08-08 ] |
|
so it's will be add or not ? |
| Comment by Sergei Golubchik [ 2018-08-08 ] |
|
At the moment it's not planned for any specific release (see above, FixVersion is empty). But eventually it will be added. |
| Comment by Dixit Patel [ 2018-10-11 ] |
|
Hi, I was trying to search through the code base to get a starting point for this fix. I was looking through mysql.cc inside client directory, but don't know if this is a good place to start. Any inputs ? |
| Comment by Daniel Black [ 2018-10-18 ] |
|
sql/mysqld.cc contains the command line options. variables are in sql/sys_vars.cc. Ignore the client directory - its programs like the mysql client, mysqldump etc. Most things you'll need are in sql/. |
| Comment by Rodrigo Souza [ 2020-10-06 ] |
|
I wonder if there is somebody working on this feature request? If not, I'd like to tackle it. |
| Comment by Sergei Golubchik [ 2020-11-04 ] |
|
Nobody is working on it, as far as I can see. Feel free to do it. |
| Comment by Aurélien LEQUOY [ 2022-08-04 ] |
|
if any could work on it <3 |
| Comment by Brandon Nesterenko [ 2022-09-01 ] |
|
Hi anel! Thanks for the patch! I left review notes on Github. |
| Comment by Anel Husakovic [ 2022-09-30 ] |
|
SHOW SLAVE STATUS currently (10.11<=) doesn't output replicate_rewrite_db. |
| Comment by Angelique Sklavounos (Inactive) [ 2022-10-14 ] |
|
76e4bb64d7 OK to push |
| Comment by Brandon Nesterenko [ 2022-10-21 ] |
|
Pushed into 10.11 on behalf of Anel, who is on leave. |
| Comment by Aurélien LEQUOY [ 2022-10-22 ] |
|
MariaDB 10.11 ? I even didn't check since 10.9 lol |