janl commented on issue #756: Make couch_peruser a proper Erlang app
URL: https://github.com/apache/couchdb/pull/756#issuecomment-334997645
 
 
   The one additional thing I want to do before getting this merged is handling 
the case when there are multiple shards of the `_users` db on the same node. 
That results in two or more `_changes` followers for those shards to initiate 
the db create/delete sequence concurrently.
   
   My idea so far here is to use a similar trick to the consistent node 
hashing: hashing the chance notification sans shard name against the listener 
pid. That should ensure only one create/delete sequence to be initiated.
   
   This also might help with the `ensure_security` issue above.
 
----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to