Actions
Bug #14986
closedrbd export/export-diff with needs to protect against unintended journal replay
Status:
Closed
Priority:
High
Assignee:
-
Target version:
-
% Done:
0%
Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
If journaling is enabled on an image, reading from the image HEAD will result in a journal replay. If the image was concurrently opened by another processs (e.g. qemu), this might lead to unexpected behavior as the exclusive lock is transitions back-and-force between the two processes.
Suggest adding protection to prevent exporting an image HEAD when journaling is enabled (exporting a snapshot is fine) unless a "--force" option is provided.
Updated by Jason Dillaman about 8 years ago
- Status changed from New to Closed
The journal actually won't be replayed since export/export-diff open the image read-only. This prevents the journal (and exclusive lock) from being used.
Actions