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

    https://github.com/apache/spark/pull/1103#discussion_r13903517
  
    --- Diff: core/src/main/scala/org/apache/spark/storage/BlockManager.scala 
---
    @@ -363,6 +363,12 @@ private[spark] class BlockManager(
         val info = blockInfo.get(blockId).orNull
         if (info != null) {
           info.synchronized {
    +        // Double check to make sure the block is still there, since it
    +        // might has been removed when we actually come here.
    --- End diff --
    
    has -> have
    
    also can you point out in the comment that this only works because 
"removeBlock" also synchronizes on the block info object?


---
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.
---

Reply via email to