Table of Contents

TShardInfo Record

Snapshot of the catalog information of a shard: identity, status and allocation weight.

Syntax

Unit: Aurelius.Tenancy.Types

TShardInfo = record;

Fields

Name Description
ShardId The unique logical shard identifier. The catalog never stores connection settings or credentials; only this logical id.
Status The status of the shard.
Weight Relative weight used by weighted shard allocators: a shard with a higher weight receives proportionally more new tenants.

Methods

Name Description
Empty Returns an empty TShardInfo record, used to represent an unknown shard.
IsEmpty Indicates whether the record is empty (no shard).