viirya commented on a change in pull request #23521: [SPARK-26604][CORE] Clean
up channel registration for StreamManager
URL: https://github.com/apache/spark/pull/23521#discussion_r247852165
##########
File path:
common/network-common/src/main/java/org/apache/spark/network/server/OneForOneStreamManager.java
##########
@@ -58,9 +59,10 @@
// Used to keep track of the number of chunks being transferred and not
finished yet.
volatile long chunksBeingTransferred = 0L;
- StreamState(String appId, Iterator<ManagedBuffer> buffers) {
+ StreamState(String appId, Iterator<ManagedBuffer> buffers, Channel
channel) {
this.appId = appId;
this.buffers = Preconditions.checkNotNull(buffers);
+ this.associatedChannel = channel;
Review comment:
Done.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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]