couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject [34/50] couch commit: updated refs/heads/master to 9d0ac7d
Date Thu, 28 Aug 2014 12:12:10 GMT
Store the language as a binary in ets

This was breaking pattern matching and never reusing OS processes. The
new hard limit in CouchDB caused the bug to manifest where we'd not seen
it previously.


Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch/commit/7b902b8f
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch/tree/7b902b8f
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch/diff/7b902b8f

Branch: refs/heads/master
Commit: 7b902b8fdb080997a4bdca6800000654df4217a6
Parents: ca9d042
Author: Paul J. Davis <paul.joseph.davis@gmail.com>
Authored: Mon Aug 11 14:03:41 2014 -0500
Committer: Robert Newson <rnewson@apache.org>
Committed: Thu Aug 28 13:00:02 2014 +0100

----------------------------------------------------------------------
 src/couch_proc_manager.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/7b902b8f/src/couch_proc_manager.erl
----------------------------------------------------------------------
diff --git a/src/couch_proc_manager.erl b/src/couch_proc_manager.erl
index 541686c..33ef06c 100644
--- a/src/couch_proc_manager.erl
+++ b/src/couch_proc_manager.erl
@@ -355,7 +355,7 @@ teach_ddoc(DDoc, {DDocId, _Rev}=DDocKey, #proc_int{ddoc_keys=Keys}=Proc)
->
 
 make_proc(Pid, Lang, Mod) ->
     Proc = #proc_int{
-        lang = Lang,
+        lang = couch_util:to_binary(Lang),
         pid = Pid,
         prompt_fun = {Mod, prompt},
         set_timeout_fun = {Mod, set_timeout},


Mime
View raw message