[MDEV-9049] Userstats stop populating using multiple replication threads Created: 2015-10-30 Updated: 2015-11-05 Resolved: 2015-11-05 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Admin statements |
| Affects Version/s: | 10.0.21 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Minor |
| Reporter: | VAROQUI Stephane | Assignee: | Unassigned |
| Resolution: | Cannot Reproduce | Votes: | 1 |
| Labels: | None | ||
| Environment: |
Linux X86_64 |
||
| Attachments: |
|
| Description |
To reproduce: Produce some writes on the master On the slave: Statistics is populated STOP SLAVE; Statistics is not populated |
| Comments |
| Comment by Elena Stepanova [ 2015-11-02 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
It works all right for me:
In your description I don't see a step when you created more writes on master after you enabled parallel slave – are you sure you did that?
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by VAROQUI Stephane [ 2015-11-02 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Writes was heavy about 200/s, and replication was delayed , that's why we activated
from what i recall user stats are updated in function close_thread_tables via calling handler::update_global_table_stats() in handler.cc This close_thread_tables for replication happen in repl_rli.cc could it be that parallel does not follow the same path for relay log info and thus shortcut call to close_thread_tables? | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by VAROQUI Stephane [ 2015-11-02 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Elena, I 'll contact the client to see if he can still reproduce that on his setup. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by VAROQUI Stephane [ 2015-11-02 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Can be clause, unable to reproduce, we may have been confused by the requirement to stop, start slave to take into account userstat variable change. |