A refusal lists what it refused foreign, as a pull lists it
Refuse reloads a refused key as a pull loads it, and now that includes the store's foreign list: a record another writer moved to an id this cache cannot read is listed in ForeignRecords after the refusal, so the next write of that key is refused at staging instead of again at the flush. Both store kinds give Refuse the durable record's foreign entry (ForeignAt); the variant refusal too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
c0007d1ca6
commit
b636a69f9d
3 changed files with 49 additions and 20 deletions
|
|
@ -254,6 +254,7 @@ public sealed class DirectoryMessagePackBackingStore : CacheBackingStore
|
|||
key => HeldAt(key) is { } held && Foreign(held, currentManifest.SchemaCatalog) == null
|
||||
? LoadPage(held, currentManifest.SchemaCatalog, out _, out _)
|
||||
: null,
|
||||
key => HeldAt(key) is { } held ? Foreign(held, currentManifest.SchemaCatalog) : null,
|
||||
key =>
|
||||
{
|
||||
_dirtyKeys.TryRemove(key, out _);
|
||||
|
|
|
|||
Loading…
Reference in a new issue