KeyValueStoreReplica.TryAbortExistingTransactionsAndRejectWrites Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Intended for use for migrating data from KVS to another data store. After calling, writes will remain blocked until replica restart. Checks whether KVS is ready for the final migration to another store. If this is called but KVS has not begun migration preparation (which would happen in the case of a KVS failover) this will begin preparation again.
public bool TryAbortExistingTransactionsAndRejectWrites ();
member this.TryAbortExistingTransactionsAndRejectWrites : unit -> bool
Public Function TryAbortExistingTransactionsAndRejectWrites () As Boolean
Returns
Boolean representing whether KVS is ready for final migration or not
Applies to
Azure SDK for .NET