[Bugs] [Bug 1174639] New: [SNAPSHOT]: Need logging correction during the lookup failure case.

bugzilla at redhat.com bugzilla at redhat.com
Tue Dec 16 08:38:44 UTC 2014


https://bugzilla.redhat.com/show_bug.cgi?id=1174639

            Bug ID: 1174639
           Summary: [SNAPSHOT]: Need logging correction during the lookup
                    failure case.
           Product: GlusterFS
           Version: 3.6.1
         Component: snapshot
          Assignee: bugs at gluster.org
          Reporter: rabhat at redhat.com
                CC: bugs at gluster.org, gluster-bugs at redhat.com,
                    spandit at redhat.com
        Depends On: 1146479



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

Description of problem:
When a lookup is issued, and if the entry is not found then snapview-client
will log failure stating that "Lookup on normal graph failed with error Stale
file handle". The failure is not in normal graph, hence it requires
modification.


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


How reproducible:


Steps to Reproduce:
1. create a gluster volume
2. mount the volume with fuse mount
3. "cd" into ".snaps" directory
4. mkdir "snap999" (assuming snapshot with snapname "snap999" is not present)
5. check the fuse logs

Actual results:


Expected results:


Additional info:

--- Additional comment from Anand Avati on 2014-09-25 07:20:13 EDT ---

REVIEW: http://review.gluster.org/8851 (USS : Decide the log entry based on the
type of graph.) posted (#1) for review on master by Sachin Pandit
(spandit at redhat.com)

--- Additional comment from Anand Avati on 2014-09-29 11:13:45 EDT ---

COMMIT: http://review.gluster.org/8851 committed in master by Vijay Bellur
(vbellur at redhat.com) 
------
commit 2736421b26ef03724297b62b4f07ad847c135709
Author: Sachin Pandit <spandit at redhat.com>
Date:   Thu Sep 25 08:32:52 2014 +0530

    USS : Decide the log entry based on the type of graph.

    Problem : When a lookup is issued, and if the entry is not found
    then snapview-client will log failure stating that
    "Lookup on normal graph failed with error Stale file handle"
    irrespective of type of graph it received call back from.

    Solution : Introduced a check to find out the graph from which
    the snapview-client received call-back.

    Change-Id: Iadd5b525c394be3675d40231711058e1cf1396cd
    BUG: 1146479
    Signed-off-by: Sachin Pandit <spandit at redhat.com>
    Reviewed-on: http://review.gluster.org/8851
    Reviewed-by: Raghavendra Bhat <raghavendra at redhat.com>
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Vijay Bellur <vbellur at redhat.com>


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1146479
[Bug 1146479] [SNAPSHOT]: Need logging correction during the lookup failure
case.
-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list