Soft flush: pin the host and node passthroughs with a held record (absent writes, readable skips, unreadable refuses); XML-doc the one meaning on the three FlushAsync(bool soft) overloads
Some checks failed
CultMesh portability and performance / ubuntu-latest reactive semantics and leases (pull_request) Has been cancelled

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Libby 2026-11-12 23:23:31 +00:00
commit 8df0c4b25a
4 changed files with 77 additions and 2 deletions

View file

@ -428,7 +428,10 @@ namespace GameCult.Mesh
}
/// <summary>
/// Flushes the durable cache.
/// Flushes the durable cache. With <paramref name="soft"/> the flush has one meaning, decided by the store's own
/// read and never by what the cache holds in memory: a store with nothing at its path is written; a store that reads
/// (empty included) is skipped and its staged writes stay staged; a store that cannot be read refuses with
/// <see cref="CultStoreUnreadableException"/> and is left untouched.
/// </summary>
public Task FlushAsync(bool soft = false)
{