diff options
| author | Ravishankar N <ravishankar@redhat.com> | 2020-05-27 20:50:46 +0530 |
|---|---|---|
| committer | Amar Tumballi <amar@kadalu.io> | 2020-06-29 12:51:32 +0000 |
| commit | 215cf1728e029d062b21b712b6c5356b3bf73794 (patch) | |
| tree | 3466833f653eebbde01d8ea312c662eab1737cd7 /libglusterfs/src/parse-utils.c | |
| parent | 8c1008646ec7e62b33d92184358eb455f7e44350 (diff) | |
afr: more quorum checks in lookup and new entry marking
Problem: See github issue for details.
Fix:
-In lookup if the entry exists in 2 out of 3 bricks, don't fail the
lookup with ENOENT just because there is an entrylk on the parent.
Consider quorum before deciding.
-If entry FOP does not succeed on quorum no. of bricks, do not perform
new entry mark.
Fixes: #1303
Change-Id: I56df8c89ad53b29fa450c7930a7b7ccec9f4a6c5
Signed-off-by: Ravishankar N <ravishankar@redhat.com>
(cherry picked from commit c4a6748f25d2c1ab3ebcf89952278ebf94c8d371)
Diffstat (limited to 'libglusterfs/src/parse-utils.c')
0 files changed, 0 insertions, 0 deletions
