[Bugs] [Bug 1659378] New: posix_janitor_thread_proc has bug that can't go into the janitor_walker if change the system time forward and change back

bugzilla at redhat.com bugzilla at redhat.com
Fri Dec 14 08:24:11 UTC 2018


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

            Bug ID: 1659378
           Summary: posix_janitor_thread_proc has bug that can't go into
                    the janitor_walker if change the system time forward
                    and change back
           Product: GlusterFS
           Version: 3.12
            Status: NEW
         Component: posix
          Assignee: bugs at gluster.org
          Reporter: deqian.li at nokia.com
                CC: bugs at gluster.org
  Target Milestone: ---
    Classification: Community



Created attachment 1514311
  --> https://bugzilla.redhat.com/attachment.cgi?id=1514311&action=edit
this '((now - priv->last_landfill_check) > priv->janitor_sleep_duration)'
should change to if ( now < priv->last_landfill_check ||(now -
priv->last_landfill_check) > priv->janitor_sleep_duration)

Description of problem:

gluster volume heal xx info show stale gfid file for long time (maybe several
days)
Version-Release number of selected component (if applicable):
glusterfs 3.12.3

How reproducible:


Steps to Reproduce:
0.do I/O
1.ssh to storage node and change the system time forward 5 days like to
2018/12/19
2.change the time back to normal
3.check the gluster volume heal xx info

Actual results:
there is stale gfid file for long time

Expected results:
no stale gfid file for long time

Additional info:

-- 
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