yi111 and Yi-111-a
3e679e925e
filer: keep generated inodes inside the positive signed 64-bit range ( #11567 )
...
AsInode derives inodes from HashStringToLong, which is uniform over int64,
so roughly half of the derived values land above math.MaxInt64 once they are
converted to uint64. The Elasticsearch store indexes Entry.Attr.Inode as a
signed long, so those values are rejected with HTTP 400 and the metadata
entry is never written, which the filer then retries forever.
Fold the sign bit off in one place, util.NormalizeInode, and route both
derivation sites through it: FullPath.AsInode (path plus creation time) and
the hard-link branch in ensureEntryInode (HardLinkId hash). Masking keeps
the other 63 hash bits, so distinct paths still get distinct inodes, and it
applies identically to the FUSE mount, which derives the same value.
Co-authored-by: Yi-111-a <34116709+0-xiaosu@users.noreply.github.com >
2026-10-03 09:13:59 +08:00
..
2026-09-08 16:17:02 -07:00
2026-08-17 15:15:26 -07:00
2026-07-18 13:57:24 -07:00
2026-07-18 13:57:24 -07:00
2026-06-10 12:10:49 -07:00
2026-09-17 20:30:53 -07:00
2026-01-07 13:06:08 -08:00
2026-09-04 23:12:27 -07:00
2026-01-07 13:06:08 -08:00
2026-09-16 12:23:59 -07:00
2026-08-17 19:57:05 -07:00
2026-07-06 11:25:50 -07:00
2026-06-09 00:18:33 -07:00
2026-09-08 16:17:02 -07:00
2026-09-02 23:45:45 -07:00
2026-05-25 13:15:19 -07:00
2026-09-08 16:17:02 -07:00
2026-09-08 16:17:02 -07:00
2026-08-17 00:04:07 -07:00
2026-08-17 00:04:07 -07:00
2026-08-17 00:04:07 -07:00
2026-09-14 16:16:35 -07:00
2026-07-24 10:26:38 -07:00
2026-05-23 21:40:41 -07:00
2026-09-02 23:45:45 -07:00
2026-03-26 12:07:48 -07:00
2026-08-24 15:17:08 -07:00
2026-02-20 18:42:00 -08:00
2026-07-06 11:25:50 -07:00
2026-01-07 13:06:08 -08:00
2026-03-23 18:35:15 -07:00
2026-05-19 10:22:17 -07:00
2026-08-07 12:03:18 -07:00
2026-08-07 12:03:18 -07:00
2026-05-19 10:22:17 -07:00
2026-08-05 23:55:20 -07:00
2026-08-26 08:49:25 -07:00
2026-09-13 18:34:09 -07:00
2026-09-13 18:34:09 -07:00
2026-09-12 20:06:25 -07:00
2026-09-12 20:06:25 -07:00
2026-09-12 20:06:25 -07:00
2026-09-16 15:27:09 -07:00
2026-09-05 10:16:17 -07:00
2026-09-05 10:16:17 -07:00
2026-09-12 20:06:25 -07:00
2026-01-07 13:06:08 -08:00
2026-09-08 10:50:41 -07:00
2026-01-07 13:06:08 -08:00
2026-01-07 13:06:08 -08:00
2026-01-07 13:06:08 -08:00
2025-08-30 11:15:48 -07:00
2026-09-13 18:34:09 -07:00
2026-01-16 19:48:09 -08:00
2026-08-21 23:42:26 -07:00
2026-08-21 23:42:26 -07:00
2026-09-25 07:30:42 +08:00
2026-08-27 22:30:53 -07:00
2026-10-02 08:50:24 +08:00
2026-10-02 22:37:31 +08:00
2026-10-02 22:37:31 +08:00
2026-10-02 22:37:31 +08:00
2026-10-02 22:37:31 +08:00
2022-07-29 00:17:28 -07:00
2026-10-03 09:13:59 +08:00
2026-10-03 09:13:59 +08:00
2026-09-26 08:00:39 +08:00
2026-10-02 22:37:31 +08:00
2026-09-26 08:00:39 +08:00
2026-06-24 10:47:11 -07:00
2026-10-02 08:50:24 +08:00
2026-08-19 18:38:46 -07:00
2026-08-02 00:06:22 -07:00
2026-08-02 00:06:22 -07:00
2026-08-02 00:06:22 -07:00
2026-07-24 17:59:20 -07:00
2026-09-08 16:58:09 -07:00
2026-03-30 18:25:11 -07:00
2026-09-26 08:00:39 +08:00
2026-09-28 14:35:41 +08:00
2026-09-29 22:05:42 +08:00
2026-09-29 22:05:42 +08:00
2026-09-26 08:00:39 +08:00
2026-09-26 08:00:39 +08:00
2026-07-16 16:58:45 -07:00
2026-01-16 19:48:09 -08:00
2025-12-03 21:12:19 -08:00
2026-09-16 12:23:59 -07:00
2026-10-02 22:37:31 +08:00
2026-04-10 11:23:52 -07:00
2025-11-25 19:35:19 -08:00
2026-04-03 17:55:27 -07:00
2026-05-28 15:00:18 -07:00
2025-11-25 19:35:19 -08:00
2026-06-30 20:45:43 -07:00
2026-01-07 13:06:08 -08:00
2023-04-13 22:32:45 -07:00
2026-09-04 23:12:27 -07:00
2026-09-04 23:12:27 -07:00
2026-08-11 12:36:22 -07:00
2026-08-08 10:28:25 -07:00
2026-09-09 20:16:50 -07:00
2026-08-21 15:22:05 -07:00
2026-09-09 20:16:50 -07:00
2026-10-02 08:50:24 +08:00
2026-08-11 12:36:22 -07:00
2026-03-30 18:25:11 -07:00
2026-08-07 19:51:45 -07:00
2026-03-07 09:19:40 -08:00
2026-04-18 20:03:23 -07:00
2026-04-18 20:03:23 -07:00
2026-06-10 13:08:34 -07:00
2026-09-02 17:43:46 -07:00
2026-07-25 11:20:41 -07:00
2026-07-15 19:20:00 -07:00
2026-07-15 19:20:00 -07:00
2026-08-21 23:42:26 -07:00
2026-09-28 22:37:04 +08:00
2026-08-21 11:47:53 -07:00
2026-09-28 22:37:04 +08:00
2026-09-28 22:37:04 +08:00
2026-09-18 01:02:32 -07:00
2026-09-18 01:02:32 -07:00
2026-09-28 22:37:04 +08:00
2026-06-16 09:15:44 -07:00
2026-06-16 09:15:44 -07:00
2026-08-12 23:00:10 -07:00
2026-08-12 23:00:10 -07:00
2026-09-13 14:43:55 -07:00
2026-09-26 08:00:39 +08:00
2022-08-30 09:37:52 -07:00
2025-07-16 23:39:27 -07:00
2026-04-10 17:31:14 -07:00
2026-09-04 16:39:36 -07:00
2026-09-13 18:34:09 -07:00
2026-04-03 19:57:30 -07:00
2026-09-03 11:51:48 -07:00
2026-09-11 19:44:30 -07:00
2026-09-13 18:34:09 -07:00
2024-11-04 12:08:25 -08:00