iilyak commented on code in PR #4812:
URL: https://github.com/apache/couchdb/pull/4812#discussion_r1449094671


##########
src/couch/src/couch_db.erl:
##########
@@ -1982,6 +1983,7 @@ increment_stat(#db{options = Options}, Stat, Count) when
 ->
     case lists:member(sys_db, Options) of
         true ->
+            %% TODO: we shouldn't leak resource usage just because it's a 
sys_db

Review Comment:
   Hrmm. How we can do it? Are you planing to store `IS_SYSTEM_DB` key on 
process dictionary or something?
   
   Final solution to this question is out of scope for the first PR. TODO is 
good enough for first version of the feature.



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

Reply via email to