Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 46866 - Files on rsync mirrors change date though content didn't change
Summary: Files on rsync mirrors change date though content didn't change
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mirror Admins
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-05 08:39 UTC by Peter Simons
Modified: 2004-04-11 15:53 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Simons 2004-04-05 08:39:38 UTC
When doing an "emerge sync", it happens rather frequently that files on the server have a date-stamp a different from my local copies -- even though the files itself are identical. As a result, rsync has to process a largish list of files only to conclude, that nothing has changed. (Adding "-c" to the rsync flags would fix this.)

That's not really a major problem, but it's a waste of system resources nonetheless, so I wonder how it is possible that this phenomenon occurs? Shouldn't a file's date-stamp change *only* when the file itself changes?

Reproducible: Sometimes
Steps to Reproduce:
Comment 1 Kurt Lieber (RETIRED) gentoo-dev 2004-04-06 09:46:25 UTC
Nick -- any idea why this might happen?  
Comment 2 Nicholas Jones (RETIRED) gentoo-dev 2004-04-11 15:53:59 UTC
Which files exactly?

With the mirror and rsnyc1 settings, it shouldn't happen.
Metadata changing is perfectly understandable. Reverting
changes is perfectly understandable. Unless we're talking
hundreds of non-metadata files this is normal.


The entire file list is required anyway... 

-c would just increase load... And you can do that via
the '--debug' option for emerge. As far as it fixing
anything... You're making rsync do more work to ensure
that everything matches. size+timestamps are a shortcut.
Checksums are the long way.