1
0
Fork 0
Commit Graph

1507 Commits

Author SHA1 Message Date
jsteemann e4d1349e6f debug output for RestHandlers 2016-10-11 17:51:41 +02:00
Frank Celler 6865c7949a Fixed GCC4.9 compile. Stupid initializer lists. 2016-10-10 17:43:51 +02:00
Andreas Streichardt e75b8f5503 Implement cURL based inter server communication 2016-10-10 14:56:04 +02:00
Max Neunhoeffer f9925c341c Fix dump/restore tests. 2016-10-10 13:34:36 +02:00
Max Neunhoeffer 4c49853e3b Fixes in collection management. 2016-10-09 11:06:26 +02:00
Max Neunhoeffer 82e548ff8b Change setup of getResponsibleShard w.r.t. collection. 2016-10-07 21:05:18 +02:00
Andreas Streichardt dffbfcdacb ignore failedservers if it is not an object (upgrade use case) 2016-10-06 15:52:50 +02:00
Frank Celler 8e3a73281e added more events 2016-10-06 14:14:38 +02:00
Max Neunhoeffer 58f892fd92 Fix /_api/edges and thus some enterprise tests. 2016-10-05 14:01:46 +02:00
Max Neunhoeffer e01c0e694a Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2016-10-05 13:44:53 +02:00
Max Neunhoeffer 15cbd0adab Fix a typo. 2016-10-05 13:44:23 +02:00
Michael Hackstein a6dbda8bdd Made index creation enterprise ready. 2016-10-05 13:01:27 +02:00
Max Neunhoeffer a023c609d0 Fix a typo. 2016-09-30 16:40:53 +02:00
Max Neunhoeffer 5cd913e003 Fix error handling for ClusterInfo::getCollection. 2016-09-30 14:11:46 +02:00
Kaveh Vahedipour 1eedda332d arangod/Cluster/ClusterInfo.cpp 2016-09-29 15:32:10 +02:00
Kaveh Vahedipour cdffe12917 agency bug resolved 2016-09-29 14:07:31 +02:00
Kaveh Vahedipour 71087e9e82 fixed long waits on dropping shardless collections 2016-09-29 12:02:40 +02:00
Max Neunhoeffer 4080f93eb2 Faster creation of smart edge collections. 2016-09-29 11:11:28 +02:00
Max Neunhoeffer f4d9c30ee2 Improve an if statement. 2016-09-28 16:20:47 +02:00
Max Neunhoeffer 1df17afcaf Add SmartVertexCollection. 2016-09-28 13:38:14 +02:00
Max Neunhoeffer 67fb4495ed Fix hanging dbservers in graph tests. 2016-09-28 10:25:02 +02:00
Michael Hackstein 9882c825ce Added some smart info into logical collection and make sure that virtual collections are created via load plan 2016-09-27 16:26:13 +02:00
jsteemann b5c5407b02 try to fix compile warnings in non-maintainer mode 2016-09-27 13:31:17 +02:00
Kaveh Vahedipour 766e44e102 fixed access to updated entitity in ClusterInfo 2016-09-26 16:20:39 +02:00
Michael Hackstein acdcb3b76a Modified collection creation in cluster. It now does not require access to V8 objects any more. 2016-09-26 10:45:28 +02:00
Kaveh Vahedipour c793c3ac44 FailedServer jobs can report when last FailedLeader has been processed 2016-09-22 17:23:56 +02:00
Max Neunhoeffer 6fa99b6b60 Add a sensible error message. 2016-09-20 15:26:51 +02:00
Kaveh Vahedipour 5e7d5cb770 typo fixed 2016-09-20 15:24:14 +02:00
Max Neunhoeffer fcf9d32ba4 Fix various things in agency callback handling in coordinator. 2016-09-20 15:22:12 +02:00
Michael Hackstein 5d1abaec18 Added a new endpoint for SmartSearch BFS. (Enterprise only) 2016-09-20 13:52:27 +02:00
Michael Hackstein 65c6ec1a04 Made the Base Traverser Engine pure virtual 2016-09-16 10:37:54 +02:00
Michael Hackstein a7546b684c Added a virtual base class for traverser engines. 2016-09-15 12:43:27 +02:00
Kaveh Vahedipour d3b20b8c33 all lambdas in ClusterInfo might have been left with dangling references. 2016-09-15 09:10:47 +00:00
Michael Hackstein 74500ee693 The TraversalNode in AQL now can enhance the TraverserEngine information. 2016-09-13 14:43:25 +02:00
Kaveh Vahedipour 805a64994f Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-09-13 11:05:10 +02:00
Michael Hackstein c5c4fd5c60 Added enterprise fork in TraverserEngineRegistry. 2016-09-13 10:37:31 +02:00
Kaveh Vahedipour b222c2306e agency warnings spamming 2016-09-13 09:16:47 +02:00
Kaveh Vahedipour 97ce16d88b Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-09-12 17:41:45 +02:00
Kaveh Vahedipour bdf72982dc warning removed 2016-09-12 17:41:35 +02:00
Frank Celler 1c37da4810 Constructor of TraverserEngine is now protected. Preperation for SmartGraphEngine (EE Only). 2016-09-12 16:59:03 +02:00
Michael Hackstein 8dd3105762 Added a smartSearch route for Traversal Engines. In Community edition this will throw ONLY_ENTERPRISE. It should never be called by our code however. 2016-09-12 13:42:08 +02:00
Max Neunhoeffer d7ab888046 Cleanup hash function for attributes. Prepare enterprise. 2016-09-09 16:49:02 +02:00
Kaveh Vahedipour 3135fcb5dd Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-09-08 17:40:40 +02:00
Kaveh Vahedipour 33c2692c50 optimising agency handover 2016-09-08 17:39:50 +02:00
Michael Hackstein 1625260f4e Fixed shutdown of Traversal Blocks in Cluster 2016-09-08 13:37:29 +02:00
Michael Hackstein 0262d0e284 Traverser engine now unlocks all it's shards 2016-09-08 11:37:54 +02:00
Michael Hackstein 0f86530bbf Merge branch 'generic-col-types' of github.com:arangodb/arangodb into generic-col-types 2016-09-08 09:15:46 +02:00
Michael Hackstein 9497ae9ec8 Improved shutdown process of Graph Traverser Engines. This state causes a double free. Merge commit. 2016-09-08 09:09:59 +02:00
jsteemann ba714bca7d properly free EngineInfo 2016-09-07 22:33:28 +02:00
jsteemann 07dc85ad22 fix memleak 2016-09-07 18:04:20 +02:00
jsteemann 1757d67687 fix some leaks 2016-09-07 17:53:43 +02:00
Mark 4fb57e4c27 fixed compile errors (visual studio) 2016-09-07 14:52:52 +02:00
jsteemann 6671fa29d8 Merge branch 'devel' of https://github.com/arangodb/arangodb into generic-col-types 2016-09-07 13:49:17 +02:00
Kaveh Vahedipour ae2cc90c1a constituent starting anyway without inception 2016-09-07 12:21:16 +02:00
jsteemann dfca849325 Merge branch 'devel' of https://github.com/arangodb/arangodb into generic-col-types 2016-09-07 12:06:43 +02:00
Kaveh Vahedipour 288f42c531 constituent starting anyway without inception 2016-09-07 11:52:21 +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 57453c96c5 Logging in cluster. No votes in constituent before vocbase != nullptr 2016-09-07 11:09:33 +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
Michael Hackstein acfbf48762 Improved error output in cluster mode whenever illegal information is found inside the agency. 2016-09-07 09:26:14 +02:00
jsteemann f5a595f464 Merge branch 'devel' of https://github.com/arangodb/arangodb into generic-col-types 2016-09-07 08:52:07 +02:00
jsteemann eac7eafc4e fix collection creation 2016-09-06 18:33:08 +02:00
Andreas Streichardt 7b4a383877 Fix resilience tests 2016-09-06 16:49:54 +02:00
jsteemann caba67dafb Merge branch 'generic-col-types' of https://github.com/arangodb/arangodb into generic-col-types 2016-09-06 10:49:54 +02:00
jsteemann ffa00e26a0 some index cleanup 2016-09-06 10:49:40 +02:00
Michael Hackstein abd0161adc Merge branch 'generic-col-types' of github.com:arangodb/arangodb into generic-col-types 2016-09-06 09:55:20 +02:00
Michael Hackstein e22014a272 Merge branch 'MIT' of github.com:arangodb/arangodb into generic-col-types 2016-09-06 09:33:23 +02:00
Max Neunhoeffer 49d7cf345f Improve version handling in ClusterInfo. 2016-09-05 16:03:28 +02:00
Michael Hackstein decb4b69a3 Merge branch 'generic-col-types' of github.com:arangodb/arangodb into generic-col-types 2016-09-05 11:04:12 +02:00
Michael Hackstein e5e28f9c08 Added a try catch in loadPlan. If the agency for some reason contains invalid collection information the coordinator will not break down, instead it will ignore the invalid collection and continue. 2016-09-05 11:03:59 +02:00
jsteemann 4492409d5f Merge branch 'devel' of https://github.com/arangodb/arangodb into generic-col-types 2016-09-02 15:23:15 +02:00
jsteemann 1823cff3a9 removed TRI_collection_t 2016-09-02 14:54:13 +02:00
Kaveh Vahedipour b3b7d7c907 failed servers are excluded from new shard creation 2016-09-02 12:37:53 +02:00
jsteemann 5524b25800 removed VocbaseCollectionInfo 2016-09-02 09:41:36 +02:00
Michael Hackstein 3c851f8687 Added proper error handling for collection not found in V8 2016-09-01 17:42:27 +02:00
jsteemann 6c2bb5513e Merge branch 'devel' of https://github.com/arangodb/arangodb into generic-col-types 2016-09-01 16:06:22 +02:00
Frank Celler 04a82b919f added --cluster.system-replication-factor 2016-09-01 15:59:02 +02:00
Michael Hackstein ba460f3675 Merge branch 'generic-col-types' of github.com:arangodb/arangodb into generic-col-types 2016-09-01 14:12:00 +02:00
Michael Hackstein 092c3ef573 ClusterInfo get collection now throws NOT_FOUND if the collection is not found instead of nullptr. 2016-09-01 14:11:52 +02:00
jsteemann 68ae8d2945 Merge branch 'devel' of https://github.com/arangodb/arangodb into generic-col-types 2016-09-01 12:02:50 +02:00
Michael Hackstein 36804cc30a Merge branch 'generic-col-types' of github.com:arangodb/arangodb into generic-col-types 2016-09-01 11:42:31 +02:00
Michael Hackstein 81bc1c67e7 Fixed filtered edges for an empty list of expressions. 2016-09-01 11:40:48 +02:00
Michael Hackstein f53a308c4d Improved callbacks in Cluster when creating indexes. It will now only register the callback if the index is actually trying to be created. 2016-09-01 11:39:42 +02:00
Andreas Streichardt 3bcd9f1cc8 try...catch in heartbeat...heartbeat must be running 2016-09-01 11:23:49 +02:00
jsteemann fa21e70256 Merge branch 'devel' of https://github.com/arangodb/arangodb into generic-col-types 2016-08-31 17:59:54 +02:00
Andreas Streichardt a14935aca3 Handle 503 answer from dbservers properly 2016-08-31 11:24:23 +02:00
jsteemann a04934ce50 Merge branch 'engine-vs-velocystream' of https://github.com/arangodb/arangodb into generic-col-types 2016-08-31 09:25:09 +02:00
jsteemann baad30fdb7 Merge branch 'devel' of https://github.com/arangodb/arangodb into generic-col-types 2016-08-30 16:47:35 +02:00
Jan Steemann 226ed6d17a slighty improved error handling in import API 2016-08-30 16:33:44 +02:00
jsteemann 2134afaa83 renamed method 2016-08-30 10:36:34 +02:00
Michael Hackstein e444332def Removed all references to _info in TRI_collection_t. This commit does not start. Constructor is broken. 2016-08-29 10:44:31 +02:00
jsteemann c44649da00 Merge branch 'engine-vs-velocystream' of https://github.com/arangodb/arangodb into generic-col-types 2016-08-26 14:29:45 +02:00
Jan Christoph Uhde 3b3f33d74f Merge branch 'obi-velocystream' into engine-vs-velocystream
* obi-velocystream:
  add note about potential performance issues
  fix usage of unique_ptr
  rename HttpServerJob -> GeneralServerJob
  improve error handling
  improve error handling
