If mirroring is enabled, it's nearly certain that the peer rbd-mirror
daemon will be a registered client within the journal. Without
forcing the removal, this would prevent the removal from occurring.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit
d83aa1e0e44784e1f38698a839f8a353c87027eb)
return r;
}
- r = journaler.remove(false);
+ r = journaler.remove(true);
if (r < 0) {
lderr(cct) << "failed to remove journal: " << cpp_strerror(r) << dendl;
return r;