Andreas Streichardt
466f932701
First steps to low level replication debugging
2017-01-06 17:19:07 +01:00
Kaveh Vahedipour
a0af781630
to lock or not to lock
2017-01-06 14:46:57 +01:00
Kaveh Vahedipour
4ac74301d5
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-01-06 11:10:36 +01:00
Andreas Streichardt
dafb5d0724
Allow setInitialized within DEBUG_SYNC_REPL mode
2017-01-06 10:44:35 +01:00
Kaveh Vahedipour
e87182d971
more verbose output on failure to create plan
2017-01-06 09:38:37 +01:00
jsteemann
0070b40fbf
attempt to fix Windows build
2017-01-04 09:08:13 +01:00
Kaveh Vahedipour
f66688c397
visual studio ridiculous once again
2017-01-03 17:45:57 +01:00
Kaveh Vahedipour
9d5a5537ce
remove deceased agents from AgencyComm
2017-01-02 17:12:00 +01:00
Kaveh Vahedipour
a2ee40d4f3
restarting agents inform rest of their new endpoints
2017-01-02 15:58:38 +01:00
Kaveh Vahedipour
4928358e04
removing trace of agency locks part 1
2016-12-30 11:21:11 +01:00
Kaveh Vahedipour
ff701ff57c
getting rid of locks in cluster.js
2016-12-29 15:03:09 +01:00
Kaveh Vahedipour
e9f465d13b
read/write/transact interface lifted up to js
2016-12-28 15:37:05 +01:00
jsteemann
f0a4d69b69
use bulk allocator for index elements
2016-12-09 21:40:49 +01:00
Frank Celler
e4ba82e8e9
rewrite of AgencyComm
2016-10-23 00:46:30 +02:00
Frank Celler
959797c54f
moved to Agency
2016-10-23 00:46:30 +02:00
Michael Hackstein
4fac851560
Added some better handling of SmartEdgeCollections in simpleQueries.
2016-10-19 15:19:33 +02:00
Andreas Streichardt
1318fa313b
Implement cluster authentication
2016-10-17 13:35:55 +02:00
Max Neunhoeffer
82e548ff8b
Change setup of getResponsibleShard w.r.t. collection.
2016-10-07 21:05:18 +02:00
jsteemann
9611f30796
Merge branch 'devel' of https://github.com/arangodb/arangodb into generic-col-types
2016-09-07 11:44:49 +02:00
Kaveh Vahedipour
a37d073813
a candidate of a leader could ask a strarting up agent for a vote before it having a vocbase.
2016-09-07 11:02:15 +02:00
jsteemann
ffa00e26a0
some index cleanup
2016-09-06 10:49:40 +02:00
Michael Hackstein
3c851f8687
Added proper error handling for collection not found in V8
2016-09-01 17:42:27 +02:00
Michael Hackstein
1f3dabc8e1
Merge branch 'engine-vs-velocystream' of github.com:arangodb/arangodb into generic-col-types
2016-08-25 11:08:39 +02:00
Michael Hackstein
2af30f056d
Moved index creation to use LogicalCollection instead of TRI_collection_t. Involved changes of the constructor, all can now be created using iid and Slice. Removed specialized functions to create/find indixes in v8-voc index. Also the iteration is modified. This commit compiles but tests will fail. Merge commit.
2016-08-25 09:57:36 +02:00
Jan Christoph Uhde
d3654d99d8
finish RequestType enum
2016-08-23 14:49:29 +02:00
Mark
3bd5c27c0c
changes for Visual Studio
2016-08-19 17:22:57 +02:00
Michael Hackstein
efce89e3f4
Fixed database/collection lookup in cluster. It did not get the correct vocbase when using a Database other than _system
2016-08-18 17:39:25 +02:00
Michael Hackstein
17a6da8afb
Removed all references on TRI_vocbase_col_t and replaced them by LogicalCollection class. Not everything is properly moved and implemetned yet. This commit causes crashes.
2016-08-17 11:10:39 +02:00
Michael Hackstein
94ca36fdb2
Removed cluster-wide CollectionInfo and replaced it with a logical collection. The Logical collection shall be always available, in cluster and single server.
2016-08-15 09:08:24 +02:00
Michael Hackstein
7b328d39e9
Merge branch 'devel' of github.com:arangodb/arangodb into engine-vs-velocystream
2016-08-11 12:41:08 +02:00
Andreas Streichardt
87c8c0033a
Improve clusterawareness in foxx and foxx queues
2016-08-10 12:26:24 +02:00
Jan Christoph Uhde
53b08d018b
Merge branch 'engine-vs-velocystream' of github.com:arangodb/arangodb into obi-velocystream
...
* 'engine-vs-velocystream' of github.com:arangodb/arangodb: (34 commits)
some fixes
integrated agency bugfix from 3.0
integrated agency bugfix from 3.0
Add tokens so we can enable the uid during the build.
Add missing body parameter descriptin. Thanks to @janavolkova9 for pointing this out.
Fix the representation of the post bodys; thanks to @janavolkova9 for pointing out.
just in case someone changes the epoch
added a panic interrupt of memory gets low
fixed epoch computation
Fix switch warning
entirely removed TRI_document_collection_t
Fix a bug in <coll>.replace() with isRestore and _rev.
refactoring
Style cleanup for the docker mesos cluster.
BOLD
Polish docs
Fix foxx issues in cluster
Add technical details about UDFs in clusters
moved functionality into TRI_collection_t
Fix bug in synchronous replication.
...
2016-08-02 13:50:44 +02:00
Jan Christoph Uhde
25226b1459
add: header() / headers() implemented for VppRequest
2016-08-02 11:36:06 +02:00
jsteemann
80f1a7aaee
Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache
2016-07-29 17:16:20 +02:00
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
jsteemann
2aa2e0dab4
removed server.h
2016-07-25 16:49:52 +02:00
Jan Christoph Uhde
06bd01695a
removed: body() from GeneralRequest
2016-07-19 09:16:07 +02:00
Andreas Streichardt
60377dfd1b
Throw exception when calling cluster methods in non-cluster mode
2016-06-14 13:04:03 +02:00
Andreas Streichardt
d9d30d6bdc
Throw exception when not running in cluster
2016-06-13 19:11:29 +02:00
Max Neunhoeffer
4ba6d8acbb
Next iteration of performRequests improvement.
...
asyncRequest has now two timeouts, one for the connection phase
leading to retries for failover situations, the other for the
completion of the whole operation.
2016-06-07 14:12:09 +02:00
Max Neunhoeffer
19747c8b6c
Fix crash due to wrong usage of asyncRequest.
2016-06-06 11:30:39 +02:00
Max Neunhoeffer
20ef93d76b
Cleanup of error handling for asyncRequest and syncRequest.
...
I have added a thorough description of events to the comments
in ClusterComm.h. This should enable everybody to do proper
error handling when using ClusterComm::asyncRequest and
ClusterComm::syncRequest.
2016-06-04 23:05:48 -06:00
Max Neunhoeffer
7ab83d4050
Slightly change signature of asyncRequest.
...
Error handling was inconsistent. This is cleaned up now.
2016-06-04 16:19:54 -06:00
Andreas Streichardt
4d13e8fb1b
_listDatabases() => _databases()
2016-05-11 15:30:47 +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
Andreas Streichardt
3e42435c46
No more loadCurrentCollections()
2016-05-09 13:36:16 +02:00
Max Neunhoeffer
ce9ca50b95
Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel
2016-05-06 22:33:55 +02:00
Max Neunhoeffer
0fbc48b83e
Improve cluster in various ways.
...
Finish implementation of AgencyReadTransaction.
Use AgencyReadTransaction in HeartbeatThread of coordinator (less requests).
Repair ClusterInfo::uniqid.
Repair AgencyComm::uniqid.
Remove x-etcd-index header.
Remove _index in AgencyCommResult.
Streamline HeartbeatThread of coordinator.
Remove lastCommandIndex from AgencyComm.
Fix HeartbeatThread::handleStateChange.
2016-05-06 22:30:27 +02:00