[MDEV-7643] MTR creates nested links when tests are run with --mem Created: 2015-02-27 Updated: 2015-03-09 Resolved: 2015-03-09 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Tests |
| Affects Version/s: | 5.5.42, 10.0.16 |
| Fix Version/s: | 5.5.43, 10.0.18 |
| Type: | Bug | Priority: | Major |
| Reporter: | Elena Stepanova | Assignee: | Elena Stepanova |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | regression, verified | ||
| Description |
|
Compare behavior in MySQL 5.5, MariaDB 5.5.41 and MariaDB 5.5.42:
This is good behavior: a new folder in /dev/shm gets created, the old one gets removed, var points at the new one.
It's bad behavior: a new folder gets created, the old one is kept, var points at the old one. Eventually there will be lots of folders in /dev/shm, but it's only marginally dangerous since they all will be empty.
This is awful behavior: a new folder gets created, instead of the old folder a link with the same name points at the new folder, var points at the old folder (now a link). Soon enough the chain becomes too long and further tests refuse to run. At least the old behavior should be restored. Better still, it should work the way MySQL does. |
| Comments |
| Comment by Elena Stepanova [ 2015-03-02 ] |
|
serg, Could you please take a look? I ran it through buildbot and also tried an out-of-source build, but there can always be some corner cases I didn't think of. |
| Comment by Sergei Golubchik [ 2015-03-09 ] |
|
ok to push |
| Comment by Elena Stepanova [ 2015-03-09 ] |
|
Pushed into 5.5: |