Repository: couchdb-couch-mrview Updated Branches: refs/heads/master 5899436ae -> 15a1ae928
Convert pid of indexer to binary This is a fixup for https://github.com/apache/couchdb-couch-mrview/pull/62 Properties passed to couch_task_status:add_task cannot contain complex types. Because the status need to be representable in JSON. Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/commit/c49211cd Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/tree/c49211cd Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/diff/c49211cd Branch: refs/heads/master Commit: c49211cdca99a198235a6a8798692d8b1163f6bf Parents: 5899436 Author: ILYA Khlopotov <[email protected]> Authored: Thu Dec 1 16:51:46 2016 -0800 Committer: ILYA Khlopotov <[email protected]> Committed: Thu Dec 1 16:51:46 2016 -0800 ---------------------------------------------------------------------- src/couch_mrview_updater.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/blob/c49211cd/src/couch_mrview_updater.erl ---------------------------------------------------------------------- diff --git a/src/couch_mrview_updater.erl b/src/couch_mrview_updater.erl index 0ceaa40..214f487 100644 --- a/src/couch_mrview_updater.erl +++ b/src/couch_mrview_updater.erl @@ -38,7 +38,7 @@ start_update(Partial, State, NumChanges) -> Self = self(), MapFun = fun() -> couch_task_status:add_task([ - {indexer_pid, Partial}, + {indexer_pid, ?l2b(pid_to_list(Partial))}, {type, indexer}, {database, State#mrst.db_name}, {design_document, State#mrst.idx_name},
