soulasuna opened a new issue, #20085:
URL: https://github.com/apache/shardingsphere/issues/20085

   ## Question about the actual needs of persist ephemeral
   
   **For English only**, other languages will not accept.
   
   Before asking a question, make sure you have:
   
   - Googled your question.
   - Searched open and closed [GitHub 
issues](https://github.com/apache/shardingsphere/issues).
   - Read documentation: [ShardingSphere 
Doc](https://shardingsphere.apache.org/document/current/en/overview).
   
   Please pay attention on issues you submitted, because we maybe need more 
details. 
   If no response anymore and we cannot reproduce it on current information, we 
will **close it**.
   
   #### Detail
   
   About the implementation of CuratorZookeeperRepository for persist Ephemeral 
method
   
   
![image](https://user-images.githubusercontent.com/33794770/184127375-95e3b294-1378-48d8-a05e-33adfb26c339.png)
   
   The implementation process is to first determine whether a key exists, and 
if a key exists, the key will be deleted first, and then the key will be 
persisted. Ignored a lot of exceptions
   
   
![image](https://user-images.githubusercontent.com/33794770/184127985-55609fb9-32d3-467c-8e24-15afc36670dc.png)
   
   Method calls are not transparent, consider adding a new method 
`persistExclusiveEphemeral()`, or refactoring `persist Ephemeral()`
   
   What is everyone's opinion?
   


-- 
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: 
[email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to