Bug 1745967
Summary: | File size was not truncated for all files when tried with rebalance in progress. | ||
---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Nithya Balachandran <nbalacha> |
Component: | distribute | Assignee: | Nithya Balachandran <nbalacha> |
Status: | CLOSED NEXTRELEASE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | mainline | CC: | bugs, nbalacha, nchilaka, rhs-bugs, saraut, spalai, storage-qa-internal, tdesala |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | 1638333 | Environment: | |
Last Closed: | 2019-09-17 11:00:14 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: | 1638333 | ||
Bug Blocks: |
Description
Nithya Balachandran
2019-08-27 10:59:27 UTC
RCA: If a file was truncated during a migration, no error is returned by __dht_rebalance_migrate_data. Now, if the ia_size of the src file is less than the number of bytes written to the destination, we abort the data migration and error out. REVIEW: https://review.gluster.org/23308 (cluster/dht: Handle file truncates during migration) posted (#1) for review on master by N Balachandran REVIEW: https://review.gluster.org/23308 (cluster/dht: Handle file truncates during migration) merged (#3) on master by Susant Palai |