Bug 1651541 - Add-brick to change replica 2 to replica 3 or arbiter while having self heal can lead to data inconsistency
Summary: Add-brick to change replica 2 to replica 3 or arbiter while having self heal ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: doc-Administration_Guide
Version: rhgs-3.4
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: RHGS 3.4.z Async Update
Assignee: Srijita Mukherjee
QA Contact: Anees Patel
URL:
Whiteboard:
Depends On:
Blocks: 1660873
TreeView+ depends on / blocked
 
Reported: 2018-11-20 10:06 UTC by hari gowtham
Modified: 2023-09-14 04:42 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-02-08 18:37:07 UTC
Embargoed:


Attachments (Terms of Use)

Description hari gowtham 2018-11-20 10:06:30 UTC
Document URL: 

Section Number and Name: 

Describe the issue: 

The order in which glusterd generates the volfiles during add-brick can cause data inconsistency when we change from a replica 2 to replica 3 or replica 2 + arbiter.


Suggestions for improvement: 

It is recommended to stop the self heal process and then then add-brick. Once the graph changes have happened its fine to start the self heal.


Additional information: 

This bug is to address the bug: https://bugzilla.redhat.com/show_bug.cgi?id=1400092

Comment 10 Anees Patel 2019-01-23 14:24:29 UTC
Based on comment#0 It is required that the vol file is updated on all the clients before we enable all heals and issue heal. Ideally waiting for 5 minutes is a practice followed so that vol file gets updated

Could you add a note after the below doc text
-------------
 If you have an existing two-way distributed-replicated volume, you need a new brick for each sub-volume in order to convert it to an arbitrated distributed-replicated volume, for example:

# gluster volume add-brick testvol replica 3 arbiter 1 server1:/bricks/arbiter_brick1 server2:/bricks/arbiter_brick2

----Please add the below

Note: It is advised to wait for 5 minutes and then turn on the self-heal and the Self-heal-daemon after the bricks are added.

Comment 12 Anees Patel 2019-01-31 13:26:37 UTC
Verified the updated doc,
Looks good to me.
Hence setting this to verified

Comment 14 Red Hat Bugzilla 2023-09-14 04:42:33 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days


Note You need to log in before you can comment on or make changes to this bug.