315157973 commented on pull request #9850:
URL: https://github.com/apache/pulsar/pull/9850#issuecomment-796563386


   I thought of these solutions:
   
   1 Tag Policies with the version of zk, lock them when reading the cache, and 
clone a copy of Policies. When updating to zk, if the version is incorrect, 
re-read the latest cache of zk and redo the modification, and then update.
   
   2 In the unit of namespace, all namespace operations are put into 
orderExecutor, and each namespace is processed by a fixed thread. Then call 
back.
   
   I tend to use method 2, and this PR will be closed
   
   @lhotari 


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


Reply via email to