1
0
Fork 0
Commit Graph

10491 Commits

Author SHA1 Message Date
Kaveh Vahedipour 7dcee21432 bug fixes agancy backported from devel 2016-06-30 14:04:26 +02:00
Kaveh Vahedipour bfbc89f4f9 bug fixes agancy backported from devel 2016-06-30 14:00:52 +02:00
Kaveh Vahedipour 07bba4a9a9 bug fixes agancy backported from devel 2016-06-30 13:50:12 +02:00
Jan Steemann 6c2f9148cc increase max. number of collections to 256 2016-06-30 13:44:31 +02:00
Jan Steemann 3016fad94c issue #1915 2016-06-30 13:44:25 +02:00
Jan Steemann b05d4f7681 issue #1914: fix unterminated buffer 2016-06-30 13:15:10 +02:00
jsteemann 42b83af963 micro optimizations 2016-06-29 23:34:58 +02:00
jsteemann 77e19df7c7 reuse operation cursors for const expressions 2016-06-29 22:56:42 +02:00
jsteemann e554f5463a primary index and cursor optimizations 2016-06-29 22:13:24 +02:00
jsteemann aa4591193a removed unused Json include 2016-06-29 22:01:36 +02:00
jsteemann 10367c1de4 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-29 17:44:29 +02:00
jsteemann dd92e97c03 speed up primary index lookups 2016-06-29 17:44:03 +02:00
Kaveh Vahedipour 29acdad6bf unnecessary double condition 2016-06-29 17:42:41 +02:00
Jan Steemann 4642d2932e do not use revision id comparisions for compaction, but marker addresses 2016-06-29 15:59:35 +02:00
Kaveh Vahedipour e922909d6d empty arrays handled wrong 2016-06-29 15:39:51 +02:00
Kaveh Vahedipour 4c8ae6e5c5 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-29 14:59:16 +02:00
Kaveh Vahedipour 1baf2050c6 waitForCommited bug in agency fixed 2016-06-29 14:54:05 +02:00
Michael Hackstein 712e495fe2 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2016-06-29 13:08:13 +02:00
Michael Hackstein 59dd29e760 Improved OperationCursor. It now uses unique instead of shared ptr. It was never shared anyways. Also many more places now use direct MasterPointers in favor of OperationResults. Also added a generic IndexIterator nextBabies function. 2016-06-29 13:08:07 +02:00
jsteemann 9db548ff40 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-29 12:53:24 +02:00
jsteemann 4a5b75b485 escape Unicode characters in JSON dumps 2016-06-29 12:53:08 +02:00
Jan Steemann 0fea8cc711 add write collections before read collections 2016-06-29 11:10:27 +02:00
Jan Steemann 71c778e0bb Visual Studio 2016-06-29 09:53:42 +02:00
Jan Steemann eea20e5fa2 fix VS warnings 2016-06-28 17:23:49 +02:00
Jan Steemann 8002607b67 prevent VS warnings 2016-06-28 17:16:48 +02:00
Kaveh Vahedipour 516127aeb2 checking and documenting 2016-06-28 14:39:17 +02:00
Michael Hackstein 433d89b2d7 Removed unused imports 2016-06-28 14:07:15 +02:00
Michael Hackstein 12dc78450f Removed dead code. 2016-06-28 13:40:09 +02:00
Kaveh Vahedipour ff0fed4d37 some additional checking of vector bounds and assertions 2016-06-28 11:02:10 +02:00
Kaveh Vahedipour 363556bbf6 some additional checking of vector bounds and assertions 2016-06-28 11:01:50 +02:00
Kaveh Vahedipour 4c41193796 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-28 11:00:43 +02:00
Kaveh Vahedipour 2152566d29 some additional checking of vector bounds and assertions 2016-06-28 11:00:36 +02:00
jsteemann b6fd7d0c23 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-28 10:45:46 +02:00
jsteemann 664788eb75 make usage of SimpleAttributeEqualityMatcher consistent 2016-06-28 10:45:25 +02:00
Kaveh Vahedipour 5fd847c2e9 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-28 10:45:23 +02:00
Kaveh Vahedipour 811275889f too ambitious minimum election time in agency for wait-for-sync 2016-06-28 10:45:13 +02:00
jsteemann 07571f45c0 micro optimizations 2016-06-28 10:22:34 +02:00
Kaveh Vahedipour e06a5bc70f some additional checking of vector bounds and assertions 2016-06-28 09:26:33 +02:00
Kaveh Vahedipour 72045d3021 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-27 17:11:29 +02:00
Kaveh Vahedipour 2f4fcba0c8 supervision missed a leadership change while getting unique ids 2016-06-27 17:11:18 +02:00
Michael Hackstein 65c82ee38e Merge branch 'devel' of github.com:arangodb/arangodb into devel 2016-06-27 16:57:54 +02:00
Michael Hackstein 808cb97707 Fixed a bug in SHORTEST_PATH using a distance attribute. In some cases the computed path was not correct. 2016-06-27 16:57:47 +02:00
Kaveh Vahedipour e6ccc76d36 bogus matching entries warnings 2016-06-27 13:42:54 +02:00
Kaveh Vahedipour 5326e35b3b Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-27 13:37:11 +02:00
Kaveh Vahedipour 58e1b8fe0d agency will hold back responses until such time that leader has been elected 2016-06-27 13:37:04 +02:00
Max Neunhoeffer c1ea48b699 Fix a deadlock in the Constituent. 2016-06-27 13:35:11 +02:00
Max Neunhoeffer 5a6b5af02a Ensure that Store::_agent is set when first used.
This fixes a data race at startup.
2016-06-27 12:13:25 +02:00
jsteemann b56cf9f903 optimized away an unneeded shared_ptr 2016-06-25 23:48:09 +02:00
jsteemann e340b2d710 more index optimizations 2016-06-25 19:34:18 +02:00
jsteemann f65610ba23 more index optimizations 2016-06-25 18:26:08 +02:00
jsteemann 71a0ebb24a optimizations for edge index lookups 2016-06-25 15:55:11 +02:00
jsteemann 96e2473ae2 fixed "collection is a nullptr" issue when starting a traversal from a transaction 2016-06-25 15:54:14 +02:00
jsteemann c18ec8589b Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-24 17:24:00 +02:00
jsteemann 50cbf416b3 optimizations for primary index lookups 2016-06-24 17:23:43 +02:00
Wilfried Goesgens b126df61c2 Improve error handling for invalid graph definitions 2016-06-24 17:18:10 +02:00
Max Neunhoeffer 23fe65688f Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2016-06-24 16:55:59 +02:00
Kaveh Vahedipour 37d5956bec Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-24 16:52:42 +02:00
Max Neunhoeffer fe4a8e4695 Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2016-06-24 16:38:11 +02:00
Kaveh Vahedipour 1043af68f7 agency will hold back responses until such time that leader has been elected 2016-06-24 16:37:57 +02:00
Max Neunhoeffer b1395ce1bd No longer use return value of next() method of ArrayIterator. 2016-06-24 16:37:49 +02:00
jsteemann 4bfc58b8a9 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-24 16:24:49 +02:00
jsteemann c0a716e28d performance optimizations for primary index lookup 2016-06-24 16:24:39 +02:00
Kaveh Vahedipour 6d1d1e6b0b Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-24 15:37:08 +02:00
Kaveh Vahedipour bbade806c3 more agency tests 2016-06-24 15:36:57 +02:00
jsteemann 274801b7b6 issue #1891: renamed to OUTERSECTION 2016-06-24 14:07:41 +02:00
jsteemann 04b29e9c34 optimize handling of `[*]` operator in case no projection, no filter and no offset/limit values are used 2016-06-24 14:04:30 +02:00
jsteemann daf6d42683 optimize away some more filter parts of type `"const" IN collection.attribute 2016-06-24 14:03:58 +02:00
Kaveh Vahedipour a54c66ea2f vectorized arrays in key-value-store 2016-06-24 12:17:40 +02:00
jsteemann 6769130f33 enable import API for cluster 2016-06-24 10:53:00 +02:00
Kaveh Vahedipour 0a7decc303 this is the end of CommLock as we know it ... 2016-06-24 10:48:10 +02:00
jsteemann 50c3aa93a9 issue #1891: added AQL function `DIFFERENCE` to return the symmetric difference of its input arguments 2016-06-24 10:35:49 +02:00
Kaveh Vahedipour 761b16e407 added 'in'-check for agency precondition 2016-06-23 17:17:03 +02:00
Kaveh Vahedipour f673b5c5cc Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-23 15:51:06 +02:00
Kaveh Vahedipour f510275562 added 'in'-check for agency precondition 2016-06-23 15:50:58 +02:00
Kaveh Vahedipour d125d21912 added 'in'-check for agency precondition 2016-06-23 15:49:06 +02:00
jsteemann 8f0991e18e potential performance optimizations
simplifications

small optimizations
2016-06-23 14:47:44 +02:00
Wilfried Goesgens dd5e2b1c1b Fix warning message - the algorithm adds dashes, no need to do this here. 2016-06-23 13:15:50 +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 9003a50537 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-23 12:51:38 +02:00
Kaveh Vahedipour cf685fa444 no more agency locks in cluster info 2016-06-23 12:51:05 +02:00
jsteemann 7496fa2c67 issue #1894: make list of edge collections unique in traversal 2016-06-23 12:17:04 +02:00
Kaveh Vahedipour 1a8636c34c removing more locks from cluster-agency communication 2016-06-23 11:14:21 +02:00
Kaveh Vahedipour ab0b3fc321 agency test waits exactly for the leader election to have ended 2016-06-23 10:52:43 +02:00
Kaveh Vahedipour b40e5a3d24 agency test waits exactly for the leader election to have ended 2016-06-23 10:48:26 +02:00
Kaveh Vahedipour d55c85f8fa no commlockers in ClusterFeature anymore 2016-06-22 18:19:12 +02:00
Kaveh Vahedipour 11a36db83c getting rid of locks in cluster comm 2016-06-22 16:42:43 +02:00
Kaveh Vahedipour 34aed57a6d adding IN operator to kv-store 2016-06-22 14:44:43 +02:00
Kaveh Vahedipour 4f6f22928b Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-22 13:15:44 +02:00
Kaveh Vahedipour a6d5c61029 forward in removing locks in AgencyComm 2016-06-22 13:15:36 +02:00
Jan Steemann 992da3d4f0 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-22 11:15:18 +02:00
Jan Steemann 4038c21c10 reserve buffer ahead of time 2016-06-22 11:14:50 +02:00
Kaveh Vahedipour 48832c2d52 fix agency test error 2016-06-22 10:14:00 +02:00
Kaveh Vahedipour dcc2b257e3 fix agency test error 2016-06-22 10:02:30 +02:00
Max Neunhoeffer 0dc3b7dd45 Small change in getResponsibleServer to silence warnings.
If getResponsibleServer finds an entry _DBServer001 it simply waits
for half a second and checks again in the agency. This is the right
reaction to a planned leader change.
2016-06-21 22:55:46 -07:00
Jan Steemann 91f806ef2b match collections by either id or name 2016-06-21 17:21:59 +02:00
jsteemann ae2d8b8394 micro optimizations 2016-06-21 16:01:31 +02:00
Jan Steemann 6b23e9fee9 next attempt 2016-06-21 09:58:16 +02:00
Jan Steemann f362dc5e21 attempt to fix Visual Studio complaints 2016-06-21 09:52:42 +02:00
Jan Steemann a00cdb8cfd define RESTSERVER earlier, to avoid false results 2016-06-21 09:52:04 +02:00
jsteemann 55fce39574 optimizations for neighbors queries 2016-06-20 18:37:46 +02:00
Kaveh Vahedipour 7f326d362a vs compilation problems 2016-06-20 15:02:14 +02:00
Kaveh Vahedipour 6e13e454f1 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-20 10:24:57 +02:00
Kaveh Vahedipour b22b826862 documenting code mode 2016-06-20 10:13:00 +02:00
Max Neunhoeffer 8adf1ac3b6 Fix a typo in an error message. 2016-06-18 08:08:08 -07:00
jsteemann c46abcdf16 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-18 01:59:09 +02:00
jsteemann ea197fbf79 fixed assertion failure 2016-06-18 01:58:54 +02:00
Max Neunhoeffer 6df59cd509 Fix the fix: if there is cluster internal communication problems... 2016-06-17 14:36:00 -07:00
Max Neunhoeffer 4710059bd7 Fix crash if cluster internal communication does not work and no shardId comes back. 2016-06-17 13:49:16 -07:00
Max Neunhoeffer 66e24b2093 Use old version of Plan when building the new version. 2016-06-17 11:55:12 -07:00
jsteemann 6862f8fb9e micro optimizations 2016-06-17 17:55:06 +02:00
jsteemann 5b915d179c optimized away a Builder object 2016-06-17 17:24:15 +02:00
jsteemann 205cb4545a micro optimization 2016-06-17 17:10:15 +02:00
jsteemann 43574e509e Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-17 16:28:04 +02:00
jsteemann 1e8ce63e01 optimizations for traversal 2016-06-17 16:27:37 +02:00
Jan Steemann 46df1f6a79 optimization for documents 2016-06-17 15:50:45 +02:00
Kaveh Vahedipour 62b905d558 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-17 13:28:15 +02:00
jsteemann 1eff077480 small changes 2016-06-16 18:06:51 +02:00
Andreas Streichardt 76b89776fb Allow aborting cluster task startup...CTRL-C will now do a hard abort during startup 2016-06-16 16:00:43 +02:00
Kaveh Vahedipour 844a6430be Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-16 15:33:10 +02:00
Kaveh Vahedipour 1578d0df13 adding IN operator to kv-store 2016-06-16 15:33:03 +02:00
jsteemann 2b223f6757 fixed errors in cluster traversal 2016-06-16 13:51:37 +02:00
jsteemann ca4edc60e0 small optimizations for traversal 2016-06-16 13:26:46 +02:00
jsteemann 0e4d0610c7 removed unused property 2016-06-16 09:57:03 +02:00
jsteemann e9033e56c9 removed unused code 2016-06-16 09:49:13 +02:00
jsteemann 6683bc02a7 small traversal optimizations 2016-06-16 09:44:24 +02:00
Max Neunhoeffer d0fe9f6d81 Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2016-06-15 21:29:20 -07:00
Max Neunhoeffer dac508da27 Fix nasty bug with local system collections on DBServers.
There are 3: _statistics, _statisticsRaw and _statistics15.
They need _id attributes in their documents which store the local
collection ID, and collection name lookup must consider this case.
2016-06-15 21:26:04 -07:00
Max Neunhoeffer 4168cd32e7 Add more optional debugging output for AQL queries. 2016-06-15 21:23:16 -07:00
jsteemann 289a25bf5f no benefit from moving 2016-06-15 23:53:08 +02:00
jsteemann 2e417e08d6 fixed includes 2016-06-15 23:23:38 +02:00
jsteemann f6268f5c9d sort collection names 2016-06-15 23:18:04 +02:00
jsteemann 174bbab03a less work when packing search values for documentFastPath() 2016-06-15 22:23:14 +02:00
jsteemann 94d3959008 use alignas 2016-06-15 21:55:24 +02:00
jsteemann c3581c21aa fixed typo 2016-06-15 21:45:47 +02:00
jsteemann e536051af9 return prefab string 2016-06-15 20:48:39 +02:00
jsteemann e7be7730d2 fixed wrong assertion 2016-06-15 20:34:26 +02:00
jsteemann 2d5816dbb6 allow switching args for IS_SAME_COLLECTION 2016-06-15 20:34:06 +02:00
jsteemann f6cd7c67eb constify method 2016-06-15 19:22:16 +02:00
jsteemann f21561b25f use nullptr, don't include Thread.h when unnecessary 2016-06-15 19:21:53 +02:00
Kaveh Vahedipour 09e6fc810e Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-15 16:08:26 +02:00
Kaveh Vahedipour 9ea023acb1 store documentation 2016-06-15 16:08:17 +02:00
Jan Steemann f3b4a8cee3 properly delete .tmp files 2016-06-15 15:50:53 +02:00
Kaveh Vahedipour 132788a205 agency raft voting logging demoted from INFO to DEBUG 2016-06-15 14:38:52 +02:00
Kaveh Vahedipour 7bb896be3a moveshard looks if toserver already in list else failes 2016-06-15 14:19:15 +02:00
Wilfried Goesgens 2a5103c13e Fatal exit if we find an old database version. 2016-06-15 13:19:32 +02:00
Kaveh Vahedipour e4556bb766 fixed seldom race in election pulled back from 3.0 2016-06-15 12:35:40 +02:00
jsteemann 766f79baa3 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-15 09:54:17 +02:00
jsteemann fc34a53b14 speed up 2016-06-15 09:38:45 +02:00
jsteemann f7ece88b35 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-14 17:37:55 +02:00
Kaveh Vahedipour 66e6315113 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-14 17:14:00 +02:00
Kaveh Vahedipour 0f66a110de fixed max_elements bug in job transactions 2016-06-14 17:13:52 +02:00
jsteemann b397ec9b17 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-14 16:54:19 +02:00
Frank Celler 03079b2b67 3.0 fixes for paths 2016-06-14 16:51:48 +02:00
jsteemann 470919bf67 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-14 16:43:12 +02:00
Jan Steemann 24ee67eda7 try to fix potential crashes 2016-06-14 16:41:00 +02:00
Kaveh Vahedipour a3694e7a01 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-14 16:39:17 +02:00
Kaveh Vahedipour 1b77bc7a83 ageny tests 2016-06-14 16:39:07 +02:00
jsteemann 83466c2342 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-14 16:14:21 +02:00
jsteemann 34877186dd make user-defined AQL functions throw again 2016-06-14 16:14:02 +02:00
Max Neunhoeffer 3e1b745f64 Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2016-06-14 15:59:45 +02:00
Max Neunhoeffer 127a642943 Wait for 2 DBServers or 30s before running cluster bootstrap. 2016-06-14 15:40:11 +02:00
Kaveh Vahedipour 2f3c86dd1d error handling in rest handling and random generator in constituent 2016-06-14 14:53:33 +02:00
Kaveh Vahedipour ab593bfa94 error handling in rest handling and random generator in constituent 2016-06-14 14:51:48 +02:00
Frank Celler e8a5f4b8aa fixed random issue 2016-06-14 14:25:44 +02:00
Frank Celler 37dc4ae54e fixed random issue 2016-06-14 14:22:43 +02:00
Andreas Streichardt f46096d693 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2016-06-14 13:04:30 +02:00
Andreas Streichardt 60377dfd1b Throw exception when calling cluster methods in non-cluster mode 2016-06-14 13:04:03 +02:00
Kaveh Vahedipour 3f0b5c1a36 minor optimisations 2016-06-14 12:20:22 +02:00
Kaveh Vahedipour 658a2a8f3d clean up code, document 2016-06-14 12:00:34 +02:00
jsteemann e952d2f08b Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-13 22:38:45 +02:00
jsteemann a7fa0c0544 fixed uniqueness issue for breadth-first traversal in cluster 2016-06-13 21:00:13 +02:00
Kaveh Vahedipour 1709d66841 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-13 19:32:56 +02:00
Kaveh Vahedipour df93c72bd0 optimised key-value store for speed and readability 2016-06-13 19:32:50 +02:00
Andreas Streichardt 040959e83b Merge branch 'devel' of github.com:arangodb/arangodb into devel 2016-06-13 19:12:47 +02:00
Andreas Streichardt d9d30d6bdc Throw exception when not running in cluster 2016-06-13 19:11:29 +02:00
Frank Celler 4576ec4f5c fixed return code 2016-06-13 17:20:17 +02:00
jsteemann fc53bbec02 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-13 15:17:02 +02:00
jsteemann b898333162 fix SSL options 2016-06-13 15:16:31 +02:00
Kaveh Vahedipour d130743a73 shrinkCluster tests 2016-06-13 15:15:10 +02:00
Kaveh Vahedipour cf338d0158 shrinkCluster tests 2016-06-13 14:45:29 +02:00
Max Neunhoeffer 2a7f4684f4 Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2016-06-13 13:55:30 +02:00
Max Neunhoeffer 1f926fc24b Fix synchronous replication: use shard name instead of ID.
Explanation: Different replicas of the same shard will have different
local collection IDs. Therefore we have to use the shard name
(collection name) to indentify collections in synchronous replication.
2016-06-13 13:54:32 +02:00
jsteemann 9abb3d6e72 do not count filtered values twice 2016-06-13 13:33:55 +02:00
jsteemann 6a9a45de2f make it compile on Visual Studio 2016-06-13 13:21:30 +02:00
jsteemann c580ac9b91 make it compile on Visual Studio 2016-06-13 13:18:57 +02:00
jsteemann f09b91813d pacify Visual Studio 2016-06-13 13:16:35 +02:00
jsteemann f3edd6ef5d Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-13 12:59:37 +02:00
jsteemann 85d8e84e2a fixed endless looping 2016-06-13 12:15:30 +02:00
jsteemann 365a70643e use std::move 2016-06-13 10:28:39 +02:00
jsteemann 0d2274edef Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-12 16:58:18 +02:00
Frank Celler c192c41c21 fixed typo 2016-06-12 12:25:10 +02:00
Frank Celler 2dce30ac21 clang-format 2016-06-12 12:19:37 +02:00
Frank Celler ed01dcec8f secure-installation will remove all users except root 2016-06-12 12:19:37 +02:00
Michael Hackstein 614c52d5c6 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2016-06-10 21:34:53 +02:00
Michael Hackstein 7baee88d23 Removed Code that is now obsolete do to replacement of Neighbors by Pattern Matching traversal 2016-06-10 21:33:46 +02:00
Michael Hackstein d7a710593a Fixed some minor bugs in breadth-first-search for AQL traversal. Also added another test case for it. 2016-06-10 21:00:38 +02:00
Andreas Streichardt 7a6c00506e Merge branch 'devel' of github.com:arangodb/arangodb into devel 2016-06-10 19:28:23 +02:00
Kaveh Vahedipour dfa2d31410 we can shrink cluster 2016-06-10 19:28:06 +02:00
Michael Hackstein 50225fdc0d First draft of Breadth-First-Search implementation for Traversal. 2016-06-10 19:25:44 +02:00
Andreas Streichardt e086199fa6 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2016-06-10 18:38:40 +02:00
Kaveh Vahedipour d60b58427f we can shrink cluster 2016-06-10 18:38:23 +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 2e866c4067 we can shrink cluster 2016-06-10 18:20:37 +02:00
Kaveh Vahedipour beba4887a3 shrink cluster in supervision 2016-06-10 18:10:37 +02:00
Frank Celler 927c697b8b fixed auth (again) 2016-06-10 16:21:48 +02:00
Kaveh Vahedipour 55351f2358 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-10 15:57:25 +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 96053268aa Fix v8 contexts check. 2016-06-10 15:48:38 +02:00
Michael Hackstein bdee12804c PathEnumerator is now an Abstract class. It can either be DepthFirstEnumerator, or BreadthFirstEnumerator. The later is to be implemented 2016-06-10 15:41:20 +02:00
Michael Hackstein dce3864285 Further internal cleanup of Traversal and ShortestPath. wrt Template Classes. Also moved maxDepth test into the pathEnumerator in preparation for BreadthFirstTraversals 2016-06-10 15:03:27 +02:00
Max Neunhoeffer bacaeaac4f Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2016-06-10 14:06:41 +02:00
Max Neunhoeffer 3a20591d77 Fix heartbeat thread (remain < 0.0 and cast to uint64_t bug). 2016-06-10 14:06:22 +02:00
Frank Celler fa9501cc0c use defer release 2016-06-10 14:01:42 +02:00
Frank Celler 5cb1d86d58 special treament for /_api/user 2016-06-10 14:01:42 +02:00
Michael Hackstein 419cfdab14 Cleanup of internal structur for single server traversals. Moved the functions out of V8Server because they do not have anything to do with V8 any more. It should be more clear now 2016-06-10 13:56:07 +02:00
Kaveh Vahedipour b9a6a89392 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-10 12:36:01 +02:00
Kaveh Vahedipour d34752a1c4 removed dependence on excetion throwing for store to build results 2016-06-10 12:35:52 +02:00
Max Neunhoeffer be02c9c9fb Do not crash when registerTask is called after shutdown has begun. 2016-06-10 12:01:44 +02:00
Max Neunhoeffer 19a075c4f1 Squelch a some error messages when shutdown already in progress. 2016-06-10 12:01:13 +02:00
Max Neunhoeffer c6bf02a245 Honour isRestore option in <coll>.insert, <coll>.replace and <coll>.update. 2016-06-10 10:29:00 +02:00
Max Neunhoeffer 1a39e2efb1 Rename obsolete "SERVINGASYNC" to "SERVING". 2016-06-10 09:15:45 +02:00
jsteemann fd80ae28c7 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-09 18:47:45 +02:00
Kaveh Vahedipour 664a4745eb moveshard good 2016-06-09 18:25:29 +02:00
Max Neunhoeffer eaa5d3c9a8 Prevent division by zero. 2016-06-09 16:23:49 +02:00
Max Neunhoeffer e7fe62bbf8 Add reporting to /Target/CleanedServers. 2016-06-09 16:19:24 +02:00
Kaveh Vahedipour 9a1ef370fc Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-09 14:08:17 +00:00
Kaveh Vahedipour 70f7a2a9d3 agency shutdown problems 2016-06-09 14:08:11 +00:00
Kaveh Vahedipour 8deaee2bd6 agency shutdown problems 2016-06-09 14:06:25 +00:00
Andreas Streichardt 8eb0ed6d38 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2016-06-09 15:43:18 +02:00
Andreas Streichardt 3e10ea32b2 remove obsolete code 2016-06-09 15:42:56 +02:00
Frank Celler f029808e4e added restore-admin 2016-06-09 15:28:27 +02:00
jsteemann 106d143047 fixed leaks 2016-06-09 14:15:34 +02:00
Kaveh Vahedipour 2ae47d302b moveshard working 2016-06-09 13:54:11 +02:00
Kaveh Vahedipour c85281b06b waitForCommit is new default behaviour of writes in agency 2016-06-09 13:38:56 +02:00
Kaveh Vahedipour 9fd39ed804 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-09 13:36:57 +02:00
Kaveh Vahedipour a13de0044e waitForCommit is new default behaviour of writes in agency 2016-06-09 13:36:17 +02:00
jsteemann 7a9ed0f318 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-09 13:15:42 +02:00
jsteemann 2464acf327 fixed leak 2016-06-09 13:15:36 +02:00
Kaveh Vahedipour 79d467daa9 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-09 13:14:28 +02:00
Kaveh Vahedipour 09535492d6 waitForCommit is new default behaviour of writes in agency 2016-06-09 13:14:19 +02:00
Jan Steemann dff3c23380 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-09 13:09:12 +02:00
Max Neunhoeffer a7cb6b6830 Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2016-06-09 12:04:18 +02:00
Max Neunhoeffer ebe0b5c64a Report result of DBSyncServerJob back to the heartbeat thread. 2016-06-09 12:03:34 +02:00
Max Neunhoeffer 136336e9d8 Fixed a typo. 2016-06-09 12:02:28 +02:00
Kaveh Vahedipour a88a93b450 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-09 12:01:50 +02:00
Kaveh Vahedipour e6ec1864c5 move-shard slightly changed order of actions 2016-06-09 12:01:44 +02:00
Jan Steemann b5d120321e decrease number of reserve logfiles 2016-06-09 11:56:39 +02:00
Jan Steemann 062cbe9db5 fix race condition on shutdown 2016-06-09 11:51:06 +02:00
jsteemann de4086afc2 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-09 11:12:45 +02:00