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
Andreas Streichardt
9cbe13dd43
Merge branch 'json_agency_comm' into devel
2016-05-06 17:21:41 +02:00
Andreas Streichardt
3773b0e66c
Merge branch 'json_agency_comm' of github.com:arangodb/arangodb into json_agency_comm
2016-05-06 17:04:04 +02:00
Andreas Streichardt
04ba5156e5
Rework planned collection loading
2016-05-06 17:03:13 +02:00
Max Neunhoeffer
5690c0410c
Remove option replicationQuorum which was unused as of now.
2016-05-06 09:53:01 +02:00
Max Neunhoeffer
cae72d0d61
Make _vpack of AgencyCommResult abstract.
2016-05-04 16:49:02 +02:00
Max Neunhoeffer
355a412cd4
Remove second argument of getValues2.
2016-05-04 16:02:05 +02:00
Kaveh Vahedipour
bd0c60f5e8
removed debug output
2016-05-03 11:49:09 +00:00
Kaveh Vahedipour
00ce93b8d0
Merge branch 'devel' of https://github.com/arangodb/arangodb into json_agency_comm
2016-05-02 16:14:37 +02:00
jsteemann
96fceb4411
use std::unordered_maps for headers
2016-05-01 20:52:47 +02:00
jsteemann
352df5f3ea
cleanup
2016-05-01 15:32:33 +02:00
Kaveh Vahedipour
049cc8602e
careful with loops :(
2016-04-27 16:53:09 +02:00
Kaveh Vahedipour
0530603763
dirty yet
2016-04-25 18:37:28 +02:00
Jan Steemann
e3db1236c6
fixed compile warnings
2016-04-22 15:31:47 +02:00
Max Neunhoeffer
ef01814127
Add servers entry to getCollectionInfoCurrent in JS.
2016-04-21 09:29:05 +02:00
Max Neunhoeffer
aba651ad0d
Better error handling.
2016-04-20 17:22:37 +02:00
Andreas Streichardt
b03d4e610a
Remove watchValue from agency
2016-04-13 15:42:23 +02:00
Kaveh Vahedipour
a315997617
callback redesign
2016-04-07 10:20:08 +02:00
Frank Celler
494bdca847
splitted HttpRequest into GeneralRequest/HttpRequest
2016-03-31 11:45:21 +02:00
Jan Steemann
7b758efaeb
handle status CL_COMM_BACKEND_UNAVAILABLE
2016-03-24 12:00:03 +01:00
Jan Steemann
da1721f262
added assertions
2016-03-23 18:14:03 +01:00
jsteemann
ff21453255
logger transition: all files in arangod exception transactions.cpp
2016-01-29 23:28:44 +01:00
Jan Steemann
828f46c76b
shut up compiler
2016-01-29 19:19:06 +01:00