File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
core/src/main/scala/kafka/server Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1636,7 +1636,7 @@ class ReplicaManager(val config: KafkaConfig,
16361636 /**
16371637 * Process all remote fetches by creating async read tasks and handling them in DelayedRemoteFetch collectively.
16381638 */
1639- private def processRemoteFetches (remoteFetchInfos : util.HashMap [TopicIdPartition , RemoteStorageFetchInfo ],
1639+ private def processRemoteFetches (remoteFetchInfos : util.LinkedHashMap [TopicIdPartition , RemoteStorageFetchInfo ],
16401640 params : FetchParams ,
16411641 responseCallback : Seq [(TopicIdPartition , FetchPartitionData )] => Unit ,
16421642 logReadResults : Seq [(TopicIdPartition , LogReadResult )],
@@ -1675,7 +1675,7 @@ class ReplicaManager(val config: KafkaConfig,
16751675 var errorReadingData = false
16761676
16771677 // topic-partitions that have to be read from remote storage
1678- val remoteFetchInfos = new util.HashMap [TopicIdPartition , RemoteStorageFetchInfo ]()
1678+ val remoteFetchInfos = new util.LinkedHashMap [TopicIdPartition , RemoteStorageFetchInfo ]()
16791679
16801680 var hasDivergingEpoch = false
16811681 var hasPreferredReadReplica = false
You can’t perform that action at this time.
0 commit comments