liuhao1024
25e2312230
fix(memory): skip drift guard for add (append-only) action ( #42874 )
...
The drift guard (introduced for #26045 ) correctly protects replace/remove
from clobbering un-roundtrippable content, but it also fires on the add
path. Since add only appends and never overwrites, the guard is
unnecessary and causes false positives when prior add() calls in the same
session shift the byte count of the on-disk file.
Add skip_drift parameter to _reload_target() and pass True from add().
Replace/remove continue to use the drift guard unchanged.
Salvaged from #42880 by @liuhao1024.
Closes #42874
2026-06-25 00:51:12 +05:30
..
2026-06-22 18:48:07 -05:00
2026-06-22 06:42:30 -07:00
2026-03-17 02:33:12 -07:00
2026-03-31 08:48:54 +09:00
2026-03-23 07:43:12 -07:00
2026-06-21 16:39:48 -07:00
2026-06-20 11:27:12 -07:00
2026-04-08 02:24:32 -07:00
2026-06-11 10:49:47 -07:00
2026-04-01 04:18:50 -07:00
2026-05-29 15:43:55 +10:00
2026-06-15 12:44:44 -04:00
2026-05-19 22:34:05 -07:00
2026-05-30 07:31:25 -07:00
2026-06-24 00:14:49 -07:00
2026-06-21 17:46:38 +05:30
2026-06-19 07:35:29 -07:00
2026-05-12 16:33:33 -07:00
2026-06-19 07:34:02 -07:00
2026-06-21 16:55:12 -07:00
2026-06-22 06:42:30 -07:00
2026-06-13 03:33:27 -07:00
2026-06-23 23:27:48 -07:00
2026-04-07 10:25:31 -07:00
2026-06-22 09:44:30 -07:00
2026-05-07 05:11:09 -07:00
2026-05-25 03:35:23 -07:00
2026-06-08 22:46:57 -07:00
2026-05-22 04:10:45 -07:00
2026-05-08 16:39:32 -07:00
2026-05-08 16:39:32 -07:00
2026-06-20 23:23:47 -07:00
2026-04-21 16:41:26 -07:00
2026-06-23 03:17:47 +05:30
2026-06-19 16:09:30 -07:00
2026-04-13 04:45:07 -07:00
2026-06-22 13:40:42 -07:00
2026-04-17 20:39:25 -07:00
2026-06-21 17:06:48 -07:00
2026-06-22 06:42:30 -07:00
2026-05-30 07:58:08 -07:00
2026-06-15 04:22:07 -07:00
2026-06-15 04:22:07 -07:00
2026-06-24 00:52:18 +05:30
2026-06-25 00:51:12 +05:30
2026-05-08 09:27:26 -07:00
2026-05-08 09:27:26 -07:00
2026-05-11 11:20:58 -07:00
2026-03-18 02:55:30 -07:00
2026-06-06 18:30:39 -07:00
2026-05-20 01:46:40 -05:00
2026-04-11 13:59:52 -07:00
2026-06-22 06:27:29 -07:00
2026-06-13 14:42:51 -07:00
2026-06-09 23:15:20 -05:00
2026-05-16 00:57:39 -07:00
2026-06-12 00:30:51 -05:00
2026-06-20 10:26:45 -07:00
2026-06-20 23:23:47 -07:00
2026-06-16 05:45:40 -07:00
2026-05-04 02:42:16 -07:00
2026-06-17 06:04:03 -07:00
2026-05-23 17:47:26 -07:00
2026-06-01 01:58:48 -07:00
2026-06-11 18:03:11 -04:00
2026-06-18 08:53:35 -07:00
2026-06-16 13:08:34 -07:00
2026-05-15 14:00:01 -07:00
2026-06-21 12:15:14 -07:00
2026-05-29 03:44:49 -07:00
2026-05-25 14:52:24 -07:00
2026-06-08 22:46:57 -07:00
2026-06-07 18:06:27 -07:00
2026-06-01 06:32:48 +05:30
2026-05-31 00:50:19 -07:00
2026-05-09 18:44:58 -07:00
2026-05-29 02:04:12 -07:00
2026-06-08 22:46:57 -07:00
2026-06-19 07:26:56 -07:00
2026-06-21 13:56:35 -07:00
2026-06-22 13:40:42 -07:00
2026-06-06 18:44:15 -07:00
2026-06-08 22:46:57 -07:00
2026-06-14 16:47:57 -07:00
2026-05-28 04:52:42 -07:00
2026-06-10 02:57:15 -07:00
2026-05-28 22:26:25 -07:00
2026-05-19 19:27:34 -07:00
2026-05-23 01:40:35 -07:00