Chris Lu
56c51e7f50
filer: serialize same-path mutations with a local lock
...
CreateEntry is a FindEntry-then-write with no lock, so concurrent creates to
the same path race: OExcl can admit two creators, and a conditional write has
no atomic check-then-act. Add a per-path exclusive lock (util.LockTable, which
evicts idle keys so it stays bounded) in the CreateEntry handler so the read
and the write are atomic on this filer. Once callers route a key's writes to
its owner filer, this local lock is the authoritative serialization point.
AppendToEntry moves from the distributed lock to the same per-path lock.
2026-05-22 22:24:16 -07:00
..
2026-05-06 19:14:36 -07:00
2026-03-18 13:20:55 -07:00
2026-05-14 20:55:37 -07:00
2026-04-03 16:04:27 -07:00
2026-01-03 22:45:48 -08:00
2026-04-27 01:58:33 -07:00
2026-05-12 13:00:52 -07:00
2026-05-22 22:24:16 -07:00
2026-03-30 23:29:56 -07:00
2026-03-30 23:29:56 -07:00
2026-01-07 13:06:08 -08:00
2026-04-21 23:00:11 -07:00
2026-04-21 23:00:11 -07:00
2026-04-22 17:56:15 -07:00
2026-05-22 22:24:16 -07:00
2026-04-14 20:48:24 -07:00
2026-04-21 11:25:09 -07:00
2026-04-21 11:25:09 -07:00
2026-04-21 11:25:09 -07:00
2026-04-21 11:25:09 -07:00
2026-05-20 11:26:37 -07:00
2026-05-20 11:26:37 -07:00
2026-03-29 14:18:24 -07:00
2026-01-07 13:06:08 -08:00
2026-05-22 22:24:16 -07:00
2026-05-12 10:10:48 -07:00
2026-03-23 18:35:15 -07:00
2026-04-16 15:51:13 -07:00
2026-05-15 13:15:20 -07:00
2026-05-15 13:15:20 -07:00
2026-03-11 23:32:09 -07:00
2026-04-03 16:04:27 -07:00
2026-01-07 13:06:08 -08:00
2026-04-27 01:58:33 -07:00
2026-04-16 15:51:13 -07:00
2026-04-16 15:51:13 -07:00
2026-04-16 15:51:13 -07:00
2026-05-12 10:10:48 -07:00
2026-02-20 18:42:00 -08:00
2026-04-16 15:51:13 -07:00
2025-12-14 21:56:07 -08:00
2026-05-22 22:24:16 -07:00
2026-05-21 10:19:59 -07:00
2026-05-21 10:19:59 -07:00
2026-04-11 11:30:47 -07:00
2026-01-07 13:06:08 -08:00
2025-12-19 00:15:39 -08:00
2026-04-04 11:50:43 -07:00
2026-03-30 23:29:56 -07:00
2026-05-13 13:56:20 -07:00
2026-05-17 19:13:09 -07:00
2026-02-22 23:45:48 -08:00
2026-04-11 11:30:47 -07:00
2026-05-12 18:22:21 -07:00
2026-03-18 23:28:07 -07:00
2026-02-09 07:46:34 -08:00
2026-03-18 23:28:07 -07:00
2026-04-15 12:29:31 -07:00
2026-04-10 17:31:14 -07:00
2026-05-13 19:29:24 -07:00
2026-05-11 13:50:48 -07:00
2026-05-11 13:50:48 -07:00
2026-05-17 11:31:37 -07:00
2026-05-18 15:19:51 -07:00
2026-05-18 15:19:51 -07:00
2026-05-19 14:58:56 -07:00
2026-05-19 14:58:56 -07:00
2026-05-11 13:50:19 -07:00
2026-04-22 11:22:21 -07:00
2026-05-12 10:11:20 -07:00
2026-05-12 10:11:20 -07:00
2026-05-04 21:14:55 -07:00
2026-02-06 10:58:43 -08:00
2026-02-02 13:21:02 -08:00
2026-02-02 13:21:02 -08:00
2026-05-04 21:14:55 -07:00
2026-04-03 16:04:27 -07:00
2026-04-27 12:22:42 -07:00
2026-04-24 11:45:21 -07:00
2025-12-16 13:42:18 -08:00
2026-05-12 13:00:52 -07:00
2026-04-16 15:51:13 -07:00
2026-01-07 13:06:08 -08:00