[MDEV-16034] TokuDB: set global tokudb_block_size is ignored Created: 2018-04-26 Updated: 2018-05-31 Resolved: 2018-05-31 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - TokuDB |
| Affects Version/s: | 10.1.32 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Minor |
| Reporter: | Rick Pizzi | Assignee: | Unassigned |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Description |
|
I have noticed that changing the tokudb_block_size variable with set global has no effect on subsequently created tables. A server restart is required. In Percona Server, this works as intended and the newly created tables have the new block size. How to reproduce:
|
| Comments |
| Comment by Elena Stepanova [ 2018-05-31 ] |
|
The variable has a SESSION scope (in addition to GLOBAL), which means changing the global value doesn't affect the current session and its products. Try set tokudb_block_size=132768; instead. |