Bug 1687672
Summary: | [geo-rep]: Checksum mismatch when 2x2 vols are converted to arbiter | |||
---|---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Karthik U S <ksubrahm> | |
Component: | geo-replication | Assignee: | Karthik U S <ksubrahm> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | ||
Severity: | high | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 6 | CC: | avishwan, bugs, csaba, khiremat, ksubrahm, nchilaka, pasik, pkarampu, rallan, ravishankar, rhinduja, rhs-bugs, sankarshan, sheggodu, storage-qa-internal, sunkumar | |
Target Milestone: | --- | Keywords: | ZStream | |
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | glusterfs-6.0 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | 1686568 | |||
: | 1687687 1687746 (view as bug list) | Environment: | ||
Last Closed: | 2019-03-12 20:52:19 UTC | Type: | --- | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | 1686568, 1724043 | |||
Bug Blocks: | 1672818, 1732875 |
Description
Karthik U S
2019-03-12 06:19:44 UTC
RCA: If arbiter brick is pending data heal, then self heal will just restore the timestamps of the file and resets the pending xattrs on the source bricks. It will not send any write on the arbiter brick. Here in the add-brick scenario, it will create the entries and then restores the timestamps and other metadata of the files from the source brick. Hence the data changes will not be marked on the changelog, leading to missing data on the slave volume after sync. Possible Fixes: 1. Do not mark arbiter brick as ACTIVE, as it will not have the changelogs for the data transactions happened when it was down/faulty even after the completion of heal. 2. Send 1 byte write on the arbiter brick from self heal as we do with the normal writes from the clients. REVIEW: https://review.gluster.org/22336 (cluster/afr: Send truncate on arbiter brick from SHD) merged (#2) on release-6 by Shyamsundar Ranganathan This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-6.0, please open a new bug report. glusterfs-6.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution. [1] https://lists.gluster.org/pipermail/announce/2019-March/000120.html [2] https://www.gluster.org/pipermail/gluster-users/ |