diff options
author | Pranith Kumar K <pkarampu@redhat.com> | 2019-04-04 15:31:56 +0530 |
---|---|---|
committer | Shyamsundar Ranganathan <srangana@redhat.com> | 2019-05-08 14:07:12 +0000 |
commit | 65505150d665b207e2eb2143599a772c39a648f8 (patch) | |
tree | f844e8fbc57b7599730e1b0f530bdccbf7a2f2a2 /tests/thin-arbiter.rc | |
parent | c94acb9efdba4d837f1029cdcbdec051a394447a (diff) |
cluster/afr: Remove local from owners_list on failure of lock-acquisition
When eager-lock lock acquisition fails because of say network failures, the
local is not being removed from owners_list, this leads to accumulation of
waiting frames and the application will hang because the waiting frames are
under the assumption that another transaction is in the process of acquiring
lock because owner-list is not empty. Handled this case as well in this patch.
Added asserts to make it easier to find these problems in future.
fixes bz#1699736
Change-Id: I3101393265e9827755725b1f2d94a93d8709e923
Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
Diffstat (limited to 'tests/thin-arbiter.rc')
0 files changed, 0 insertions, 0 deletions