KeyValueStoreReplica.TryAbortExistingTransactionsAndRejectWrites Method

Definition

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