Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-44855

Small tweaks to attaching ExecuteGrpcResponseSender to ExecuteResponseObserver

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              juliuszsompolski Juliusz Sompolski
              juliuszsompolski Juliusz Sompolski
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: