Pace2Car commented on issue #24338: URL: https://github.com/apache/shardingsphere/issues/24338#issuecomment-1479004654
> @Pace2Car Yes, you are right! > > > Some problems occur in the implementation of cluster locks. The current distributed locks implemented by ShardingSphere are thread locks, which are used to ensure the atomicity of some operations. > > But in this feature, we need a process-level lock, so that after the backup and recovery operation is completed, it can be unlocked in a new thread as the owner of the lock. I refactored the implementation of cluster lock/unlock in #24736 to avoid the problem of not being able to unlock in other threads, so this problem has been solved. -- 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]
