mridulm edited a comment on pull request #35959:
URL: https://github.com/apache/spark/pull/35959#issuecomment-1078654857


   Why not simply move the `blocks.remove(blockId)` in 
`BlockStatusPerBlockId.remove` within a `if (null != blocks) ` check  ?
   
   (Note, all invocations are within a BlockManagerMasterEndpoint event loop - 
so no MT issues : else all uses of `BlockStatusPerBlockId.blocks` would have 
been broken :-) ).


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



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

Reply via email to