Skip to content

Commit

Permalink
temp
Browse files Browse the repository at this point in the history
  • Loading branch information
zaynt4606 committed Dec 19, 2024
1 parent be09397 commit 8303f58
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -613,9 +613,9 @@ class PushDataHandler(val workerSource: WorkerSource) extends BaseMessageHandler
peer.getReplicatePort)
if (unavailablePeers.containsKey(peerWorker)) {
for (fileWriterIndex <- 0 until totalFileWriters) {
if (fileWriters(fileWriterIndex) != null &&
!pushMergedDataCallback.isHardSplitPartition(fileWriterIndex)) {
fileWriters(fileWriterIndex).decrementPendingWrites()
val fileWriter = fileWriters(fileWriterIndex)
if (fileWriter != null && !pushMergedDataCallback.isHardSplitPartition(fileWriterIndex)) {
fileWriter.decrementPendingWrites()
}
}
handlePushMergedDataConnectionFail(pushMergedDataCallback, location)
Expand Down

0 comments on commit 8303f58

Please sign in to comment.