Open
Description
Before a primary replica's RunAsync is called, StatefulServiceReplicaAdapter waits for the partition to become writable. This is currently done at a fixed interval of 512 ms, which could result in a delay of 512 ms for RunAsync to run on a primary replica. For applications that require fast primary replica switches, this is undesirable.
I would like to suggest making this value configurable instead of a constant of more than half a second.