fix(grpc-data): A3a review r1 — buffered in-stream re-snapshots, late completion + stale-on-incomplete + bounded retry, Primary-pinned condition streams, node-wide host-cap ledger, runner hand-over after stop, metadata failure Unavailable; NM: revalidation through the imported gate, demand released first, rebuild unwires, instance-keyed promotion, incremental folder index, verdict TTL + expiry, removal RefreshRequired, chunked refresh/replay, folder-only demand
Runtime tests: B1 multi-frame + capacity re-snapshot, B2 late completion / stale-on-incomplete / refused retry, B4 cross-connection / reverse order / records>total / delta growth, S3/S4 hand-over, S6, deviation 9, S2 IsActive generation; absence assertions now follow must-arrive controls.
This commit is contained in:
@@ -148,6 +148,16 @@ public interface IDataSubscriptionFreshnessSupport
|
||||
bool SupportsFreshnessChallenges { get; }
|
||||
int FreshnessMaxItems { get; }
|
||||
}
|
||||
/// <summary>
|
||||
/// A3 (review r1, deviation 9): a connection that can open a subscription served by the origin's <b>Primary</b> only —
|
||||
/// condition items are served by the Primary (a Secondary advertises the feature but refuses the item, A2 N7), so the
|
||||
/// consumer's condition stream must not land on a ReadyReplica Secondary the v1 value path would accept.
|
||||
/// </summary>
|
||||
public interface IDataPrimarySubscriptionSource
|
||||
{
|
||||
/// <summary>Like <see cref="IDataSubscriptionService.SubscribeAsync"/>, admitting only an endpoint whose serving role is Primary.</summary>
|
||||
Task<IDataSubscription> SubscribePrimaryAsync(CancellationToken cancellationToken);
|
||||
}
|
||||
/// <summary>Immutable serving identity captured when the subscription was established.</summary>
|
||||
public interface IDataSubscriptionProvenance
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user