Skip to content

JasperFx 2.87.1

Choose a tag to compare

@jeremydmiller jeremydmiller released this 13 Oct 23:38

What's new

  • IEventStore.TryDescribeDatabasesAsync(CancellationToken): the database half of TryCreateUsage. (#1013, for JasperFx/wolverine#5002)
    • Returns just the store's DatabaseUsage: each database's server, name and tenant ids. It skips the highest event sequence and the descriptions of every projection, subscription, event type and tag type.
    • It's a default interface member that falls back to TryCreateUsage()?.Database, so every existing store keeps working with no change.
    • Marten, Polecat and Fisher override it to ask their tenancy directly, in their next patch releases. Wolverine uses it, with RegisteredShardNames(), for agent assignment on every leader heartbeat.