1
0
Fork 0
arangodb/scripts
Jan 4d4135d25c
Feature/add dbserver as an alias for primary (#6072)
* add "DBSERVER" as an alias for "PRIMARY"

This allows specifying the value "DBSERVER" for `--cluster.my-role`.
"DBSERVER" is only treated as an alias for "PRIMARY", because several
other parts of the code and APIs use the string "PRIMARY".
Changing these from "PRIMARY" to "DBSERVER" would make the change
downwards-incompatible, which we do not want.

The downside of this alias-only solution is that even when specifying
a role value of "DBSERVER", the server will still report its role as
"PRIMARY", which may be a bit confusing. The server will also generate
its id as "PRMR-XXXX" as before:

    2018-08-03T15:23:09Z [9584] INFO {cluster} Starting up with role PRIMARY
    2018-08-03T15:23:09Z [9584] INFO {cluster} Cluster feature is turned on. Agency version: {"server":"arango","version":"3.4.devel","license":"enterprise"}, Agency endpoints: http+tcp://[::]:4001, server id: 'PRMR-f655b728-4cea-44ac-88e9-8b34baa80958', internal address: tcp://[::1]:8629, role: PRIMARY

* adjusted documentation to use "DBSERVER" instead of "PRIMARY"

* api doc

- secondary role not used anymore. stated.
- primary database is not clear. replaced with dbserver
- brief referenced only dbserver and coordinator - better to provide wider description, in line with what is described below, as other roles can be returned

* typo

* typo

* added starting from 3.4

* additional warning

* cited in the release note
2018-08-06 17:20:50 +02:00
..
build-bundle.sh added prefix variable to build bundle, potentially fixes mac os package builds (#5455) 2018-05-24 20:47:00 +02:00
build-dbg-deb.sh Feature/aql native call apply (#5100) 2018-04-13 16:07:06 +02:00
build-deb.sh Bug fix/fix cmake warnings (#5503) 2018-06-01 15:51:20 +02:00
build-docker.sh Make sure docker tag is stored. (#4420) 2018-01-24 15:18:28 +01:00
build-nsis.sh add build target to compile the starter if its present (#3679) 2017-12-06 16:33:37 +01:00
build-rpm.sh add build target to compile the starter if its present (#3679) 2017-12-06 16:33:37 +01:00
build-snap.sh add build target to compile the starter if its present (#3679) 2017-12-06 16:33:37 +01:00
build-xc-deb.sh finalize xc compile 2016-12-07 16:33:20 +01:00
build-xc64-deb.sh crosscompiling 2017-04-17 16:05:55 +02:00
buildCompletionsBash.sh Renamed arangoimp to arangoimport (with alias for compatibility.) (#4040) 2017-12-14 21:31:21 +01:00
buildCompletionsFish.sh Renamed arangoimp to arangoimport (with alias for compatibility.) (#4040) 2017-12-14 21:31:21 +01:00
cluster-run-common.sh make RocksDB the default engine (#5964) 2018-07-25 11:17:49 +02:00
disable-cores.sh ignore return value of script - fix supplied by @dothebart 2018-06-08 11:56:28 +02:00
dumpAgency.sh
encryptionTest.sh Import RocksDB encryption support (#2491) 2017-06-08 08:51:02 +02:00
generateDocumentation.sh enable scripts to force a gitbook version that is currently already installed, so it doesn't fetch stuff from the 'net. (#2803) 2017-07-18 21:44:56 +02:00
jsonQueryToYaml
killLocalCluster.sh fixed some stuff, stopping still not working 2016-12-05 01:18:05 +01:00
limitMemory.sh fix usage of su 2017-05-30 14:50:57 +02:00
perfanalysis.cpp Fix compilation instructions. 2016-12-23 09:15:33 +01:00
quickieTest.sh run jslint in the background 2017-01-09 19:17:29 +01:00
setupPerfEvents.sh Latest addition to setupPerfEvents.sh 2016-12-23 23:30:29 +01:00
setupPerfEvents_onlyCriticalWrite.sh New setup for perf events only for critical section. 2016-12-28 22:03:11 +01:00
shutdownLocalCluster.sh fix startLocalCluster for darwin (#3641) 2017-11-09 20:08:35 +01:00
startArangoDBClusterLocal.sh Feature/add dbserver as an alias for primary (#6072) 2018-08-06 17:20:50 +02:00
startLeaderFollower.sh make RocksDB the default engine (#5964) 2018-07-25 11:17:49 +02:00
startLocalCluster.bat Feature/add dbserver as an alias for primary (#6072) 2018-08-06 17:20:50 +02:00
startLocalCluster.ps1 Feature/add dbserver as an alias for primary (#6072) 2018-08-06 17:20:50 +02:00
startLocalCluster.sh Feature/add dbserver as an alias for primary (#6072) 2018-08-06 17:20:50 +02:00
startLocalDockerCluster.sh Feature/add dbserver as an alias for primary (#6072) 2018-08-06 17:20:50 +02:00
startStandAloneAgency.sh Better log compaction 2018-07-16 12:09:58 +02:00
tmux_starter Feature/issue 387 cluster index estimates (#2866) 2017-08-01 09:53:58 +02:00
unittest locally tested only (#4476) 2018-02-05 11:24:34 +01:00
unpackInspectorReport.sh unpacker for inspector reports (#5546) 2018-06-07 13:41:55 +02:00