简体   繁体   中英

Error while trying to configure ArangoDB replication

While trying to configure an async replication on an ArangoDB database (using the document https://docs.arangodb.com/3.3/Manual/Administration/Replication/Asynchronous/Components.html ) I got this error:

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

Any idea what could have caused it? I'm on the latest 3.3.3 version with a cluster up and running on 3 different machines.

You are accessing a coordinator. The replication API resides only on DB servers in an ArangoDB cluster. You will see a different behavior if you move to DB servers.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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