rvansa opened a new pull request, #2034:
URL: https://github.com/apache/cassandra-java-driver/pull/2034

   This PR is somewhat based on discussions on 
https://lists.apache.org/thread/9sms1sk8fd739mp7699wrbj0vnd0kzd1
   
   If an application wants to use OpenJDK CRaC it must terminate all 
connections to nodes before checkpoint. Here we expose a high-level API in 
SessionLifecycleManager without relying on CRaC itself. Also it is pretty clear 
that it does not pose any risk to application that won't use this API.
   
   Our current goal is to support CRaC checkpoint in Spring Boot application. 
My first attempt in https://github.com/spring-projects/spring-boot/pull/44505 
was declined because the way Cassandra Java Driver was accessed seemed too 
low-level for Spring Boot; I expect that with the API this PR introduces the 
Spring Boot integration could just invoke the methods without relying on driver 
internals.
   
   I expect that in the future `SessionLifecycleManager` could expose methods 
for hinting the driver if all nodes died and the driver has to reconnect to a 
completely new node.


-- 
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.

To unsubscribe, e-mail: pr-unsubscr...@cassandra.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscr...@cassandra.apache.org
For additional commands, e-mail: pr-h...@cassandra.apache.org

Reply via email to