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

    https://github.com/apache/spark/pull/22024#discussion_r213015245
  
    --- Diff: 
core/src/main/scala/org/apache/spark/broadcast/TorrentBroadcast.scala ---
    @@ -160,7 +160,13 @@ private[spark] class TorrentBroadcast[T: 
ClassTag](obj: T, id: Long)
               releaseLock(pieceId)
             case None =>
               bm.getRemoteBytes(pieceId) match {
    -            case Some(b) =>
    +            case Some(splitB) =>
    +
    +              // Checksum computation and further computations require the 
data
    +              // from the ChunkedByteBuffer to be merged, so we we merge 
it now.
    --- End diff --
    
    nit of the comment.


---

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

Reply via email to