C# write set: qualify MintStoredAt, and pin the variant write into a plain store another writer changed
ebd66e6fandcc8604aedo not build: the re-mint named MintStoredAt without its class. Two tests pin the staleness rule for a write that would add a variant to a plain store. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
cc8604ae94
commit
45d6866d31
2 changed files with 46 additions and 1 deletions
|
|
@ -3925,7 +3925,7 @@ namespace GameCult.Caching
|
|||
foreach (var staged in upserts)
|
||||
{
|
||||
if (replaced.TryGetValue(staged.Record.Key, out var durableAt) && !StoredLater(staged.Record.StoredAt, durableAt))
|
||||
staged.Record.StoredAt = MintStoredAt(durableAt);
|
||||
staged.Record.StoredAt = CultCache.MintStoredAt(durableAt);
|
||||
}
|
||||
|
||||
var written = upserts.Select(staged => staged.Record.Key).ToHashSet(StringComparer.Ordinal);
|
||||
|
|
|
|||
Loading…
Reference in a new issue