Bug 1332293 - EROFS creating file when brick was offline during delete
Summary: EROFS creating file when brick was offline during delete
Keywords:
Status: CLOSED EOL
Alias: None
Product: GlusterFS
Classification: Community
Component: replicate
Version: 3.6.8
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: kvigor@fb.com
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-05-02 19:30 UTC by kvigor@fb.com
Modified: 2016-08-16 12:58 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-08-16 12:58:27 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description kvigor@fb.com 2016-05-02 19:30:52 UTC
If a file is deleted while a brick is offline, and a file by the same
    name is subsequently created once the brick has been brought back
    online but not fully healed, the brick returns the old, pre-deletion
    GFID for the file, This results in lack of consensus about the GFID,
    which is bad, and usually manifests as EROFS.

    Reproduce by repeatedly  untarring linux source tarball onto 2-way
    replicated volume while bringing the second replica server up and down
    every 30 seconds. Consistently fails within half an hour.

Comment 1 Vijay Bellur 2016-05-02 19:33:57 UTC
REVIEW: http://review.gluster.org/14153 (Fix race in file creation when brick was offline during delete.) posted (#1) for review on master by Kevin Vigor (kvigor)

Comment 2 Niels de Vos 2016-08-16 12:58:27 UTC
This bug is being closed as GlusterFS-3.6 is nearing its End-Of-Life and only important security bugs will be fixed. If you still face this bug with the newer GlusterFS versions, please open a new bug.


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