在尝试在ArangoDB数据库上配置异步复制时(使用文档https://docs.arangodb.com/3.3/Manual/Administration/Replication/Asynchronous/Components.html),我得到了以下错误:
JavaScript exception in file
'/usr/share/arangodb3/js/client/modules/@arangodb/replication.js' at 209,7:
ArangoError 1470: replication API is not supported on a coordinator
! throw err;
! ^
stacktrace: ArangoError: replication API is not supported on a coordinator
at Object.exports.checkRequestResult
(/usr/share/arangodb3/js/client/modules/@arangodb/arangosh.js:96:21)
at waitForResult
(/usr/share/arangodb3/js/client/modules/@arangodb/replication.js:207:16)
at setup
(/usr/share/arangodb3/js/client/modules/@arangodb/replication.js:310:10)
at Object.setupReplication
(/usr/share/arangodb3/js/client/modules/@arangodb/replication.js:313:51)
at <shell command>:1:34知道是什么导致的吗?我在最新的3.3.3版本上安装了一个集群,并在3台不同的机器上运行。
发布于 2018-02-16 16:58:14
你正在访问一个协调程序。复制API仅驻留在ArangoDB集群中的DB服务器上。如果您移动到DB服务器,您将看到不同的行为。
https://stackoverflow.com/questions/48809563
复制相似问题