brkyvz opened a new pull request #26018: Track active streaming queries in the 
SparkSession.sharedState
URL: https://github.com/apache/spark/pull/26018
 
 
   ### What changes were proposed in this pull request?
   
   
   This moves the tracking of active queries from a per SparkSession state, to 
the shared SparkSession for better safety in isolated Spark Session 
environments.
   
   ### Why are the changes needed?
   
   We have checks to prevent the restarting of the same stream on the same 
spark session, but we can actually make that better in multi-tenant 
environments by actually putting that state in the SharedState instead of 
SessionState. This would allow a more comprehensive check for multi-tenant 
clusters.
   
   ### Does this PR introduce any user-facing change?
   
   No
   
   ### How was this patch tested?
   
   WIP

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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]

Reply via email to