diff options
author | Ravishankar N <ravishankar@redhat.com> | 2015-10-23 11:19:30 +0530 |
---|---|---|
committer | Pranith Kumar Karampuri <pkarampu@redhat.com> | 2015-10-26 01:29:08 -0700 |
commit | c7e30933f67f8ab8619ea28bb82e0907a26fe370 (patch) | |
tree | 474b5109a00a0fa8275797b635a95431fe307cb5 /geo-replication/syncdaemon/master.py | |
parent | 30653175901204b40b051e510253f09d76b3555b (diff) |
afr: wind writes only on subvols where preop succeeded
1. Call local->transaction.wind() only on subvols where pre-op
succeeded.
2. Update op_errno in afr_changelog_cbk call path. This fixes a bug in
commit 7945121dda340ec8f25711b2ad3ca70b544de967 where we return EUCLEAN
to the application if pre-op fails on all bricks.
Change-Id: Iab8776e49a992e7a255314bba542742f7607f3ec
BUG: 1272362
Signed-off-by: Ravishankar N <ravishankar@redhat.com>
Reviewed-on: http://review.gluster.org/12415
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Tested-by: NetBSD Build System <jenkins@build.gluster.org>
Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
Diffstat (limited to 'geo-replication/syncdaemon/master.py')
0 files changed, 0 insertions, 0 deletions