[MDEV-10701] SET global TOKUDB_CHECKPOINT_LOCK=ON will not stop the tokudb data file change Created: 2016-08-30 Updated: 2016-09-28 Resolved: 2016-08-31 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - TokuDB |
| Affects Version/s: | 10.0.26 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | dennis | Assignee: | Unassigned |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | TOKUDB_CHECKPOINT_LOCK, tokudb, upstream | ||
| Environment: |
centos6.5, mariadb 10.0.26 |
||
| Description |
|
How to reproduce the bug: Open a new shell "shell1" , and use sysbench to do the modification on the tokudb table, this sysbench
open a new shell "shell2" , to check the data file and log file modification of tokudb table in the disk:
we can see the log file and data file is changing. Then open a new shell "shell3" login to the mariadb and acquire the checkpoint lock:
And during the test, this connection will not quit or broken. Back to the shell2, we still can see the data file changing! It seams that, the "TOKUDB_CHECKPOINT_LOCK=ON" fail to stop the data file modification on tokudb. |
| Comments |
| Comment by Elena Stepanova [ 2016-08-31 ] |
|
The upsteam bug was invalidated with the following comment:
Closing this replica accordingly. |
| Comment by bohutang [ 2016-09-28 ] |
|
We can stop the block header updated when setting TOKUDB_CHECKPOINT_LOCK=ON with this patch: With it, now we can backup both InnoDB and TokuDB on PS5.6/PS5.7 and MariaDB. |