feat(historian): SQL Server retention purge (RetentionDays, Primary-gated, applock) (#667)

This commit is contained in:
Joseph Doherty
2026-10-11 08:21:30 -04:00
parent db6a53036b
commit 924eff8d3c
13 changed files with 602 additions and 2 deletions
@@ -39,4 +39,9 @@ public interface IHistorianBackendProvider
/// <param name="sp">Service provider.</param>
/// <returns>The updater, or <c>null</c> when the backend does not support HistoryUpdate.</returns>
IHistorianDataUpdater? CreateUpdater(IServiceProvider sp);
/// <summary>Creates the retention purge seam, if the backend manages retention in-process.</summary>
/// <param name="sp">Service provider.</param>
/// <returns>The purger, or <c>null</c> (default) when the backend has no retention or enforces it itself.</returns>
IHistorianRetention? CreateRetention(IServiceProvider sp) => null;
}