Table of Contents

TTenantProvisioner.OnProvisionShard Property

Callback invoked by AddTenant when the tenant's shard has no catalog record yet, before the tenant itself is provisioned.

Remarks

Create the shard database and/or register the shard in the catalog here. Typical with TShardPerTenantAllocator, where every new tenant implies a new shard database. Like OnProvisionTenant, it may run again on retries, so it must be idempotent.

Syntax

Unit: Aurelius.Tenancy.Provisioning

property TTenantProvisioner.OnProvisionShard: TProvisionShardProc

See also