pulsar-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] foreversunyao commented on issue #2952: Setting topic permission under load
Date Thu, 24 Jan 2019 12:32:11 GMT
foreversunyao commented on issue #2952: Setting topic permission under load
URL: https://github.com/apache/pulsar/issues/2952#issuecomment-457180629
 
 
   @HaraldGustafsson @sijie @merlimat ,
   Hi, I made a pr https://github.com/apache/pulsar/pull/3398/ for this issue , tried to add
a zknode for mutex(to be honest, it's only a short way like queue size is one, could not a
best way).
   
   Right now, what I think we could have 2 other ways to do **retry** thing except this one:
   - 1, use zk sequential node for a queue to do retry , could be smarter to do retry but
more logics in code , like check the sequence of request.
   - 2, use simple retry like sleep a while and retry until the timeout , but cant guarantee
grant order is same as the request order .
   
   any ideas ?  thanks
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


With regards,
Apache Git Services

Mime
View raw message