Bug #10709
rbd watch creates 2 watchers?
Status:
Resolved
Priority:
Urgent
Assignee:
Jason Dillaman
Target version:
-
% Done:
0%
Source:
Development
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
rbd watch in one terminal, then rbd status in another will show 2 clients. hit enter on the watch and then status again and one went away but the other is leaked.
Associated revisions
rbd: watch command should unwatch before exiting
Switched the rbd CLI tool to use the new watch/unwatch API
and properly unwatch the image before exiting. Additionally,
the watch command opened the image twice -- once R/W and another
R/O. This resulted in two watches being created for the image.
Cleaned up old/new format detection by using the existing API
methods.
Fixes: #10709
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
History
#1 Updated by Jason Dillaman about 9 years ago
- Status changed from New to In Progress
- Assignee set to Jason Dillaman
#2 Updated by Jason Dillaman about 9 years ago
- Status changed from In Progress to Fix Under Review
- Backport set to giant
#3 Updated by Jason Dillaman about 9 years ago
- Backport deleted (
giant)
#4 Updated by Jason Dillaman about 9 years ago
- Status changed from Fix Under Review to Resolved