Path: redb-tsak/src/redb.Tsak.Core/Services/Storage/TsakStorageScope.cs Snapshot: redb-tsak, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages. License: Apache-2.0. Repository: https://github.com/redbase-app/redb-tsak Page: https://redbase.app/src/dev-2026-12-06/redb-tsak/src/redb.Tsak.Core/Services/Storage/TsakStorageScope.cs ---- using Microsoft.Extensions.Configuration; namespace redb.Tsak.Core.Services.Storage; /// /// Cluster scope of the redb-backed Tsak stores. Several Tsak clusters may share one database, so a /// stored key carries the cluster name from Tsak:Cluster:ClusterName. The default matches the /// cluster options of redb.Tsak.Core.Pro, and a host without cluster mode uses it as well. /// internal static class TsakStorageScope { public const string DefaultClusterName = "default"; public static string ClusterName(IConfiguration? configuration) => configuration?["Tsak:Cluster:ClusterName"] is { } name && !string.IsNullOrWhiteSpace(name) ? name : DefaultClusterName; }