Skip to content

lib/fs: Reproduce and fix spurious mtime changes (ref #9677) - #9680

Closed
imsodin wants to merge 4 commits into
syncthing:mainfrom
imsodin:fs/fakefs_secondprecision
Closed

imsodin wants to merge 4 commits into
syncthing:mainfrom
imsodin:fs/fakefs_secondprecision

Conversation

@imsodin

@imsodin imsodin commented Sep 4, 2024 •

Copy link
Copy Markdown
Member

@calmh found the issue/reproducer here: #9685 (comment)
I created a unit test that repros the issue with the changed caseFS wrapping (otherwise there is no issue). And I added a commit with one option to fix it: Only caching the cache, not the entire FS. Still to be decided if we want to cache at all.

@imsodin imsodin changed the title lib/fs: Try to reproduce spurious mtime changes (ref #9677) lib/fs: Reproduce and fix spurious mtime changes (ref #9677) Sep 7, 2024
I tried to prove something with the test that was wrong, now I don't
need the fakefs functionality anymore. Might be useful though thus
keeping around this commit/branch.
Reasoning in comments. The main motivation is to avoid all the case
checks when walking the filesystem.
@imsodin
imsodin force-pushed the fs/fakefs_secondprecision branch 3 times, most recently from 1e666a1 to 8934ae8 Compare September 7, 2024 21:34
@imsodin
imsodin force-pushed the fs/fakefs_secondprecision branch from 8934ae8 to ba362d8 Compare September 7, 2024 21:37
@imsodin imsodin closed this Sep 12, 2024
@st-review st-review added the frozen-due-to-age Issues closed and untouched for a long time, together with being locked for discussion label Jul 1, 2026
@syncthing syncthing locked and limited conversation to collaborators Jul 1, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

frozen-due-to-age Issues closed and untouched for a long time, together with being locked for discussion

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants