Bug #9055
closedLibRadosTwoPoolsPP.HitSetWrite (and others) fail on remove of whiteout
0%
Description
2014-08-09T09:03:14.670 INFO:tasks.workunit.client.0.plana70.stdout:test/librados/TestCase.cc:93: Failure
2014-08-09T09:03:14.671 INFO:tasks.workunit.client.0.plana70.stdout:Value of: ioctx.remove(it->first)
2014-08-09T09:03:14.671 INFO:tasks.workunit.client.0.plana70.stdout: Actual: -2
2014-08-09T09:03:14.671 INFO:tasks.workunit.client.0.plana70.stdout:Expected: 0
2014-08-09T09:03:14.671 INFO:tasks.workunit.client.0.plana70.stdout:[ FAILED ] LibRadosTwoPoolsPP.HitSetWrite (36829 ms)
this is a cache pool, with a whiteout, and the remove fails. this is because LibRadosTwoPoolsPP in tier.cc uses cleanup_default_namespace(cache_ioctx). we either need to delete and recreate the pool (simplest) or do a flush/evict to make sure the pool is totally clean between runs.
Updated by Sage Weil almost 10 years ago
- Status changed from 12 to Fix Under Review
- Backport set to firefly
Updated by Sage Weil over 9 years ago
- Status changed from Fix Under Review to Resolved