1

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.

One of many
  • 547
  • 1
  • 4
  • 8

1 Answers1

2

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.

Kaveh Vahedipour
  • 3,412
  • 1
  • 14
  • 22