forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
loqrecovery: permit out of order ReplicaInfos in CollectRemoteReplica…
…Info Informs cockroachdb#122639. This commit updates `CollectRemoteReplicaInfo` to permit out-of-order ReplicaInfo responses, instead of assuming that the responses are in order by node ID. This is a precursor to being able to perform a parallel fanout in RecoveryCollectReplicaInfo. The migration story for this is simple — this is only needed if the MaxParallelism passed to RecoveryCollectReplicaInfo is greater than 1. Old versions of the cockroachdb binary that can not tolerate out of order responses will always pass a MaxParallelism of 0, so the assumption that they are making about in-order responses will still hold. Release note: None
- Loading branch information
1 parent
fac74db
commit e04d53d
Showing
1 changed file
with
19 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters