You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2020/11/24 08:04:44 UTC

[GitHub] [shardingsphere] menghaoranss edited a comment on issue #8060: Design global lock for registry in multiple proxies case

menghaoranss edited a comment on issue #8060:
URL: https://github.com/apache/shardingsphere/issues/8060#issuecomment-732726042


   Task list:
   
   **1. Implement global asynchronous lock**
     - [ ] 1.1. Initialize the distributed lock module in the governance project
     - [ ] 1.2. Realize global lock
     - [ ] 1.3. Design and implement proxy state queue
     - [ ] 1.4. Implement proxy to monitor global lock and  lock itsself
     - [ ] 1.5. Achieve unlock after the proxy completes metadata synchronization
     - [ ] 1.6.Try to acquire the global lock before ddl execution, asynchronously notify the cluster to lock, and release the lock after the execution is complete
     - [ ] 1.7. Improve unit tests
   
   
   
   **2.Synchronous processing & Blocking requests & Improve** 
     - [ ] 2.1. Realize the lock confirmation process before executing ddl
     - [ ] 2.2. Implement blocking requests in proxy lock state
     - [ ] 2.3. Realize the proxy blocking state after ddl execution is completed
     - [ ] 2.4. Optimize the process of ddl lock failure
     - [ ] 2.5. Optimize the online and offline situation of the proxy during the lock process
     - [ ] 2.6. Improve unit tests


----------------------------------------------------------------
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:
users@infra.apache.org