test(adminui): SQL-Server-backed pins for the drift watermark aggregate and the rename scan's collation widening
This commit is contained in:
@@ -1448,6 +1448,9 @@ public sealed class RawTreeService(IDbContextFactory<OtOpcUaConfigDbContext> dbF
|
||||
// ScriptId, not Name: Name carries no unique index, and collapsing two same-named scripts into one
|
||||
// would change the count this warning reports.
|
||||
var matched = new Dictionary<string, string>(StringComparer.Ordinal);
|
||||
// Sequential batches: a rename at the 50k-distinct-path scale costs ~250 round-trips at 200 terms
|
||||
// each. Deliberate — a rename is an interactive one-off, and bounded memory + a translatable
|
||||
// predicate beat one giant OR-chain the provider would refuse (or plan pathologically).
|
||||
for (var offset = 0; offset < distinctPaths.Length; offset += ScriptScanBatchSize)
|
||||
{
|
||||
var batch = distinctPaths[offset..Math.Min(offset + ScriptScanBatchSize, distinctPaths.Length)];
|
||||
|
||||
Reference in New Issue
Block a user