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
build-dbg-deb.sh
build-deb.sh Bug fix/fix cmake warnings (#5503) 2018-06-01 15:51:20 +02:00
build-docker.sh
build-nsis.sh
build-rpm.sh
build-snap.sh
build-xc-deb.sh
build-xc64-deb.sh
buildCompletionsBash.sh
buildCompletionsFish.sh
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
generateDocumentation.sh
jsonQueryToYaml
killLocalCluster.sh
limitMemory.sh
perfanalysis.cpp
quickieTest.sh
setupPerfEvents.sh
setupPerfEvents_onlyCriticalWrite.sh
shutdownLocalCluster.sh
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
unittest
unpackInspectorReport.sh unpacker for inspector reports (#5546) 2018-06-07 13:41:55 +02:00