Bug 1659374

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: [Community] GlusterFS Reporter: lideqian <deqian.li>
Component: posixAssignee: bugs <bugs>
Status: CLOSED DUPLICATE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.12CC: bugs, pasik
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-04-17 12:27:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
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) none

Description lideqian 2018-12-14 08:17:50 UTC
Created attachment 1514308 [details]
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:

Comment 1 Yaniv Kaul 2019-04-17 12:27:47 UTC

*** This bug has been marked as a duplicate of bug 1659378 ***