nickva opened a new pull request, #6145: URL: https://github.com/apache/couchdb/pull/6145
When nodes return `not_found` for db doc deletion (the doc where the shardmap lives) `fabric_db_delete` tried to log a warnign with `~d` but passed a non-integer value which blew up with a 500 badarg instead of a nice 404. The value we tried to log was also wonky, the shard record from delete_shard_db_doc never actually set `dbname` so the warning would have printed `undefined` anyway. Fix it to print dbname instead. In the issue #6142 this was reproduced with a racing DELETE. Presumably it's when a read raced the deletion and shoved the shard map back into mem3 cache. It later gets evicted but a second DELETE in the meantimes got a 500. Fix: #6142 -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
