Actions
Feature #3527
closedosd: blacklist should cancel outstanding watches from blacklisted client
% Done:
0%
Source:
Development
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:
Description
While testing locking/fencing, I noticed that if an rbd client is blacklisted, it
receives ESHUTDOWN from any operation following; this unfortunately includes the
"remove watch" operation, which means that it exits with pending watches, which means
the image it was doing I/O to cannot be removed until the 30s timeout expires.
Blacklist should probably immediately expire and/or cancel outstanding watches from
the client being blacklisted.
Actions