Juliusz Sompolski created SPARK-44855:
-----------------------------------------
Summary: Small tweaks to attaching ExecuteGrpcResponseSender to
ExecuteResponseObserver
Key: SPARK-44855
URL: https://issues.apache.org/jira/browse/SPARK-44855
Project: Spark
Issue Type: Improvement
Components: Connect
Affects Versions: 4.0.0
Reporter: Juliusz Sompolski
Small improvements can be made to the way new ExecuteGrpcResponseSender is
attached to observer.
* Since now we have addGrpcResponseSender in ExecuteHolder, it should be
ExecuteHolder responsibility to interrupt the old sender and that there is only
one at a time, and to ExecuteResponseObserver's responsibility
* executeObserver is used as a lock for synchronization. An explicit lock
object could be better.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]