GitHub user tsutsu opened a pull request:
https://github.com/apache/couchdb-couch-mrview/pull/41
Get running total workload size from work queue
Given the accompanying change to `couch_index_updater`, the total workload
processed in an index update is now unbounded. To ensure that the
`couch_task_status` remains meaningful in cases where work continues to be
found after the first `couch_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 update the `couch_task_status` with it. To do this, it
uses a new counter which has been introduced to `couch_work_queue` (`total_in`)
in an accompanying PR.
COUCHDB-2955
BugzID: 14036
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/cloudant/couchdb-couch-mrview
14036-loop-updater-until-caught-up
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/couchdb-couch-mrview/pull/41.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #41
----
commit 42a3f5af31d7687a0c70b6dc347a8e676743359f
Author: Levi McAuley <[email protected]>
Date: 2016-02-27T01:31:34Z
Get running total workload size from work queue
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---