You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Eli Stevens (JIRA)" <ji...@apache.org> on 2014/04/01 03:21:14 UTC

[jira] [Created] (COUCHDB-2218) gen_server timeout has unhelpful error message

Eli Stevens created COUCHDB-2218:
------------------------------------

             Summary: gen_server timeout has unhelpful error message
                 Key: COUCHDB-2218
                 URL: https://issues.apache.org/jira/browse/COUCHDB-2218
             Project: CouchDB
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: JavaScript View Server
            Reporter: Eli Stevens


It's not clear if this error is something that's actionable by the user or not:

https://gist.github.com/wickedgrey/d2c87e6ee1e7c695abae

It sounds like there's a bug ("sloppy") here, but I'm not certain.

>From IRC discussion:

4:40 PM rnewson: oh that's annoying
4:40 PM Wohali: gen_server timeout
4:40 PM rnewson: yeah, do we do a default timeout there for a view build? that's sloppy
4:40 PM Wohali: i bet, as it's not an os_process timeout
4:41 PM Wohali: which is what i would have expected to see
4:42 PM rnewson:
run(Pid, IdxState) ->
   gen_server:call(Pid, {update, IdxState}).

4:42 PM wickedgrey: the machine was in the middle of a test run at the time, which processes a lot of data under somewhat high load (roughly O(num_cores)), but we do this regularly and don't usually see this
4:42 PM rnewson:
couch_index_updater
ah, this one;
update(Mod, State) ->
   update(nil, Mod, State).




--
This message was sent by Atlassian JIRA
(v6.2#6252)