Error between ottoman and couchnode gen_server interactive_update? capi_ddoc_manager-models?

Relevant version information: Couchbase 4.6.0, ottoman 1.0.4, couchbase-node 2.3.0

When calling ottoman’s ensureIndices function, the error message below is the result. I can’t quite tell what the error is other than that it has something to do with map/reduce views.

This does not seem to impact functioning of the code, it just results in an error message for now - but we’re having some other related issues with the node code communicating with couchbase, and so because this may be related it’s worth investigating, can’t be good.

Error: {gen_server,call,
        ['capi_ddoc_manager-models',
         {interactive_update,{doc,<<"_design/otto">>,
                                  {0,<<>>},
                                  <<"{\"views\":{\"count_items\":{\"map\":\"function(doc,meta){emit(doc._type,null);}\",\"reduce\":\"_count\"}}}">>,
                                  0,false,[]}},
         infinity]}

Some relevant (maybe) stack trace:

    at /src/dist/models/index.js:175:29
at handler (/src/node_modules/ottoman/lib/ottoman.js:958:9)
at /src/node_modules/ottoman/lib/cbstoreadapter.js:493:7
at handler (/src/node_modules/ottoman/lib/cbstoreadapter.js:298:7)
at /src/node_modules/couchbase/lib/bucketmgr.js:173:9
at IncomingMessage.<anonymous> (/src/node_modules/couchbase/lib/bucketmgr.js:13:7)
at emitNone (events.js:91:20)
at IncomingMessage.emit (events.js:188:7)

Hey @moxious,

This looks like an error with your Server deployment. Have you seen this show up in any other environment?

Cheers, Brett

No, I haven’t seen it show up anywhere else. Do you have any idea what kinds of conditions would lead to this? This is a case where couchbase is deployed in a docker container but there’s nothing terribly exotic about it.