尝试配置 ArangoDB 复制时出错
Error while trying to configure ArangoDB replication
尝试在 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 台不同的机器上。
您正在访问协调器。复制 API 仅驻留在 ArangoDB 集群中的数据库服务器上。如果您移动到数据库服务器,您将看到不同的行为。
尝试在 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 台不同的机器上。
您正在访问协调器。复制 API 仅驻留在 ArangoDB 集群中的数据库服务器上。如果您移动到数据库服务器,您将看到不同的行为。