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

Introduce IsolatedThreadSafeRpcEndpoint to extend IsolatedRpcEndpoint

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.4.8, 3.0.3, 3.1.3, 3.2.2, 3.3.1
    • 3.4.0
    • Spark Core
    • None

    Description

      The current RpcEndpoint extension to IsolatedRpcEndpoint always implies that it's thread-safe. However,  it's not explicit to developers. So people may mistakenly override the IsolatedRpcEndpoint#threadCount with more than 1 threadCount leading to the thread-safety broken.

      Attachments

        Issue Links

          Activity

            People

              Ngone51 wuyi
              Ngone51 wuyi
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: