You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Canceling _changes request produces [error] level log in CDB.
With big amount of users on unreliable connections listening for changes in CDB, log gets flooded with error messages which are actually not errors. This affects also _stats endpoint which reports number of 500 errors, which makes monitoring for real errors impossible.
Description
Canceling _changes request produces [error] level log in CDB.
With big amount of users on unreliable connections listening for changes in CDB, log gets flooded with error messages which are actually not errors. This affects also _stats endpoint which reports number of 500 errors, which makes monitoring for real errors impossible.
Steps to Reproduce
Start docker :
Create users DB
curl -X PUT http://127.0.0.1:5984/_users -u admin
Initiate request for changes
curl "http://127.0.0.1:5984/_users/_changes?feed=longpoll&heartbeat=10000&since=now&limit=25" -u admin
Cancel it with Ctrl+C
After 30 seconds error message gets logged (docker logs couch_db)
Expected Behaviour
Canceling _changes request should not produce error level log message
Your Environment
2.3.1 official couchdb docker image
The text was updated successfully, but these errors were encountered: