[Bugs] [Bug 1759875] afr: support split-brain CLI for replica 3

bugzilla at redhat.com bugzilla at redhat.com
Thu Nov 5 07:12:47 UTC 2020


https://bugzilla.redhat.com/show_bug.cgi?id=1759875

Arthy Loganathan <aloganat at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ON_QA                       |VERIFIED



--- Comment #8 from Arthy Loganathan <aloganat at redhat.com> ---
[root at dhcp47-141 ~]# gluster vol info

Volume Name: testvol_replicated
Type: Replicate
Volume ID: 5a182a14-bf47-42c1-809a-973bf1e133cc
Status: Started
Snapshot Count: 0
Number of Bricks: 1 x 3 = 3
Transport-type: tcp
Bricks:
Brick1: 10.70.47.141:/bricks/brick0/testvol_replicated_brick0
Brick2: 10.70.47.41:/bricks/brick0/testvol_replicated_brick1
Brick3: 10.70.47.178:/bricks/brick0/testvol_replicated_brick2
Options Reconfigured:
cluster.quorum-type: none
cluster.self-heal-daemon: off
storage.fips-mode-rchecksum: on
transport.address-family: inet
nfs.disable: on
performance.client-io-threads: off


========================================

[root at dhcp47-141 ~]# gluster volume heal testvol_replicated split-brain
source-brick 10.70.47.141:/bricks/brick0/testvol_replicated_brick0 /file1
Healed /file1.


[root at dhcp47-141 ~]# gluster volume heal testvol_replicated info split-brain
Brick 10.70.47.141:/bricks/brick0/testvol_replicated_brick0
/file2
<gfid:cbd90af1-ff06-4cbf-9e03-369b905c1fa8>
<gfid:814d5f4a-1ba9-42b6-91a5-dc5c2e8a27b0>
<gfid:17dc170d-5eb3-480f-bcac-59e937317066>
Status: Connected
Number of entries in split-brain: 4

Brick 10.70.47.41:/bricks/brick0/testvol_replicated_brick1
/file2
/file4
/file5
/dir
Status: Connected
Number of entries in split-brain: 4

Brick 10.70.47.178:/bricks/brick0/testvol_replicated_brick2
/file2
<gfid:cbd90af1-ff06-4cbf-9e03-369b905c1fa8>
<gfid:814d5f4a-1ba9-42b6-91a5-dc5c2e8a27b0>
<gfid:17dc170d-5eb3-480f-bcac-59e937317066>
Status: Connected
Number of entries in split-brain: 4

[root at dhcp47-141 ~]# gluster volume heal testvol_replicated split-brain
source-brick 10.70.47.141:/bricks/brick0/testvol_replicated_brick0
gfid:cbd90af1-ff06-4cbf-9e03-369b905c1fa8
Healed gfid:cbd90af1-ff06-4cbf-9e03-369b905c1fa8.

Verified the fix in,
glusterfs-server-6.0-46.el8rhgs.x86_64
glusterfs-server-6.0-46.el7rhgs.x86_64


-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Bugs mailing list