Skip to content

Conversation

imsodin
Copy link
Member

@imsodin imsodin commented Aug 12, 2024

Reasoning in comments. The main motivation is to avoid all the case checks when walking the filesystem.

Reasoning in comments. The main motivation is to avoid all the case
checks when walking the filesystem.
Copy link
Member

@calmh calmh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well it sounds reasonable

@calmh calmh merged commit 7517d18 into syncthing:main Aug 13, 2024
21 checks passed
@calmh calmh added this to the v1.27.11 milestone Aug 13, 2024
@imsodin
Copy link
Member Author

imsodin commented Aug 13, 2024

I share that cursive feeling. I was pondering adding something like "I was wrong before, and I am right now - trust me" to the commit message...

@imsodin imsodin deleted the fs/casefs-outermost branch August 13, 2024 10:37
@calmh
Copy link
Member

calmh commented Aug 13, 2024

Yeah we'll see, won't we 🤨

calmh added a commit to calmh/syncthing that referenced this pull request Aug 19, 2024
* main: (46 commits)
  build: use Go 1.23, require minimum 1.22 (syncthing#9651)
  gui, man, authors: Update docs, translations, and contributors
  lib/fs: Put the caseFS as the outermost layer (syncthing#9648)
  gui: Add Irish (ga) translation template (syncthing#9646)
  gui, man, authors: Update docs, translations, and contributors
  lib/syncthing: Add wrapper for access to model (syncthing#9627)
  cli: Remove `go-shlex` dependency (syncthing#9644)
  lib/sha256: Remove it (syncthing#9643)
  build: Update dependencies (syncthing#9640)
  Chmod -x non-executable files (fixes syncthing#9629) (syncthing#9630)
  gui, man, authors: Update docs, translations, and contributors
  all: minimal set of changes for iOS app (syncthing#9619)
  gui, man, authors: Update docs, translations, and contributors
  gui, man, authors: Update docs, translations, and contributors
  etc: Remove restart on suspend systemd service (ref syncthing#8448) (syncthing#9611)
  gui, man, authors: Update docs, translations, and contributors
  lib/fs: Add missing locks to fakeFile methods (fixes syncthing#9499) (syncthing#9603)
  lib/api: Increase test request timeout (fixes syncthing#9455) (syncthing#9602)
  gui, man, authors: Update docs, translations, and contributors
  lib/ignore: Remove unused patterns in cache (syncthing#9601)
  ...
calmh added a commit that referenced this pull request Sep 6, 2024
calmh added a commit that referenced this pull request Sep 6, 2024
* release:
  Revert "lib/fs: Put the caseFS as the outermost layer (#9648)"
@andreymal
Copy link

Reverted in v1.27.12.

It seems it also broke my Syncthing instances: when one device deleted a file, another device displayed an error:

[TIPS2] INFO: Puller (folder "mystorage" (-), item "i-want-to-delete-this-file.txt"): syncing: delete file: file modified but not rescanned; will try again later
[TIPS2] INFO: "mystorage" (-): Failed to sync 1 items

and the deleted file was restored.

I was planning to send a bug report, but this seems to be fixed in v1.27.12, so I'm just leaving this note here

imsodin added a commit to imsodin/syncthing that referenced this pull request Sep 7, 2024
Reasoning in comments. The main motivation is to avoid all the case
checks when walking the filesystem.
calmh added a commit to calmh/syncthing that referenced this pull request Sep 11, 2024
* main:
  gui, man, authors: Update docs, translations, and contributors
  gui: Actually filter scope ID out of IPv6 address when using Remote GUI (ref syncthing#8084) (syncthing#9688)
  Revert "lib/fs: Put the caseFS as the outermost layer (syncthing#9648)"
  lib/api: Correct ordering of Accept-Language codes by weight (fixes syncthing#9670) (syncthing#9671)
  gui, man, authors: Update docs, translations, and contributors
  gui: Fix incorrect UI language auto detection (fixes syncthing#9668) (syncthing#9669)
  lib/model, lib/protocol: Index sending/receiving debugging (syncthing#9657)
  lib/upgrade: Send OS version header to upgrade server (syncthing#9663)
  lib/upgrade: Send OS version header to upgrade server (syncthing#9663)
  gui, man, authors: Update docs, translations, and contributors
calmh added a commit to calmh/syncthing that referenced this pull request Mar 20, 2025
* main:
  lib/fs: Put the caseFS as the outermost layer (syncthing#9648)
@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 Aug 13, 2025
@syncthing syncthing locked and limited conversation to collaborators Aug 13, 2025
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.

4 participants