2016-08-26 13:09:48 +02:00
Jan Christoph Uhde 77262f064d add note about potential performance issues 2016-08-26 10:20:24 +02:00
Michael Hackstein b01a7ac0d5 Merge branch 'engine-vs-velocystream' of github.com:arangodb/arangodb into generic-col-types 2016-08-26 08:02:54 +02:00
jsteemann c6efe26198 cppcheck 2016-08-25 14:04:23 +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
jsteemann 07055384b8 Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache 2016-08-24 17:34:59 +02:00
jsteemann c5f847a912 fix figures and volatile collection counts 2016-08-24 14:35:55 +02:00
Andreas Streichardt 6fa9bab7d0 Fix the logspam 2016-08-24 13:51:23 +02:00
Jan Christoph Uhde 1febeadfd7 finish ResponseCode enum 2016-08-23 15:46:42 +02:00
Jan Christoph Uhde 4873a9be71 finish ContentType enum 2016-08-23 15:02:55 +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
Jan Christoph Uhde e1e7e2da0b Merge remote-tracking branch 'origin/engine-vs-velocystream' into obi-velocystream-merge
* origin/engine-vs-velocystream: (91 commits)
  removed useless include
  removed JsonParser
  removed JsonHelper
  Fixed another failed nullptr handling in LogicalCollection cluster case.
  Fixed undefined behaviour in rest error creation
  Implemented updated of LogicalCollectionInfo. Right now this is only used in Cluster Mode
  agency startup changed to bootstrapping
  Mention howto control core files on linux.
  shutdown fixed
  Removed create / drop system collection from Cluster test. This is forbidden now
  The logical colleciton now knows it's journalSize
  Fixed a bug in collectionNameResolver. It now returns cid 0 for not found collections in cluster again.
  pushing corrected unittest script and cluster startup scripts
  adjusting startup scripts
  missing source file added
  we have a bootstrapping agency
  votes are processed correctly again
  Add module.context.createDocumentationRouter
  Don't implicitely build the windows packages.
  remove debug print
  ...

