[MDEV-12259] rocksdb.drop_table rocksdb.drop_table crash Created: 2017-03-14 Updated: 2017-11-07 Resolved: 2017-04-03 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - RocksDB |
| Affects Version/s: | None |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Sergei Golubchik | Assignee: | Sergei Golubchik |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
Running rocksdb.drop_table twice causes a crash:
|
| Comments |
| Comment by Sergei Petrunia [ 2017-03-15 ] | ||||||||||||||||||||||||||||||||||||
|
serg, is it a crash or a timeout? I get a timeout https://gist.github.com/spetrunia/fadee1bf567f7369caf6861d9acfa608 ... This is something that started to happen after the last merge. No idea what it is, yet. | ||||||||||||||||||||||||||||||||||||
| Comment by Sergei Petrunia [ 2017-03-15 ] | ||||||||||||||||||||||||||||||||||||
|
And it works on the release build:
| ||||||||||||||||||||||||||||||||||||
| Comment by Sergei Petrunia [ 2017-03-15 ] | ||||||||||||||||||||||||||||||||||||
|
Debug build is a bit slower but not by much, and the test still passes
| ||||||||||||||||||||||||||||||||||||
| Comment by Sergei Golubchik [ 2017-03-15 ] | ||||||||||||||||||||||||||||||||||||
|
I'm getting a crash. I'll reassign it to me for now. | ||||||||||||||||||||||||||||||||||||
| Comment by Sergei Petrunia [ 2017-03-15 ] | ||||||||||||||||||||||||||||||||||||
|
The tests seem to run very slowly, especially so on the machine with rotating HDD (the above times are from Amazon EC2, and SSD. HDD is even slower) Trying to disable MyRocks' flushing:
| ||||||||||||||||||||||||||||||||||||
| Comment by Sergei Petrunia [ 2017-03-15 ] | ||||||||||||||||||||||||||||||||||||
|
A lot of timeouts go away if I set @@rocksdb_flush_logs_at_trx_commit to 0 for https://gist.github.com/spetrunia/d61bf3f92ca248cd57a3e87504daece0 |