mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-09-20 13:30:46 +02:00
The invalidation callback looked the path up again after the subscription event arrived. A transient lookup failure, or a stale cached result, left the open handle pinned to its old entry with no retry: the cursor had already advanced, so only another event for the same path would recover it. Apply the entry the event itself carries: NewEntry for in-place updates and rename destinations, and keep the last entry when the path is vacated so unlinked-but-open reads still work.