Bug 1659374 - posix_janitor_thread_proc has bug that can't go into the janitor_walker if change the system time forward and change back
Summary: posix_janitor_thread_proc has bug that can't go into the janitor_walker if ch...
Keywords:
Status: CLOSED DUPLICATE of bug 1659378
Alias: None
Product: GlusterFS
Classification: Community
Component: posix
Version: 3.12
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: bugs@gluster.org
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-12-14 08:17 UTC by lideqian
Modified: 2019-04-17 12:27 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-04-17 12:27:47 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)
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) (1.55 KB, text/plain)
2018-12-14 08:17 UTC, lideqian
no flags Details

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


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