Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

fix(filer): update hard link nlink/ctime when rename replaces a hard-linked target (#9020)

Chris Lu07cd74138022
diff --git a/test/pjdfstest/known_failures.txt b/test/pjdfstest/known_failures.txt
index b7ceb5be99..7eafe800c6 100644
--- a/test/pjdfstest/known_failures.txt
+++ b/test/pjdfstest/known_failures.txt
@@ -37,9 +37,9 @@ tests/truncate/03.t
tests/unlink/02.t
tests/unlink/03.t
-# ── Hard link nlink/ctime tracking (requires filer changes) ────────────
-# nlink counts are not correctly maintained across rename operations.
-tests/rename/23.t
+# ── Directory nlink count before readdir ────────────────────────────────
+# Directory nlink = 2 + subdirectory count is only accurate after the
+# directory children have been cached (readdir). Before that, nlink=2.
tests/rename/24.t
# ── Directory rename permission edge case ──────────────────────────────