Project

General

Profile

Actions

Bug #2533

closed

osd: watchers tracked by entity_name_t, not by cookie

Added by Josh Durgin almost 12 years ago. Updated over 11 years ago.

Status:
Duplicate
Priority:
High
Assignee:
Category:
OSD
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

In the object info, watchers are tracked in a map<entity_name_t, watch_info_t>, but if there are multiple watchers from e.g. the same rados_cluster_t in librados, all watches will be removed when any one is.

To fix this, the cookie of the watch should be checked in addition to the entity_name_t.


Related issues 2 (0 open2 closed)

Related to Ceph - Bug #3221: disconnect_session_watchers missing pgResolvedSamuel Just09/25/2012

Actions
Is duplicate of Ceph - Feature #3757: osd: Watch/Notify cleanupResolvedSamuel Just01/08/2013

Actions
Actions

Also available in: Atom PDF