Project

General

Profile

Actions

Feature #3756

closed

Watch/Notify cleanup

Added by Samuel Just over 11 years ago. Updated over 11 years ago.

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

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

The current design is rather fragile particularly with respect to the locking and ref counting.

The result of this task should be a design which avoids the watch_lock ordering problems, uses smart pointers with clear reference ownership to avoid leaks/corruption, and allows multiple watches on the same object from the same client.

Testing will be accomplished via existing existing watch/notify and rbd teuthology tasks.

Actions

Also available in: Atom PDF