Class RedbClusterBootstrap
Bootstraps the cluster tree: ClusterRoot → Group.
On first startup creates the tree structure using redb.Tree API.
A concurrent first start on a fresh database is decided by the unique keys
(ValueUnique = cluster name / "{cluster}:{group}"): the loser of the creation
race re-reads the winner instead of creating a second tree — a split cluster by
duplicate roots is impossible by construction.
public sealed class RedbClusterBootstrap : IClusterBootstrap
Inheritance
Implements
Properties
Methods
InitializeAsync(CancellationToken)
Ensures the cluster tree structure exists. Creates root and group on first startup.
public Task InitializeAsync(CancellationToken ct = default)