Bug 1624331

Summary: [Thin-arbiter]: Write is hanging while one brick is down
Product: [Community] GlusterFS Reporter: Ashish Pandey <aspandey>
Component: replicateAssignee: Ashish Pandey <aspandey>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: mainlineCC: atumball, bugs, ksubrahm, pasik, ravishankar
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-10-30 10:46:28 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ashish Pandey 2018-08-31 08:45:35 UTC
Description of problem:

While creating a test for thin arbiter volume, I saw a hang while brick was down and we write data on mount point. 

Steps - 

1 - Create  plain thin arbiter volume TA
2 - Mount the volume TA
3 - Create a file on mount point .
4 - Kill  data brick B1
5 - Write data on file on mount point
dd if=/dev/zero of=/mountpoint/a.txt bs=1M count=5

Hang can be seen on mount point

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Ashish Pandey 2018-08-31 09:46:45 UTC
I think this bug would be solved after with patch sent for two domain lock for write transactions.

Comment 2 Ashish Pandey 2018-10-30 10:46:28 UTC
The patch for write transaction has been sent and it has fixed the issue.

https://review.gluster.org/#/c/glusterfs/+/20095/