jiangxb1987 opened a new pull request #27972: [SPARK-31207][CORE] Ensure the 
total number of blocks to fetch equals to the sum of local/hostLocal/remote 
blocks
URL: https://github.com/apache/spark/pull/27972
 
 
   ### What changes were proposed in this pull request?
   
   Assert the number of blocks to fetch equals the number of local blocks + the 
number of hostLocal blocks + the number of remote blocks in 
ShuffleBlockFetcherIterator. Also refactor the code a bit to make it easier to 
follow.
   
   ### Why are the changes needed?
   
   When the numbers don't match it means something is going wrong, we should 
fail fast.
   
   ### Does this PR introduce any user-facing change?
   
   No. This is basically code refactoring.
   
   ### How was this patch tested?
   
   Tested with existing test suites.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to