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/01/12 20:03:14 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-1011405127


   It would be interesting to see how it could plausibly get into that state. It looks like the entry process exited `normal` and we handled it in `handle_info` at `ddoc_cache_lru:handle_info/2(line:219)`. We [found](https://github.com/apache/couchdb/blob/3.x/src/ddoc_cache/src/ddoc_cache_lru.erl#L215) the Pid in the `Pids` table but the key, which we assumed would be present wasn't there.
   
   It could be a race condition somehow or multiple entries (Pids) point to the same key?


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