Github user JoshRosen commented on a diff in the pull request:

    https://github.com/apache/spark/pull/15085#discussion_r78655630
  
    --- Diff: core/src/main/scala/org/apache/spark/storage/BlockManager.scala 
---
    @@ -869,7 +876,19 @@ private[spark] class BlockManager(
               blockInfoManager.unlock(blockId)
             }
           } else {
    -        blockInfoManager.removeBlock(blockId)
    +        // If an exception was thrown then it's possible that the code in 
`putBody` has already
    +        // notified the master about the availability of this block, so we 
need to send an update
    +        // to remove this block location.
    +        removeBlockInternal(
    +          blockId, tellMaster = tellMaster && putBlockInfo.tellMaster && 
exceptionWasThrown)
    --- End diff --
    
    Yep, `tellMaster` will equal `putBlockInfo.tellMaster` in this branch. Let 
me update this to clarify.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to