diff options
author | Ravishankar N <ravishankar@redhat.com> | 2019-04-09 09:44:33 +0530 |
---|---|---|
committer | Ravishankar N <ravishankar@redhat.com> | 2019-05-15 04:16:52 +0000 |
commit | 9f225fa2c419b3ecd17ac49bef6d727e1fc55fde (patch) | |
tree | 31adeaef9424012ce760b64773ba7288ece71e91 /geo-replication/syncdaemon/resource.py | |
parent | a1fa0379b7ae059a9fbce737cd477407ab082c05 (diff) |
afr: thin-arbiter lock release fixes
- pass fop state instead of afr local to
afr_ta_dom_lock_check_and_release()
- avoid afr_lock_release_synctask() being called simultaneosuly from
notify code path and transaction (post-op) code path due to races.
- Check if the post-op on TA is valid based on event_gen checks.
- Invalidate in-memory information when we get TA child down.
Note: Thi patch addresses some pending review comments of commit
053b1309dc8fbc05fcde5223e734da9f694cf5cc
(https://review.gluster.org/#/c/glusterfs/+/20095/)
fixes: bz#1709130
Change-Id: I2ccd7e1b53362f9f3fed8680aecb23b5011eb18c
Signed-off-by: Ravishankar N <ravishankar@redhat.com>
(cherry picked from commit 9ab2747da78061882f6734df4b265bce11adaef1)
Diffstat (limited to 'geo-replication/syncdaemon/resource.py')
0 files changed, 0 insertions, 0 deletions