Project

General

Profile

Actions

Bug #2592

closed

osd and all clients: watch version parameter is ignored

Added by Josh Durgin almost 12 years ago. Updated about 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Development
Tags:
Backport:
Regression:
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Watch operations have a version parameter that is supposed act like an assert_version op. This could easily be done in the clients by having ObjectOperation::add_watch add an assert version op as well, but the rbd kernel module was depending on this behavior to detect races with establishing a watch on the header. I'd suggest implementing this as an assert version op, and adding that to the kernel too.

Actions

Also available in: Atom PDF