Class StorageInstanceGrouping

Assembly: redb.Tsak.Web.dll

Turns the instances a node reports into the databases they actually are.

Contexts declare instances, not databases. Identity alone declares the same three databases in five of its
contexts, which listed one per row is fifteen near-identical lines to choose from. They are grouped by the
fingerprint the node computes over the connection string — never by name, because two contexts may use one
name for different databases, and merging those would point the page's analyze button at the wrong one.

public static class StorageInstanceGrouping

Inheritance

Object→StorageInstanceGrouping

Methods

Group(IReadOnlyList<RedbInstanceInfo>?)

Groups the instances; the host's own storage comes first, the rest by name.

public static IReadOnlyList<StorageInstanceGroup> Group(IReadOnlyList<RedbInstanceInfo>? instances)