This repository was archived by the owner on May 25, 2021. It is now read-only.
Get running total workload size from work queue #41
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Given the accompanying change to
couch_index_updater
, the total workload processed in an index update is now unbounded. To ensure that thecouch_task_status
remains meaningful in cases where work continues to be found after the firstcouch_index_updater
update-loop,couch_mrview_updater
has been modified to dynamically find the total amount of work discovered and queued so far and use it to update thecouch_task_status
. To do this, it uses a new counter which has been introduced tocouch_work_queue
(total_in
) in an accompanying PR.COUCHDB-2955
BugzID: 14036