Bug 1235934 - Allow only lookup and delete operation on file that is in split-brain
Summary: Allow only lookup and delete operation on file that is in split-brain
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: replicate
Version: 3.7.2
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: Ravishankar N
QA Contact:
URL:
Whiteboard:
Depends On: 1223738 1235007
Blocks: 1202842 1223636
TreeView+ depends on / blocked
 
Reported: 2015-06-26 06:37 UTC by Ravishankar N
Modified: 2015-07-30 09:47 UTC (History)
5 users (show)

Fixed In Version: glusterfs-3.7.3
Doc Type: Bug Fix
Doc Text:
Clone Of: 1235007
Environment:
Last Closed: 2015-07-30 09:47:07 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Ravishankar N 2015-06-26 06:37:40 UTC
+++ This bug was initially created as a clone of Bug #1235007 +++

+++ This bug was initially created as a clone of Bug #1223738 +++

Description of problem:
------------------------

Any operations on a file that is in data or meta-data split-brain should not be allowed, with the exception of lookups and deletes. 

Version-Release number of selected component (if applicable):
--------------------------------------------------------------
glusterfs-3.7.0-2.el6rhs.x86_64

How reproducible:
------------------
N/A

Steps to Reproduce:
--------------------
N/A

Actual results:
----------------

Operations other than lookup and delete (like stat, truncate etc.) are allowed on files in split-brain.

Expected results:
------------------

Allow only lookup and delete on a file that is in split-brain.

Additional info:

--- Additional comment from Red Hat Bugzilla Rules Engine on 2015-05-21 07:21:25 EDT ---

This bug is automatically being proposed for Red Hat Gluster Storage 3.2.0 by setting the release flag 'rhgs‑3.2.0' to '?'. 

If this bug should be proposed for a different release, please manually change the proposed release flag.

--- Additional comment from Rejy M Cyriac on 2015-06-08 08:07:30 EDT ---

Setting Target Release to RHGS 3.1.0 as this BZ has the release flag rhgs-3.1.0+

--- Additional comment from Anand Avati on 2015-06-23 14:00:51 EDT ---

REVIEW: http://review.gluster.org/11371 (afr: Block fops when file is in split-brain) posted (#1) for review on master by Ravishankar N (ravishankar)

--- Additional comment from Anand Avati on 2015-06-25 03:31:42 EDT ---

REVIEW: http://review.gluster.org/11371 (afr: Block fops when file is in split-brain) posted (#2) for review on master by Ravishankar N (ravishankar)

--- Additional comment from Anand Avati on 2015-06-25 22:30:10 EDT ---

REVIEW: http://review.gluster.org/11371 (afr: Block fops when file is in split-brain) posted (#4) for review on master by Ravishankar N (ravishankar)

--- Additional comment from Anand Avati on 2015-06-26 01:40:59 EDT ---

REVIEW: http://review.gluster.org/11371 (afr: Block fops when file is in split-brain) posted (#5) for review on master by Ravishankar N (ravishankar)

--- Additional comment from Anand Avati on 2015-06-26 02:00:21 EDT ---

REVIEW: http://review.gluster.org/11371 (afr: Block fops when file is in split-brain) posted (#6) for review on master by Ravishankar N (ravishankar)

Comment 1 Anand Avati 2015-06-26 06:39:10 UTC
REVIEW: http://review.gluster.org/11420 (afr: Block fops when file is in split-brain) posted (#1) for review on release-3.7 by Ravishankar N (ravishankar)

Comment 2 Kaushal 2015-07-30 09:47:07 UTC
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-3.7.3, please open a new bug report.

glusterfs-3.7.3 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] http://thread.gmane.org/gmane.comp.file-systems.gluster.devel/12078
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user


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