You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2022/03/28 22:49:17 UTC
[GitHub] [couchdb] nickva commented on pull request #3890: Handle `not_found` lookups removing ddoc cache key
nickva commented on pull request #3890:
URL: https://github.com/apache/couchdb/pull/3890#issuecomment-1081227474
@jaydoane interesting find. I stared some more at the code and still couldn't figure how we could end up with a not_found in https://github.com/apache/couchdb/blob/f801d400bd880644e74098070da82b5703ff0477/src/ddoc_cache/src/ddoc_cache_lru.erl#L299
The update to the Pids and Dbs khashes happen only in the ddoc_cache_lru `gen_server` https://github.com/apache/couchdb/blob/3.x/src/ddoc_cache/src/ddoc_cache_lru.erl#L122-L126 so I couldn't come up with a sequence of events to end up with them out of sync.
--
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: notifications-unsubscribe@couchdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org