1
0
Fork 0
Commit Graph

165 Commits

Author SHA1 Message Date
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
Jan 1b9fcb589d
make RocksDB the default engine (#5964) 2018-07-25 11:17:49 +02:00
Kaveh Vahedipour 5b307db85d Better log compaction 2018-07-16 12:09:58 +02:00
Jan d8c887ab61
remove hard-coded thread counts (#5816) 2018-07-10 14:39:09 +02:00
Jan Christoph Uhde 2829b3e77d moves -e to XTERMOPTIONS and adds delay (#5297)
* moves -e to XTERMOPTIONS and adds delay
* add delay only when rr is used
2018-06-01 10:07:59 +02:00
Simon a1416e1067 Make v8 optional on startup (#5220) 2018-04-30 12:48:57 +02:00
Jan 73bce34174
potentially fix send request timeout (#4026) 2017-12-13 17:54:12 +01:00
jsteemann 0aae349d1d do not restrict to 5 threads 2017-11-17 17:28:46 +01:00
Jan Christoph Uhde 89384dd767 fix startLocalCluster for darwin (#3641) 2017-11-09 20:08:35 +01:00
Jan Christoph Uhde 27460a92e1 Store parameters of startLocalCluster.sh (#3593)
Store parameters of startLocalCluster.sh

This should help you to bring the cluster up again when you
continue to work after some time without investigating the
port numbers.

Restore parameters if no arguments are given
2017-11-08 11:26:54 +01:00
m0ppers 19879ff568 Allow custom address to be set from the outside (#3469) 2017-10-20 15:03:22 +02:00
Simon Grätzer 7c31960cf2 Feature/async failover (#3451) 2017-10-18 23:59:29 +02:00
Kaveh Vahedipour 231a360b3b fixes for secondaries 2017-07-11 14:05:51 +02:00
Mark Volmary b5f69f9ca4 Add startLocalCluster.sh option --ongoing-ports 2017-06-09 16:20:42 +02:00
Kaveh Vahedipour 63b5cadcd0 fix startLocalCluster to run everywhere in file system 2017-06-08 14:34:23 +02:00
Kaveh Vahedipour 35492fa51f slice can throw 2017-06-07 16:40:16 +02:00
Max Neunhoeffer e2a40dd161 Set keep size by default to 1000. 2017-06-07 13:16:40 +02:00
Andreas Streichardt 14a65688db Fix startLocalCluster.sh jwt authentication, implement ps1 jwt auth 2017-05-17 16:38:49 +02:00
Kaveh Vahedipour 511fa4036d more smooth local cluster start and shutdown 2017-05-17 11:10:05 +02:00
Kaveh Vahedipour 499ef8d1b9 reduced code lines in startLocalCluster 2017-05-16 13:14:04 +02:00
Kaveh Vahedipour 90cf2becc3 Allow cluster to be started anywhere 2017-05-16 10:14:56 +02:00
Kaveh Vahedipour 6728e829b1 making startlocalcluster more independent 2017-05-15 16:17:56 +02:00
jsteemann 2b4338d85c disable special behavior for RocksDB 2017-05-02 09:04:45 +02:00
Kaveh Vahedipour a823a437b1 correct rocksdb cluster start 2017-04-24 15:34:07 +02:00
Kaveh Vahedipour e559ca63f9 unable to start rocksdb cluster right now 2017-04-24 15:32:16 +02:00
Max Neunhoeffer 4151087273 Fix some duplicated options. 2017-04-24 12:22:29 +02:00
Kaveh Vahedipour 97c9198b4d ipv4 is so yesterday 2017-04-24 11:51:38 +02:00
Kaveh Vahedipour 733d7260eb startRocksdbCluster.sh has gone in favour of a simple flag in startLocalCluster.sh 2017-04-24 11:34:54 +02:00
Kaveh Vahedipour b96f3be332 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-04-24 11:08:15 +02:00
Kaveh Vahedipour a211e5ee83 ipv4 is so yesterday 2017-04-24 11:08:04 +02:00
Max Neunhoeffer 6b67f0a550 Revert "Add -r option for rocksDB engine to startLocalCluster.sh"
This reverts commit 1f842312f5.
2017-04-24 11:07:04 +02:00
Max Neunhoeffer 1f842312f5 Add -r option for rocksDB engine to startLocalCluster.sh 2017-04-24 10:57:06 +02:00
Andreas Streichardt 0bf00036c6 Streamline shutdown and start 2017-03-29 11:55:02 +02:00
Simon Grätzer ad268697e3 Fix some stuff 2017-03-15 16:22:10 +01:00
Simon Grätzer 27c617fe10 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
# Conflicts:
#	3rdParty/V8/v8
#	arangod/Transaction/Methods.h
#	arangod/Utils/UserTransaction.h
#	arangod/V8Server/v8-collection.cpp
2017-03-01 14:52:35 +01:00
Andreas Streichardt 1bb8f97773 Fix secondaries 2017-02-13 14:00:19 +01:00
Simon Grätzer edab268572 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
# Conflicts:
#	arangod/Aql/FunctionDefinitions.cpp
#	arangod/Aql/Functions.h
#	arangod/Utils/ExplicitTransaction.h
2017-02-10 15:21:24 +01:00
Kaveh Vahedipour 29d73b2e9c sendAppendEntries does resonable estimation of follower time needs leading to less frequent spamming of followers 2017-02-10 11:25:55 +01:00
Kaveh Vahedipour b931aa967a new compaction thread for agency 2017-02-07 14:16:22 +01:00
Kaveh Vahedipour a71fec11ca backports from 3.1 2017-02-06 15:50:42 +01:00
Simon Grätzer 64343cd579 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
# Conflicts:
#	scripts/startLocalCluster.sh
2017-01-27 15:58:22 +01:00
Kaveh Vahedipour c803d52f51 startLocalCluster handles port offset so that multiple clusters can be started on same machine 2017-01-27 09:33:42 +01:00
Simon Grätzer d71ebf7c1d Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-01-20 14:42:19 +01:00
Max Neunhoeffer 4e82f4ec12 Fix XTERM option in scripts/startLocalCluster.sh 2017-01-19 16:12:58 +01:00
Max Neunhoeffer 370cb09d89 Merge branch 'devel' into schmutz-ng 2017-01-19 10:32:43 +01:00
Max Neunhoeffer 56756e83fc Use LOG_LEVEL in scripts/startLocalCluster.sh 2017-01-18 10:38:00 +01:00
Simon Grätzer f4e02c58a9 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-01-17 22:28:07 +01:00
Kaveh Vahedipour 2d21b62007 agency compaction leaves last compaction-keep-size indices behind for reference 2017-01-17 12:15:18 +01:00
Simon Grätzer 7563fb4b80 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-12-29 18:09:57 +01:00
Kaveh Vahedipour 154db4a0e2 wrong verbosity in start script 2016-12-28 16:32:21 +01:00