TXDataTenantConnectionPool.InvalidateTenant Method
Drops the cached routing information of a tenant, so the next request re-reads the catalog.
Remarks
Call it after changing the tenant in the catalog (status, shard) to make the change effective immediately instead of waiting for the cache TTL.
Syntax
Unit: XData.Comp.TenantConnectionPool
procedure TXDataTenantConnectionPool.InvalidateTenant(const TenantId: string);
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| const | TenantId | string | The id of the tenant to invalidate. |