You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by iilyak <gi...@git.apache.org> on 2015/07/31 23:04:55 UTC

[GitHub] couchdb-couch-mrview pull request: Add call to couch_index_plugin:...

GitHub user iilyak opened a pull request:

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

    Add call to couch_index_plugin:index_update/4

    This is one of the series of PRs to make couchdb plugable. I'll provide complete list of dependent PRs in https://github.com/apache/couchdb-couch repository.

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

    $ git pull https://github.com/cloudant/couchdb-couch-mrview couch_epi_hooks

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

    https://github.com/apache/couchdb-couch-mrview/pull/23.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 #23
    
----
commit 62473c324dcc9512e778a2e5c3df06dc0b51afa4
Author: ILYA Khlopotov <ii...@ca.ibm.com>
Date:   2015-06-19T18:58:51Z

    Add call to couch_index_plugin:index_update/4

----


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] couchdb-couch-mrview pull request: Add call to couch_index_plugin:...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

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


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] couchdb-couch-mrview pull request: Add call to couch_index_plugin:...

Posted by kxepal <gi...@git.apache.org>.
Github user kxepal commented on a diff in the pull request:

    https://github.com/apache/couchdb-couch-mrview/pull/23#discussion_r36027722
  
    --- Diff: src/couch_mrview_updater.erl ---
    @@ -467,3 +469,9 @@ update_task(NumChanges) ->
                 (Changes2 * 100) div Total
         end,
         couch_task_status:update([{progress, Progress}, {changes_done, Changes2}]).
    +
    +
    +maybe_notify(State, View, KVs, ToRem) ->
    +    Updated = [Key || {{Key, _}, _} <- KVs],
    --- End diff --
    
    How big KVs and ToRem are here? Is it possible and reasonable to LBYL and check if anyone is actually waits for this notification?


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] couchdb-couch-mrview pull request: Add call to couch_index_plugin:...

Posted by rnewson <gi...@git.apache.org>.
Github user rnewson commented on the pull request:

    https://github.com/apache/couchdb-couch-mrview/pull/23#issuecomment-129788980
  
    +1


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---