[MDEV-20859] rocksdb.drop_table2 test takes a lot of time Created: 2019-10-18 Updated: 2023-04-27 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - RocksDB |
| Affects Version/s: | 10.2, 10.3, 10.4 |
| Fix Version/s: | 10.4 |
| Type: | Bug | Priority: | Major |
| Reporter: | Sergei Petrunia | Assignee: | Sergei Petrunia |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Description |
|
rocksdb.drop_table2 takes nearly a minute to run. On a debug build:
Does it really spend 1.5 minutes doing something useful? |
| Comments |
| Comment by Sergei Petrunia [ 2019-10-18 ] | ||||||||||
|
It includes drop_table_repopulate_table.inc which does line-by-line INSERTs. Switching to sequence engine helps a bit:
but not much | ||||||||||
| Comment by Sergei Petrunia [ 2019-10-18 ] | ||||||||||
|
Most of the time (one minute) is actually spent in the final wait here:
| ||||||||||
| Comment by Sergei Petrunia [ 2019-10-18 ] | ||||||||||
|
It's the same in upstream. I am not sure if the fact that DDL_DROP_INDEX_ONGOING records are not gone after 1 minute can be considered a bug? |