Skip to content

LogConsistencyProvider Properties

A log-consistency provider that relies on grain-specific custom code for reading states from storage, and appending deltas to storage. Grains that wish to use this provider must implement the Orleans.EventSourcing.CustomStorage.ICustomStorageInterface interface, to define how state is read and how deltas are written. If the provider attribute "PrimaryCluster" is supplied in the provider configuration, then only the specified cluster accesses storage, and other clusters may not issue updates.

PrimaryCluster

get
View source
public string PrimaryCluster
Specifies a cluster id of the primary cluster from which to access storage exclusively, null if storage should be accessed directly from all clusters.