GitHub user iilyak opened a pull request:

    https://github.com/apache/couchdb-couch-mrview/pull/62

    Add reference to indexer Pid to task status

    When we run re-compaction stage we start second index updater from view 
compactor. In this case couch_task_status:all would return two identical 
entries for the same `design_document` and `shard`. Which is very confusing. 
Add reference to indexer Pid to disambiguate them.
    For the recompaction case the indexer_pid will be pointing to compaction 
task.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/cloudant/couchdb-couch-mrview 
77867-add-indexer-pid-to-task-status

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/couchdb-couch-mrview/pull/62.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 #62
    
----
commit b3b1b121f6a153f0e3febc95cfbace597e4a9aab
Author: ILYA Khlopotov <[email protected]>
Date:   2016-11-18T22:19:11Z

    Add reference to indexer Pid to task status
    
    When we run re-compaction stage we start second index updater from
    view compactor. In this case couch_task_status:all would return two
    identical entries for the same `design_document` and `shard`. Which is
    very confusing. Add reference to indexer Pid to disambiguate them.
    For the recompaction case the indexer_pid will be pointing to compaction 
task.

----


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

Reply via email to