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
Open
tsutsu wants to merge 1 commit intoapache:masterfrom
Open
Get running total workload size from work queue#41tsutsu wants to merge 1 commit intoapache:masterfrom
tsutsu wants to merge 1 commit intoapache:masterfrom
Conversation
Member
|
N.B.: This requires apache/couchdb-couch#147 and apache/couchdb-couch-index#14 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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_statusremains meaningful in cases where work continues to be found after the firstcouch_index_updaterupdate-loop,couch_mrview_updaterhas 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