繁体   English   中英

尝试配置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群集中的数据库服务器上。 如果您移至数据库服务器,则会看到不同的行为。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM