You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2021/07/27 09:02:39 UTC

[GitHub] [pulsar] Shoothzj opened a new pull request #11463: Deep copy the tenants to avoid concurrent sort exception

Shoothzj opened a new pull request #11463:
URL: https://github.com/apache/pulsar/pull/11463


   ### Motivation
   Currently, the sort of tenants can be accessed from multi threads(pulsar-web jetty threads), which tenants are acquired from cache. So the concurrent sort of `tenants` could arise concurrent modification exception.
   
   ### Modifications
   
   Before the tenants sort, deep copy the list to avoid concurrent access.
   
   ### Documentation
   
   For this PR,  we don't need to update docs, because changes not visible from api.
   
   
   


-- 
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: commits-unsubscribe@pulsar.apache.org

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



[GitHub] [pulsar] eolivelli merged pull request #11463: Deep copy the tenants to avoid concurrent sort exception

Posted by GitBox <gi...@apache.org>.
eolivelli merged pull request #11463:
URL: https://github.com/apache/pulsar/pull/11463


   


-- 
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: commits-unsubscribe@pulsar.apache.org

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