Bug 1165097 - [USS]: data unavailability for a period of time when USS is enabled/disabled
Summary: [USS]: data unavailability for a period of time when USS is enabled/disabled
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: snapshot
Version: rhgs-3.0
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
: RHGS 3.0.3
Assignee: Vijay Bellur
QA Contact: Rahul Hinduja
URL:
Whiteboard: USS
Depends On:
Blocks: 1162694 1168643
TreeView+ depends on / blocked
 
Reported: 2014-11-18 10:43 UTC by Rahul Hinduja
Modified: 2016-09-17 13:01 UTC (History)
10 users (show)

Fixed In Version: glusterfs-3.6.0.35-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1168643 (view as bug list)
Environment:
Last Closed: 2015-01-15 13:42:35 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:0038 0 normal SHIPPED_LIVE Red Hat Storage 3.0 enhancement and bug fix update #3 2015-01-15 18:35:28 UTC

Description Rahul Hinduja 2014-11-18 10:43:11 UTC
Description of problem:
=======================

The data which is created from NFS client disappear for a brief when USS is enabled/disabled.

[root@wingo vol0]# ls
etc
[root@wingo vol0]# ls
etc  etc1
[root@wingo vol0]# ls
etc
[root@wingo vol0]# ls
etc  etc1
[root@wingo vol0]# ls
etc  etc1
[root@wingo vol0]# ls
etc
[root@wingo vol0]# ls
etc  etc1
[root@wingo vol0]# ls
etc  etc1

In the above output directory etc is created from the fuse mount and etc1 is created from the nfs mount. ls is performed from the fuse mount. And is happening whenever tried to enable/disable uss from server

Version-Release number of selected component (if applicable):
==============================================================

glusterfs-3.6.0.32-1.el6rhs.x86_64


How reproducible:
=================

Was able to reproduce multiple times


Steps to Reproduce:
===================
1. Create 4 node cluster 
2. Create and start 2x2 volume
3. Mount the volume (Fuse and NFS) on /mnt/vol0 and /mnt/nvol0 respectively
4. From Fuse cp -rf /etc /mnt/vol0/
5. From NFS cp -rf /etc /mnt/nvol0/etc1
6. From server do gluster volume set vol0 uss on/off in a loop
7. While uss enable/disable is in progress do ls from fuse mount on /mnt/vol0/

Actual results:
================

Some time it shows the data which is created from nfs and some times it doesn't show


Expected results:
=================

Data was created before performing enable/disable, it should show always


Additional info:
================

If not performing uss on/off, the data is always present

Comment 6 Anand Subramanian 2014-11-25 10:47:03 UTC
Question : is there any sleep between doing the uss enable and disable in a loop?

Comment 7 rjoseph 2014-11-26 08:44:02 UTC
(In reply to Anand Subramanian from comment #6)
> Question : is there any sleep between doing the uss enable and disable in a
> loop?

Just wondering if this has any impact on data unavailability on the main volume? 
It would be great if you can share any such known issues if exists.

Comment 12 Vijaikumar Mallikarjuna 2014-12-01 06:18:28 UTC
Patch submitted: https://code.engineering.redhat.com/gerrit/#/c/37548

Comment 15 errata-xmlrpc 2015-01-15 13:42:35 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-0038.html


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