Conflicts:
	arangod/Cluster/ClusterComm.cpp
	arangod/GeneralServer/VppCommTask.h
	arangod/RestHandler/RestBaseHandler.cpp
	lib/Rest/VppRequest.h
2016-08-19 14:35:05 +02:00
Michael Hackstein 635641d4e5 Merge branch 'engine-vs-velocystream' of github.com:arangodb/arangodb into engine-vs-velocystream 2016-08-19 13:15:48 +02:00
jsteemann f6ca78f9e7 removed JsonParser 2016-08-19 12:39:26 +02:00
Michael Hackstein 96f11c7e9f Merge branch 'engine-vs-velocystream' of github.com:arangodb/arangodb into generic-col-types 2016-08-19 12:26:07 +02:00
Michael Hackstein 5f807900d7 Implemented updated of LogicalCollectionInfo. Right now this is only used in Cluster Mode 2016-08-19 11:14:23 +02:00
Jan Christoph Uhde 3a9867f86d merge with frank 2016-08-19 10:00:43 +02:00
Frank Celler aed99f6b53 fixed ownership of handler 2016-08-18 23:06:36 +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
jsteemann 21dd73074a cppcheck 2016-08-18 16:57:55 +02:00
jsteemann d7b2141da0 Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache 2016-08-18 16:22:00 +02:00
Andreas Streichardt dc74a0b681 Throw exceptions to avoid any circus behaviour 2016-08-18 14:52:45 +02:00
Andreas Streichardt 887da49edf Fix segfault when backend fails 2016-08-18 13:02:55 +02:00
Michael Hackstein d3ba488271 Merge branch 'engine-vs-velocystream' of github.com:arangodb/arangodb into generic-col-types 2016-08-18 12:38:07 +02:00
Michael Hackstein bb91925903 Readded temporary logical collections in cluster. Otherwise it is entirely unclear when which collection has to be deleted. 2016-08-18 11:38:16 +02:00
jsteemann 53e567f28f Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache 2016-08-18 11:30:07 +02:00
Andreas Streichardt 03b9d97e2f Implement proper cluster shutdown 2016-08-18 11:23:23 +02:00
Andreas Streichardt 3f412debf0 Revert futile attempts to implement client resilience tests 2016-08-17 18:12:40 +02:00
Andreas Streichardt 70af1e3647 Implement proper cluster shutdown 2016-08-17 17:25:39 +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
Michael Hackstein 9c9b3a9390 Merge branch 'devel' of github.com:arangodb/arangodb into MIT 2016-08-11 11:22:21 +02:00
Michael Hackstein e8ff84c8da cppcheck fixes and dead code cleanup. 2016-08-11 11:15:38 +02:00
Andreas Streichardt 87c8c0033a Improve clusterawareness in foxx and foxx queues 2016-08-10 12:26:24 +02:00
Michael Hackstein ec31db017d The TraverserEngine now honors variables in conditions properly 2016-08-09 16:28:07 +02:00
Michael Hackstein 42b8d44785 Fixed transfering of Vertex Filter Conditions in Cluster Traverser. Yet Missing if the filter needs a variable. 2016-08-09 13:54:34 +02:00
Michael Hackstein 34b124d2a4 Traverser Engines are now created on ALL servers in the cluster. Even though some of them may not be responsible for anything. 2016-08-08 16:28:26 +02:00
Michael Hackstein 1447d6901f If a collection is not known to a Cluster Traversal. It will now throw an exception to prevent dead-locks and undefined behaviour. 2016-08-08 09:41:27 +02:00
Michael Hackstein 1ebb19d1da Fixed potential dead-lock situation when using AQL Traversals in Cluster with late-modify of Vertex Collection. 2016-08-05 13:20:46 +02:00
Michael Hackstein f68162bd93 Merge branch 'devel' of github.com:arangodb/arangodb into MIT 2016-08-05 09:35:46 +02:00
Michael Hackstein 0e9e116bd9 Fixed the case a traverser engine is not responsible for any shard of one of the edge collections. Counting then went wrong 2016-08-04 16:09:27 +02:00
Michael Hackstein 77378c2138 Fixed undefined behaviour in ClusterTraverser 2016-08-04 14:15:37 +02:00
Andreas Streichardt f28d429bd5 fix ssl endpoint 2016-08-04 13:34:42 +02:00
jsteemann bc6633e4c0 Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache 2016-08-04 13:33:10 +02:00
Michael Hackstein 69ce88784a Fixed getVertexData on DBServer Traverser Engine. 2016-08-04 13:26:10 +02:00
Michael Hackstein 77c6b32c0c Fixed result generation of TraverserEngines on DBServer side. 2016-08-04 12:44:22 +02:00
jsteemann 8a200f754c WG beautification 2016-08-04 12:36:14 +02:00
Michael Hackstein 576244f140 First draft of communication ClusterTraverser<->Engine. Does crash early. 2016-08-04 10:26:41 +02:00
Michael Hackstein 8cb670595b Merge branch 'devel' of github.com:arangodb/arangodb into MIT 2016-08-04 09:09:25 +02:00
jsteemann 8baa7ec955 Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache 2016-08-03 13:39:00 +02:00
Jan Steemann fe87b25ebb produce more meaningful error messages 2016-08-03 13:36:13 +02:00
Michael Hackstein ad0d1314c4 Internal cleanup and unification of Cluster and SingleServer traverser. Having the new Traverser options they shared most of their code now. 2016-08-02 16:16:05 +02:00
Michael Hackstein 0867e2bb55 The TraversalNode now takes responsibility to clean up traversal engines on DBServers. 2016-08-02 14:05:35 +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
Michael Hackstein 26dd82c995 Started the transaction with creation of TraverserEngine. Also fixed json serialisation of the LookupInfo. Now undefined behaviour. 2016-08-02 11:37:27 +02:00
Jan Christoph Uhde 25226b1459 add: header() / headers() implemented for VppRequest 2016-08-02 11:36:06 +02:00
jsteemann 99aaf7de9b Merge branch 'readcache' of https://github.com/arangodb/arangodb into engine-vs-velocystream 2016-08-02 08:43:34 +02:00
Michael Hackstein 994a99e31f Merge branch 'devel' of github.com:arangodb/arangodb into MIT 2016-08-01 16:50:54 +02:00
Michael Hackstein c6b7a703db Firstattempt to implemenet correct locking in Cluster Traversal. It is not yet fully connected to execution plan. 2016-08-01 15:36:11 +02:00
Jan Christoph Uhde c59a553723 fix some errors -- http tests failing in cluster 2016-08-01 15:19:11 +02:00
Jan Christoph Uhde ef12d8dc2c struggle with ctor 2016-08-01 11:48:30 +02:00
jsteemann 71bd7deace Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache 2016-08-01 09:04:17 +02:00
Andreas Streichardt 8c69c9d51d Fix switch warning 2016-07-29 18:24:14 +02:00
jsteemann d92f15aeed entirely removed TRI_document_collection_t 2016-07-29 17:48:51 +02:00
jsteemann 80f1a7aaee Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache 2016-07-29 17:16:20 +02:00
jsteemann 59ed0a902c refactoring 2016-07-29 17:07:16 +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
Michael Hackstein 207d978afc Internal cleanup. Moved traversal options to a central place and removed the AQL-only version which was mostly redundant. This is preperation for Cluster initialisation. 2016-07-29 14:46:11 +02:00
Michael Hackstein 546ce1562e The TraverserEngine now locks specific shards, not all at once. Due to cluster wide potential deadlocks. Yeah locking in cluster, party... 2016-07-29 10:43:57 +02:00
Michael Hackstein 64d7f690da Removed AqlTransaction wherever possible. Added an InjectTransaction for the aql query, used by TraverserEngine. Also fixed TraverserEngine from/to velocypack functions. 2016-07-28 17:05:00 +02:00
jsteemann ebaabdb076 Merge branch 'obi-velocystream-4' of https://github.com/arangodb/arangodb into engine-vs-velocystream 2016-07-28 16:11:26 +02:00
Michael Hackstein 20f6dead12 Finished the RestHandler for the TraverserEngine. In theory it shall work now. Have to create Coordinator site. 2016-07-28 11:35:55 +02:00
jsteemann b71e12f6a0 some vocbase refactoring 2016-07-28 11:06:21 +02:00
Michael Hackstein 354ab44733 Implemented the base version of TraverserEngine. It should work in theory now. Need to write the REST Handler now. 2016-07-28 10:13:38 +02:00
jsteemann 31407c3561 refactoring 2016-07-27 17:15:52 +02:00
Michael Hackstein 360e6572b4 Added a toVelocyPack function to the Traverser Options. This Velocypack is required by the TraverserEngine on DB Server to recreate the Options. 2016-07-27 14:27:56 +02:00
Michael Hackstein 3dac8c27ed Implemented infrastructure for the TraversalEngines. We can now create and delete these engines accross several requests/threads. Right now the engines are empty. 2016-07-27 10:08:45 +02:00
jsteemann 89e0c11b44 refactoring 2016-07-26 16:25:38 +02:00
Michael Hackstein e560c022b6 Added a stub class for TraverserEngines. This is empty and needs to be implemented now 2016-07-26 14:19:33 +02:00
Michael Hackstein 9d0658c5ee Implemented parts of the TraverserEngineRegistry. It can now lease, return and delete engines. It cannot yet create them, well they don't actually exist yet anyways... 2016-07-26 14:12:21 +02:00
jsteemann df4daf4122 CleanupThread is now derived from Thread 2016-07-26 12:54:08 +02:00
Michael Hackstein 1d6afd1c67 Created a TraverserEngineRegistry which is a singleton feature. Right now it is empty. TODO Implement functionallity 2016-07-26 11:29:12 +02:00
Michael Hackstein 2a9c8ddc77 Merge branch 'devel' of github.com:arangodb/arangodb into MIT 2016-07-26 09:43:48 +02:00
Michael Hackstein 990a0dddff Finally variables can be used in path based filtering again. They are evaluated once before the execution starts (for every start vertex) 2016-07-25 17:38:52 +02:00
jsteemann 2aa2e0dab4 removed server.h 2016-07-25 16:49:52 +02:00
Jan Christoph Uhde da81c32539 remove body() method from GeneralRequest 2016-07-25 16:46:53 +02:00
jsteemann a0f0055b6f moved all database management functions into DatabaseFeature 2016-07-25 15:48:37 +02:00
jsteemann 33c94e5041 moved database lookup functions into DatabaseFeature 2016-07-25 14:56:39 +02:00
jsteemann b288d3e4dd moved dropDatabaseCoordinator() into DatabaseFeature 2016-07-25 14:04:55 +02:00
jsteemann de6d7182c8 move deletion of databases into DatabaseFeature 2016-07-25 13:56:34 +02:00
jsteemann a92ac7be28 Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache 2016-07-25 11:14:44 +02:00
Frank Celler a92add0a9f renamed RestServerFeature to GeneralServerFeature 2016-07-23 14:16:10 +02:00
jsteemann 5993c1b094 refactoring 2016-07-22 15:46:45 +02:00
jsteemann 431262cc19 Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache 2016-07-21 16:42:47 +02:00
Jan Christoph Uhde 5edaf0043a preparations for velocystream completed 2016-07-21 09:32:00 +02:00
Max Neunhoeffer 410bd3d95b Default to JSON for the moment. 2016-07-20 16:19:17 -07:00
Max Neunhoeffer 2aa6cae452 Fix performance improvements w.r.t. headers. 2016-07-20 16:05:21 -07:00
Max Neunhoeffer 6f4b48cfcf Try to fix performance issue with single documents in cluster.
This creates a fast path in performRequests for the case that only
one request is given. We use syncRequest instead of asyncRequest
to save a network roundtrip. Furthermore, all queues and locks
in ClusterComm are circumvented.
2016-07-20 15:15:41 -07:00
jsteemann 2b4c3707e3 Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache 2016-07-20 13:22:29 +02:00
Michael Hackstein aa1dc2a083 Intermediate State: Moved Traversals to use Slices above Strings to compare. Also Preperation to use different indexes. This state compiles but is not functional. 2016-07-19 10:54:37 +02:00
Jan Christoph Uhde 06bd01695a removed: body() from GeneralRequest 2016-07-19 09:16:07 +02:00
jsteemann 5ee344b685 added greetings feature 2016-07-18 18:32:27 +02:00
jsteemann 8cf7fc889d renamed method 2016-07-18 18:07:11 +02:00
jsteemann 53f77017fb moved SERVER away from DatabasePathFeature 2016-07-18 17:33:11 +02:00
jsteemann f373a2c327 removed TRI_vocbase_defaults_t 2016-07-18 16:55:25 +02:00