Actions
Bug #16096
closedlibrbd: feature updates are not seen by mirror_image_enable()
Status:
Resolved
Priority:
High
Assignee:
-
Target version:
-
% Done:
0%
Source:
other
Tags:
Backport:
jewel
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
I'm making two calls to librbd:
1. feature_update(JOURNALING)
2. mirror_image_enable()
The mirror call [2] fails, reporting that journaling is not enabled. But the rbd client confirms that the feature_update() call did succeed in setting the journaling flag. If before line [2], I add a call to fetch the existing image features, then the mirror_image_enable call succeeds.
It sounds like mirror_image_enable is getting the update but not re-reading the header, while features() does the usual check if there are pending notifications to process before fetching the features.
If this isn't a high-priority issue, would you mind if I work on this?
Actions