ArangoDB2::Replication - ArangoDB replication API methods
GET /_api/replication/applier-config PUT /_api/replication/applier-config
Returns the configuration of the replication applier or sets the configuration of the replication applier.
Parameters:
configuration
PUT /_api/replication/applier-start
Starts the replication applier.
from
GET /_api/replication/applier-state
Returns the state of the replication applier, regardless of whether the applier is currently running or not.
PUT /_api/replication/applier-stop
Stops the replication applier.
GET /_api/replication/clusterInventory
Returns the list of collections and indexes available on the cluster.
includeSystem
GET /_api/replication/dump
Returns the data from the collection for the requested range.
chunkSize collection from ticks to
GET /_api/replication/inventory
Returns the list of collections and indexes available on the server. This list can be used by replication clients to initiate an initial sync with the server.
GET /_api/replication/logger-follow
chunkSize from to
GET /_api/replication/logger-state
Returns the current state of the server's replication logger.
GET /_api/replication/server-id
Returns the servers id. The id is also returned by other replication API methods, and this method is an easy means of determining a server's id.
PUT /_api/replication/sync
Starts a full data synchronization from a remote endpoint into the local ArangoDB database.
Approximate maximum size of the returned result.
The name or id of the collection to dump. Accepts string or ArangoDB2::COllection object.
JSON representation of the configuration
Lower bound tick value for results.
Include system collections in the result. The default value is false.
Whether or not to include tick values in the dump. Default value is true.
Upper bound tick value for results.
Ersun Warncke, <ersun.warncke at outlook.com>
<ersun.warncke at outlook.com>
http://ersun.warnckes.com
Copyright (C) 2014 Ersun Warncke
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install ArangoDB2, copy and paste the appropriate command in to your terminal.
cpanm
cpanm ArangoDB2
CPAN shell
perl -MCPAN -e shell install ArangoDB2
For more information on module installation, please visit the detailed CPAN module installation guide.