wohali opened a new issue #1746: ini-file admin users always cause auth cache 
miss
URL: https://github.com/apache/couchdb/issues/1746
 
 
   When accessing CouchDB with an admin user defined ONLY in the ini file, the 
auth_cache_misses counter is incremented.
   
   ## Expected Behavior
   The counter should not increment.
   
   ## Current Behavior
   The counter does increment.
   
   ## Possible Solution
   auth_cache should have a filter of ini admins before logging the stat.
   
   A workaround is to create users in _users with identical credentials.
   
   ## Steps to Reproduce (for bugs)
   1. dev/run -n 1 -a user:pass
   2. curl http://user:pass@localhost:15984/_node/_local/_stats | jq 
.couchdb.auth_cache_misses
   3. Repeat and see the counter go up.
   
   ## Context
   Dashboards tracking auth cache misses will see their own activity reflected 
in the graph. AUGH!

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