nickva commented on a change in pull request #3127:
URL: https://github.com/apache/couchdb/pull/3127#discussion_r485341802
##########
File path: src/couch_views/src/couch_views_indexer.erl
##########
@@ -78,10 +86,10 @@ init() ->
fail_job(Job, Data, sig_changed, "Design document was modified")
end,
- Limiter = couch_rate:create_if_missing({DbName, DDocId}, "views"),
-
State = #{
tx_db => undefined,
+ tx_size => 0,
Review comment:
Yeah, makes sense. I was thinking of low cardinality ones just see a
range of transaction sizes and estimated limits, but you're right it would
bounce around too much and not be very useful.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]