Andreas Streichardt
526c8f42c2
Fix foxx issues in cluster
...
Bootstrap will now be done on the bootstrap coordinator.
queues will now be executed by the "foxxmaster"
2016-07-29 16:06:31 +02:00
Kaveh Vahedipour
cd9175a409
this is the end of CommLock as we know it ...
2016-06-23 13:09:58 +02:00
Kaveh Vahedipour
1a8636c34c
removing more locks from cluster-agency communication
2016-06-23 11:14:21 +02:00
Andreas Streichardt
c8383d6ca4
Merge branch 'devel' of github.com:arangodb/arangodb into devel
2016-06-10 18:21:56 +02:00
Andreas Streichardt
f7301bdc7c
Implement unregister on shutdown
2016-06-10 18:21:41 +02:00
Kaveh Vahedipour
988b4401f2
machine ids in cluster zero-filled to up to 1000 machines
2016-06-10 15:57:12 +02:00
Max Neunhoeffer
1a39e2efb1
Rename obsolete "SERVINGASYNC" to "SERVING".
2016-06-10 09:15:45 +02:00
Andreas Streichardt
3e10ea32b2
remove obsolete code
2016-06-09 15:42:56 +02:00
Jan Steemann
912383ca68
cppcheck
2016-05-10 20:13:55 +02:00
Max Neunhoeffer
39ecd9fd13
Rename prefix and prefixStripped in AgencyComm.
2016-05-10 16:00:07 +02:00
Max Neunhoeffer
825f010980
Rename getValues2 to getValues.
2016-05-10 15:52:54 +02:00
Max Neunhoeffer
d44546296d
Remove AgencyComm::getValues() for good and purge TRI_json_t in ClusterInfo.
2016-05-10 15:43:58 +02:00
Max Neunhoeffer
d1e5b65737
Two fewer AgencyComm::getValues() calls.
2016-05-09 16:55:42 +02:00
Max Neunhoeffer
1b0b9ae5df
Take out getTargetServerEndpoint.
...
This used Target/MapIDToEndpoint which is now gone.
2016-05-04 11:10:42 +02:00
jsteemann
0da9ac7cdc
micro optimizations
2016-04-23 16:23:15 +02:00
Kaveh Vahedipour
a315997617
callback redesign
2016-04-07 10:20:08 +02:00
jsteemann
8f4a3be165
cppcheck
2016-03-23 23:06:18 +01:00
Andreas Streichardt
90862b6081
Proper secondary => Primary failover
2016-03-17 22:39:15 +00:00
Andreas Streichardt
dca42efb2e
Rework cluster state handling
2016-03-17 14:48:33 +00:00
Frank Celler
dfa9047484
switch arangosh to new ApplicationFeatures and ProgramOptions
2016-03-08 23:32:43 +01:00
Andreas Streichardt
b753aa226f
No double quote
2016-03-04 17:58:27 +01:00
jsteemann
851d19a9d6
logging simplifications
2016-02-25 00:00:18 +01:00
Andreas Streichardt
9e7beb9a6e
Change LOG WARNING and ERROR
2016-02-04 11:43:10 +01:00
Andreas Streichardt
f096580706
Merge remote-tracking branch 'upstream/devel' into initializecluster
2016-02-04 11:37:02 +01:00
Andreas Streichardt
adce528373
Proper initialization
...
Also find a fitting spot for our role
2016-02-04 11:29:43 +01:00
Jan Steemann
b7abf5a40d
attempt to fix Windows build
2016-02-01 12:04:28 +01:00
jsteemann
ff21453255
logger transition: all files in arangod exception transactions.cpp
2016-01-29 23:28:44 +01:00
Michael Hackstein
436c377cb5
Merge branch 'devel' of github.com:arangodb/arangodb into vpack
2016-01-29 14:01:53 +01:00
Jan Steemann
b82e9c692a
removed unnecessary block
2016-01-29 11:10:24 +01:00
Jan Steemann
9046e1831b
clang-format
2016-01-27 13:43:46 +01:00
Jan Steemann
3fc862f0ef
changed locking macros
2016-01-26 15:39:12 +01:00
Michael Hackstein
18b66d5c83
Removed TRI_json_t entirely from AgencyComm. Also no legacy support anymore.
2016-01-25 16:39:56 +01:00
Michael Hackstein
191c2dc3a9
Merge branch 'devel' of github.com:arangodb/arangodb into vpack
2016-01-21 16:29:38 +01:00
jsteemann
842384016d
namespace cleanup
2016-01-21 00:20:22 +01:00
Michael Hackstein
7f4980e87d
Cluster internal communication now uses more VPack instead of TRI_json_t
2016-01-19 11:33:43 +01:00
jsteemann
431900f17a
changed namespace from triagens to arangodb
2016-01-17 00:44:53 +01:00
jsteemann
9f0576c65f
don't rely so much on namespace std being present
2016-01-08 01:05:06 +01:00
jsteemann
50c0e18d53
removed useless con|destructor comments
2016-01-07 21:19:53 +01:00
Jan Steemann
3ad20c0cae
auto-generated headers
2016-01-06 18:41:51 +01:00
Jan Steemann
a3b026d9d1
removed useless sections from code, unified include guards
2016-01-06 14:15:22 +01:00
Jan Steemann
f422576ee0
clang-format
2016-01-05 17:43:24 +01:00
Max Neunhoeffer
225c8cd843
Work on TODOs.
2015-12-22 16:50:09 +01:00
Max Neunhoeffer
cc45a0d352
Implement role switching.
2015-10-23 16:45:21 +02:00
Max Neunhoeffer
b844ff3468
Finish the role "SECONDARY" in a cluster. Configure replication automatically.
2015-08-12 10:54:30 +02:00
Jan Steemann
ec3ccd31ba
split lock
2015-07-31 16:44:42 +02:00
Jan Steemann
2a9e809009
fix cluster
2015-05-26 14:49:13 +02:00
Jan Steemann
343c9b4bea
added static helper methods for cluster state
2015-05-20 13:51:02 +02:00
Jan Steemann
0099fe260a
return value optimization for AQL
2015-04-30 23:38:27 +02:00
Jan Steemann
9ff4e7922d
thread-safety
2015-03-04 18:10:21 +01:00
Jan Steemann
4958086d63
thread safety
2015-03-04 18:02:06 +01:00
Jan Steemann
7c5cc16a8a
less locking for cluster status checks
2015-02-18 18:14:12 +01:00
Max Neunhoeffer
e24278828c
Changes to cluster startup for mesos cooperation.
...
This simplifies the cluster startup by introducing a further agency
lookup step using "local info" to find the "id". This allows an external
discovery process (see scripts/discover.js as an example) to configure
a new server in the cluster dynamically when it starts up.
New GNUmakefile targets
pack-tar-config
pack-tar
2015-01-28 12:58:24 +01:00
Jan Steemann
5aa3d09085
fixed wrong comment
2015-01-24 14:03:12 +01:00
Jan Steemann
2b68d83072
added enterContext and exitContext to Query
2014-10-17 12:01:50 +02:00
Jan Steemann
506936dcdb
rename orgy
2014-09-13 02:35:13 +02:00
Frank Celler
be06ef7f25
new upgrade-database (formely known as version-check) and new startup procedure
2014-08-07 14:12:19 +02:00
Frank Celler
4dcf5dc817
updated disclaimer
2014-06-20 16:40:35 +02:00
Jan Steemann
362838ae69
TRI_ASSERT
2014-06-06 11:25:19 +02:00
Jan Steemann
f7049b8922
fixed startup race conditions
2014-06-04 15:18:20 +02:00
Max Neunhoeffer
bb5b341ba6
Get rid of many "using namespace ..." occurrences in header files.
2014-05-22 15:13:16 +02:00
Max Neunhoeffer
0a8555fab3
Sort out path to javascript files.
2014-02-28 14:19:04 +01:00
Frank Celler
9a410a5b71
added config for server state
2014-02-28 12:02:21 +01:00
Jan Steemann
ed8f52b323
fixed small memleak reported by valgrind
2014-02-27 20:40:49 +01:00
Jan Steemann
9ac1a7cc50
cluster-internal authentication
2014-02-26 12:01:41 +01:00
Max Neunhoeffer
bc79698750
Make executable path and basePath available through ServerState.
2014-02-10 09:59:41 +01:00
Max Neunhoeffer
3a5a085bc5
Sort out mess with collection name/id lookup in cluster.
2014-01-30 17:27:06 +01:00
Max Neunhoeffer
409f32b965
Add isDBserver method to ServerState class.
2014-01-29 11:23:58 +01:00
Jan Steemann
4a805062bb
changed internal APIs
2014-01-15 13:36:38 +01:00
Jan Steemann
3cf65cf228
added AgencyCommLocker.successful() method
2014-01-14 17:16:51 +01:00
Jan Steemann
5b965b2a21
added initialised() method
2014-01-07 17:50:52 +01:00
Jan Steemann
45a5296e9e
make agency.list() return a flat list if requested
2014-01-07 16:24:54 +01:00
Jan Steemann
7c27a646f7
removed a few over-eager asserts
2014-01-07 11:57:42 +01:00
Jan Steemann
3309743c1a
moved some collection parameters around
2014-01-07 11:02:49 +01:00
Jan Steemann
5c0e6e12e0
added tests for serverstate and clusterinfo
2014-01-06 18:19:14 +01:00
Jan Steemann
4de2b916c4
added test for uniqid
2014-01-06 13:18:01 +01:00
Jan Steemann
532a59d0a3
added agency locks
2014-01-03 13:52:54 +01:00
Jan Steemann
b07ad28c35
added caching function to generate ids
2014-01-02 17:16:44 +01:00
Jan Steemann
16e16f705c
some bugfixes for asyncRequest etc
2013-12-20 18:03:55 +01:00
Jan Steemann
897ddca313
startup/shutdown modifications
2013-12-12 15:25:53 +01:00
Jan Steemann
8708dc7e70
renamed sharding to cluster
2013-12-10 09:56:00 +01:00