mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-05 10:37:23 +01:00
* filer/elastic: report a failed read as an error, not as a missing entry FindEntry returned filer_pb.ErrNotFound for any error from Elasticsearch other than not-found, so a lookup that timed out or met an unavailable cluster answered that an existing entry was gone. It now returns the error, as #13287 and #13289 made the TiKV, MongoDB, ArangoDB and RocksDB stores do. KvGet reported a value it could not decode as missing. It now returns the decode error. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * filer/elastic: keep a top-level directory whose lookup failed DeleteEntry looked up a top-level entry to decide whether to drop its index, and treated a failed lookup like a file: it deleted the entry and left the directory's index behind. Return the lookup error instead, so the delete fails and a retry drops the index. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Chris Lu <chrislusf@users.noreply.github.com>