feat(grpc-data): H2 AddDataConnectionHistory schema; authoring accepts HistoryRead

Migration per plan 6 (HistoryTimeoutMilliseconds 30000; MaxConcurrentHistoryReads 4, MaxHistoryValuesPerPage
10000, MaxHistoryResponseBytes 4 MiB; MaxHistoryAssemblyBytesPerRequest 16 MiB) with non-null defaults and widened
check constraints. Validator known set grows by HistoryRead (mapping bits still subset of connection bits; history
limits positive); scope revision includes the history timeout.
This commit is contained in:
Joseph Doherty
2026-11-23 20:38:31 -05:00
parent 9d194a7e97
commit b6895c19d4
11 changed files with 2280 additions and 15 deletions
@@ -19,5 +19,11 @@ public sealed class DataExport
public int MaxPageItems { get; set; } = 500;
public int MaxMonitoredItems { get; set; } = 10000;
public int MaxStreams { get; set; } = 100;
/// <summary>H2: concurrent remote HistoryRead requests admitted per principal (past it ⇒ BadTooManyOperations).</summary>
public int MaxConcurrentHistoryReads { get; set; } = 4;
/// <summary>H2: per-node page ceiling of a remote raw read (an uncapped read pages at this and returns a continuation).</summary>
public int MaxHistoryValuesPerPage { get; set; } = 10000;
/// <summary>H2: response-byte cap; a larger answer is split into bounded chunks (chunk_continues).</summary>
public int MaxHistoryResponseBytes { get; set; } = 4 * 1024 * 1024;
public byte[] RowVersion { get; set; } = [];
}