Bug 1686568
| Summary: | [geo-rep]: Checksum mismatch when 2x2 vols are converted to arbiter | |||
|---|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Karthik U S <ksubrahm> | |
| Component: | geo-replication | Assignee: | hari gowtham <hgowtham> | |
| Status: | CLOSED DUPLICATE | QA Contact: | ||
| Severity: | high | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | mainline | CC: | bugs, csaba, hgowtham, khiremat, ksubrahm, nchilaka, pkarampu, ravishankar, rhinduja, rhs-bugs, sheggodu, storage-qa-internal, sunkumar | |
| Target Milestone: | --- | Keywords: | Reopened, ZStream | |
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | 1683893 | |||
| : | 1687672 (view as bug list) | Environment: | ||
| Last Closed: | 2020-02-04 09:16:45 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: | ||||
| Bug Blocks: | 1683893, 1687672, 1687687, 1687746, 1724043 | |||
|
Comment 1
Karthik U S
2019-03-07 17:42:22 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/22325 (cluster/afr: Send 1byte write on to arbiter brick from SHD) posted (#1) for review on master by Karthik U S REVIEW: https://review.gluster.org/22325 (cluster/afr: Send truncate on arbiter brick from SHD) merged (#10) on master by Karthik U S Issue is not fixed yet, moving the bug to assigned state. Closing this bug as this bug is being addressed by BZ#1724043. *** This bug has been marked as a duplicate of bug 1724043 *** |