Couchbase: Cannot perform operations on a shutdown bucket

前端 未结 5 1049
南方客
南方客 2021-01-06 12:06

I am getting this error when try to insert 2M objects via node.js into Couchbase. 1M works fine.

C:\\Users\\Administrator\\Desktop\\node_modules\\couc

5条回答
  •  遥遥无期
    2021-01-06 12:17

    You need to check the compatibility between the couchbase server version and the couchbase npm package version.

    On my machine:

    1. The couchbase server was 4.5.1-2844 Enterprise Edition (build-2844).
    2. The couchbase npm package version was 4.6.2.

    My soluton was simply downgrading the couchbase npm package back to 2.5.1 with: npm i --save couchbase@2.5.1.

    Or you can upgrade the couchbase server version (haven't tested).

提交回复
热议问题