disabling auto generated id should happen on the state the primary operation happened on
we check, before we operate on the replica, if the state has changed, and we need to apply the replica operations to the new state. But, we should make sure we disable the auto generate id on the state the primary operation happened on, since the replica might have gone through recovery, move to started, and then the shard routing will be started in the new state we sample in the replica operation