Description of problem
On a 4 node cluster(N1, N2, N3 and N4), create a volume using the first 3 nodes(N1, N2 and N3) and restart glusterd on N4. Volume create fails with commit failed message.
Version-Release number of selected component (if applicable):
Not sure whatever is there in upstream
Steps to Reproduce:
1. Create a cluster with 4 nodes.
2. Create volume using the first three nodes say N1, N2 and N3.
3. While the create is happening restart the fourth node N4.
Volume create fails with the error "volume create: testvol_distributed: failed: Commit failed on 172.19.2.166. Please check log file for details."
Volume should be successfully created.
The current behavior is as per design. Please remember in GD1, every nodes have to participate in the transaction and the commit phase should succeed irrespective of if the bricks are hosted on m out of n nodes in the trusted storage pool.