1
0
Fork 0
Commit Graph

12873 Commits

Author SHA1 Message Date
Michael Hackstein 44647f2392 Moved Fulltext and geo functions into MMFiles StorageEngine and allowed the engines to register specific functions. 2017-02-06 17:44:17 +01:00
jsteemann ac9e28d353 fix typo 2017-02-06 17:38:36 +01:00
jsteemann 8dfb97c0bd Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api 2017-02-06 17:04:35 +01:00
Frank Celler e3fe51faa8 better threads working handling 2017-02-06 16:32:55 +01:00
Jan Christoph Uhde eddfaa9e83 add some comment and inspect interface 2017-02-06 16:14:04 +01:00
Max Neunhoeffer 29ffe1ecb7 Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2017-02-06 15:51:26 +01:00
Max Neunhoeffer 3f6ec436f8 Output a warning if Schmutz runs for longer than 30s. 2017-02-06 15:50:01 +01:00
Kaveh Vahedipour 9ca79d216a checking agency failures for high catchup data 2017-02-06 15:49:55 +01:00
jsteemann 6b3a4d1dc3 Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api 2017-02-06 15:48:54 +01:00
jsteemann 00dbf5aa9e Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-02-06 15:44:01 +01:00
jsteemann ba44acdcff simplify optimizer API a bit 2017-02-06 15:43:49 +01:00
Max Neunhoeffer 139abbaf0e Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2017-02-06 15:25:38 +01:00
Max Neunhoeffer 71dae630c3 Store ClusterComm singleton in shared_ptr. 2017-02-06 15:25:18 +01:00
Wilfried Goesgens 132ba8ba8e finalize the work on the debug packages 2017-02-06 13:54:53 +01:00
jsteemann ab11410911 Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api 2017-02-06 13:05:11 +01:00
Kaveh Vahedipour c49c853b01 back ports from 3.1 2017-02-06 10:18:40 +01:00
Max Neunhoeffer 61dcf8200f Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2017-02-06 09:46:20 +01:00
Max Neunhoeffer 20e2128a44 Fix shardDistribution in case of leader change. 2017-02-06 09:45:00 +01:00
jsteemann 93426ca720 fix sorting issue in cluster 2017-02-06 09:44:33 +01:00
Max Neunhoeffer b6dbbfa444 Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2017-02-06 09:40:32 +01:00
Kaveh Vahedipour f846c0fd0f backports from 3.1 2017-02-06 09:26:37 +01:00
Michael Hackstein b3d457cd56 Merge branch 'devel' of github.com:arangodb/arangodb into engine-api 2017-02-05 15:01:58 +01:00
Frank Celler 37805f6bc9 safety check 2017-02-04 13:08:13 +01:00
Frank Celler 602795deea safety check 2017-02-04 13:08:08 +01:00
jsteemann ed613ac660 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-02-03 22:40:32 +01:00
jsteemann c463955b68 re-added startup option compatibility with 3.1 2017-02-03 22:40:18 +01:00
jsteemann e39a457e46 micro optimizations 2017-02-03 22:28:51 +01:00
jsteemann 945edacf3f move connection info 2017-02-03 17:43:57 +01:00
Wilfried Goesgens 193f1213b3 fix generating of debug packages 2017-02-03 17:36:47 +01:00
Max Neunhoeffer 62521ee617 Fix synchronous replication.
It was possible that a follower got into sync after the list of
followers was retrieved, but before a single document was written.
This dropped this document for the new follower because the leader
forgot to replicate it. This lead to document loss in case of a
failover or planned leader change.
2017-02-03 16:51:51 +01:00
jsteemann c2671d7ba3 micro optimizations 2017-02-03 16:51:41 +01:00
jsteemann 3c9c826210 make method protected 2017-02-03 16:44:30 +01:00
Michael Hackstein 63f0e52e49 Fixed a bug in primaryindex. In some cases it reported that it could not find more documents although there were more. 2017-02-03 16:15:41 +01:00
Michael Hackstein eab6907678 Removed wrong assertion 2017-02-03 13:46:14 +01:00
Michael Hackstein 7083671116 Merge branch 'engine-api' of github.com:arangodb/arangodb into engine-api 2017-02-03 13:22:43 +01:00
Michael Hackstein 5e4b9e42b3 Fixed minor bugs in usage of callback-based index-api. Remove unused old next and nextBabies index iterator functions. 2017-02-03 13:22:06 +01:00
jsteemann 512672b3a4 make geo index work with nested attributes 2017-02-03 13:07:20 +01:00
jsteemann f9105e8393 mark the geo index as sorted 2017-02-03 11:48:05 +01:00
jsteemann 819eeb18f9 don't tell GatherNode to sort data from an unsorted index 2017-02-03 11:47:52 +01:00
jsteemann 3c5edeb9b2 fix cluster AQL statistics 2017-02-03 11:47:36 +01:00
jsteemann 6e0da7929b simplify stats a bit 2017-02-03 11:47:09 +01:00
jsteemann f7edf28599 mark the geo index as sorted 2017-02-03 11:42:19 +01:00
jsteemann 902429ddfd less log spam at startup 2017-02-03 11:42:03 +01:00
jsteemann f5a6818cdb don't tell GatherNode to sort data from an unsorted index 2017-02-03 11:17:56 +01:00
jsteemann eb89982279 reserve space 2017-02-03 11:17:47 +01:00
jsteemann 3f0855d793 remove unused variable 2017-02-03 10:53:16 +01:00
Kaveh Vahedipour a100c45d1b Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-02-03 10:48:40 +01:00
Kaveh Vahedipour f3cb1307a5 3.1 fixes backported to devel 2017-02-03 10:48:25 +01:00
Max Neunhoeffer 72fa45cc94 Port better reporting of longish Schmutz behaviour to devel. 2017-02-03 10:47:13 +01:00
jsteemann 952b9c00c2 Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api 2017-02-03 10:43:56 +01:00
jsteemann 041da9685c Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api 2017-02-03 10:43:48 +01:00
jsteemann 950c3f40ad fix cluster AQL statistics 2017-02-03 10:43:40 +01:00
Frank Celler 7e2e8bfee0 reset counter as well 2017-02-02 16:00:03 +01:00
Michael Hackstein 08ff23492f Updated ShortestPathBlock to use the new callback based IndexApi 2017-02-02 15:51:54 +01:00
Michael Hackstein da32eef2ca RestEdgesHandler now uses Callback Based OpCursor API 2017-02-02 15:42:57 +01:00
Michael Hackstein 703199bc32 Fixed compiler error from previous commit. 2017-02-02 15:42:35 +01:00
Michael Hackstein d250a3e12d Replaced SingleServer EdgeCursor mit Callback based OpCursor API. This class is NOT future-proof. It assumes that Slice addresses stay valid 2017-02-02 15:32:45 +01:00
Michael Hackstein d2b82165e2 Replaced trx->all|any with callback based IndexApi. 2017-02-02 15:32:00 +01:00
Michael Hackstein d5d22ca93e EnumerateCollectionBlock now uses callback to directly write indexoutput into AQLItemblock. 2017-02-02 14:41:33 +01:00
Michael Hackstein e8f621450c Merge branch 'engine-api' of github.com:arangodb/arangodb into engine-api 2017-02-02 12:38:20 +01:00
jsteemann 072553d3f3 don't throw in dtor 2017-02-02 10:21:15 +01:00
jsteemann 0e908a9617 simplify stats a bit 2017-02-02 10:21:03 +01:00
jsteemann 6b78f6c1ac fix negative value handling 2017-02-02 10:17:21 +01:00
jsteemann a1b3bfcc80 dont include ServerState when not needed 2017-02-02 10:16:53 +01:00
jsteemann 0f80239a9d Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api 2017-02-02 08:40:30 +01:00
Michael Hackstein 364e07b164 Removed AQL::CollectionScanner. It can be drop-in replaced by OperationCursor 2017-02-01 20:57:44 +01:00
Michael Hackstein 0252addf3e collection.toArray() is now the first API to use new callback-based OperationCurssor lookup. 2017-02-01 20:25:17 +01:00
jsteemann 88518f6bf8 added "httpRequests" execution stats figure 2017-02-01 18:03:26 +01:00
Michael Hackstein 2a3eae88bc Merge branch 'engine-api' of github.com:arangodb/arangodb into engine-api 2017-02-01 17:34:42 +01:00
Michael Hackstein d920788a7f The new index-callback API returns if it has more elements or not 2017-02-01 17:33:52 +01:00
jsteemann 4f1d588e0d Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api 2017-02-01 17:13:46 +01:00
jsteemann abc1bd4d66 use SmallVector optimization 2017-02-01 16:51:35 +01:00
jsteemann 0156c5aec7 make database deletion more deterministic 2017-02-01 16:44:41 +01:00
Michael Hackstein 5f4027a75c Removed further unnecessary includes 2017-02-01 16:39:37 +01:00
Michael Hackstein 1a863f522b Removed unnecessary include and replaced by forward decl. 2017-02-01 16:35:11 +01:00
Michael Hackstein 2153999a26 Merge branch 'engine-api' of github.com:arangodb/arangodb into engine-api 2017-02-01 16:09:25 +01:00
Michael Hackstein 0c3cada5b8 Added a new callback based option for IndexIterators to hand out DocumentTokens. This feature is not yet used anywhere 2017-02-01 16:07:37 +01:00
Michael Hackstein 4ee6f44f38 Fixed compile warning. Class was forward declarated as struct 2017-02-01 16:06:14 +01:00
jsteemann fa917937c4 do not use namespaces in header files 2017-02-01 13:41:31 +01:00
jsteemann 2383548270 use initializer 2017-02-01 13:03:59 +01:00
jsteemann fae1f7ba63 Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api 2017-02-01 13:00:34 +01:00
jsteemann e9709763f7 removed a left-over usleep 2017-02-01 13:00:18 +01:00
jsteemann e2a312450f fix out-of-memory handling at startup 2017-02-01 13:00:05 +01:00
jsteemann 5939ff249f remove now unused files 2017-02-01 12:39:24 +01:00
jsteemann c314f9190d added assertions 2017-02-01 11:44:30 +01:00
jsteemann 769d58ec82 fix MSVC compile warning 2017-02-01 10:57:54 +01:00
Wilfried Goesgens 27956ce71f Merge branch 'devel' of github.com:arangodb/ArangoDB into v8_subsubmodule 2017-02-01 10:43:34 +01:00
jsteemann 9a8e2bc57a Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-02-01 10:39:42 +01:00
jsteemann 126f9a21fe fix index ids 2017-02-01 10:39:21 +01:00
Max Neunhoeffer 48be25bdde Add diagnostics to see background jobs that do not run.
If a job is only executed more than 5 seconds later than it was
scheduled, an error is logged.
2017-02-01 09:36:33 +01:00
Wilfried Goesgens b91a7c0621 Merge branch 'devel' of github.com:arangodb/ArangoDB into v8_subsubmodule 2017-01-31 18:02:30 +01:00
jsteemann fc4977157d fix static_assert in MSVC 2017-01-31 17:35:31 +01:00
Wilfried Goesgens d0e38fe595 Merge branch 'devel' of github.com:arangodb/ArangoDB into v8_subsubmodule 2017-01-31 17:07:30 +01:00
jsteemann 600bd60edd fix MSVC compile warnings 2017-01-31 17:02:17 +01:00
jsteemann b8e1eb8d47 fix compile warnings in MSVC 2017-01-31 16:47:22 +01:00
jsteemann c62b952beb fixed class/struct confusion 2017-01-31 16:46:59 +01:00
Wilfried Goesgens bb80b5cf90 Merge branch 'devel' of github.com:arangodb/ArangoDB into v8_subsubmodule 2017-01-31 16:34:42 +01:00
jsteemann 62827583d4 try to fix compile error 2017-01-31 16:12:16 +01:00
jsteemann 62145baa2a Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-01-31 15:54:39 +01:00
Michael Hackstein e98c7d3b7c Merge branch 'devel' of github.com:arangodb/arangodb into devel 2017-01-31 15:31:25 +01:00
Michael Hackstein ef8ca78dfb Added more tests for traversal optimization. Fixed an crash-error when optimizing . 2017-01-31 15:30:59 +01:00
jsteemann fc5d7311b5 use general BlockCollector in all cases in which it is appropriate 2017-01-31 15:03:24 +01:00
jsteemann 4fa2a6a1d0 Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api 2017-01-31 14:57:17 +01:00
jsteemann 4d06ac7648 use std::string 2017-01-31 14:57:05 +01:00
Max Neunhoeffer 460e27d31c Log level down to debug for Schmutz-Startung. 2017-01-31 14:39:34 +01:00
Michael Hackstein 7ab8e823d6 Added a forgotten VPackBuilder.close() in Traversalnode to VPack. This caused the query planner to fail at certain cases 2017-01-31 14:33:10 +01:00
Max Neunhoeffer c4d5d982c7 Fix bugs of threads not announcing that they are busy. 2017-01-31 14:07:54 +01:00
jsteemann 37b7a18040 Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api 2017-01-31 13:55:55 +01:00
jsteemann eec173c4ee optimize `IS_NULL(x)` to `x == null` 2017-01-31 12:17:35 +01:00
jsteemann 3c2a466c48 use block collector for IndexBlock 2017-01-31 12:16:53 +01:00
jsteemann 8b62579789 Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api 2017-01-31 10:04:56 +01:00
Kaveh Vahedipour b7b8a6cf88 lowering log output in agencycomm 2017-01-31 09:37:47 +01:00
jsteemann 991e65dd37 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-01-31 09:07:47 +01:00
jsteemann d7f2ee7e2f fix comment 2017-01-31 09:07:34 +01:00
Max Neunhoeffer d8171651bf Fix assert. 2017-01-31 09:03:48 +01:00
Max Neunhoeffer d8d8ef9755 Add an assertion. 2017-01-31 09:03:41 +01:00
jsteemann 5cb4e3e685 Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api 2017-01-31 08:51:42 +01:00
jsteemann 6598828449 Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api 2017-01-31 00:33:42 +01:00
Max Neunhoeffer 91c97d301a Lower timeout in query registry to 10min from 1h. 2017-01-30 23:59:46 +01:00
Max Neunhoeffer 9525f46b2b Some cleanup of comments for better understandability. 2017-01-30 23:22:58 +01:00
jsteemann 16c19ad927 cppcheck 2017-01-30 23:02:05 +01:00
jsteemann 52655b0cd9 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-01-30 22:54:18 +01:00
jsteemann 4172b3e0e4 turn down loglevel a bit 2017-01-30 22:54:00 +01:00
Max Neunhoeffer cbae239aea Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2017-01-30 22:32:40 +01:00
Max Neunhoeffer af3c206d89 Try to solve sporadic shutdown blockage in heartbeat thread. 2017-01-30 22:32:05 +01:00
Dan Larkin b4ec71d33a Fixed compilation bug 2017-01-30 14:26:06 -05:00
Dan Larkin 5b736dc319 Changed index-filling to dispatch batch insertion tasks to scheduler, obsoleted index-threads option. 2017-01-30 13:05:10 -05:00
jsteemann ec1e05975f Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-01-30 17:06:13 +01:00
jsteemann cb9bf7c2ff added obsolete parameter optionality 2017-01-30 17:06:02 +01:00
Wilfried Goesgens 73f4f04f8e fix binary name 2017-01-30 16:56:55 +01:00
jsteemann ba398494d0 make option hidden 2017-01-30 16:01:12 +01:00
jsteemann 4b98e961f6 fix loglevel 2017-01-30 15:51:37 +01:00
Max Neunhoeffer b3857d14b6 Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2017-01-30 15:45:30 +01:00
Max Neunhoeffer 61b353edc5 Fix fix of concurrently running Schmutzes. 2017-01-30 15:45:15 +01:00
jsteemann 3b83470ce5 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-01-30 15:32:41 +01:00
jsteemann 43fb70a693 fix double-free issue 2017-01-30 15:32:06 +01:00
Max Neunhoeffer 1aca50fd71 Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2017-01-30 14:03:04 +01:00
Max Neunhoeffer fa296ebf40 Fix running multiple Schmutzes running concurrently. 2017-01-30 14:02:24 +01:00
jsteemann 1294cf6128 Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api 2017-01-30 12:53:19 +01:00
jsteemann d96ce9af37 Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api 2017-01-30 12:53:10 +01:00
Wilfried Goesgens 584f3120dd Upgrade V8
- ICU now doesn't build the icudata library anymore
    - ship the icu database on all platforms and all packages
    - we now load the icu database file ourselves, and hand over the pointer to ICU.
  - follow the V8 changes around Weak pointer handling
2017-01-30 12:30:07 +01:00
Kaveh Vahedipour 6647fb1c14 no need to udate single host agencies' endpoints 2017-01-30 09:55:34 +01:00
jsteemann cea0ecabad Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api 2017-01-30 09:03:55 +01:00
jsteemann 802c384448 renaming 2017-01-30 09:02:57 +01:00
Max Neunhoeffer f09ecd21b2 Logging level for background job debugging down to DEBUG. 2017-01-29 23:05:33 +01:00
Michael Hackstein 55e0f63fec Moved major Index-creation out of LogicalCollection into the StorageEngine Specific IndexFactory. 2017-01-29 15:08:26 +01:00
Max Neunhoeffer c62c521a43 Fix closure for background jobs in HeartbeatThread one more time. 2017-01-29 00:08:12 +01:00
Max Neunhoeffer 3ac470cbb2 Fix closure for background jobs in HeartbeatThread. 2017-01-28 23:57:40 +01:00
Max Neunhoeffer 5dee45a6c1 Delete boost::asio::io_service::strand. 2017-01-28 23:45:19 +01:00
Michael Hackstein 819ef4ae2c Fixed failing index-creation tests after moving to IndexFactory. 2017-01-28 22:46:49 +01:00
Max Neunhoeffer 429ffcd43c Count callbacks in _strand in HeartbeatThread and log. 2017-01-28 22:13:21 +01:00
Max Neunhoeffer 4e2a9be028 Merge branch 'devel' of ssh://github.com/arangodb/arangodb into devel 2017-01-28 21:27:41 +01:00
Max Neunhoeffer 8b4ed89d14 More logging on level info. 2017-01-28 21:26:34 +01:00
Michael Hackstein 72b8945254 Merge branch 'engine-api' of github.com:arangodb/arangodb into engine-api 2017-01-28 21:20:16 +01:00
Michael Hackstein 0027bc54c8 Create a StorageEngine-specific IndexFactory. Moved EnhanceIndexJson v8 -> IndexFactory. 2017-01-28 21:19:50 +01:00
Kaveh Vahedipour 7954512878 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-01-28 20:34:32 +01:00
Kaveh Vahedipour bcfec215b8 tested restart from 3.1 database 2017-01-28 20:32:29 +01:00
Max Neunhoeffer 75e6714d19 Merge branch 'devel' of ssh://github.com/arangodb/arangodb into devel 2017-01-28 20:29:35 +01:00
Max Neunhoeffer 6993ca32c7 Add more debugging output on log level info around Schmutz script. 2017-01-28 20:28:58 +01:00
Kaveh Vahedipour f98701a598 localId overrules persisted UUID 2017-01-28 12:25:57 +01:00
Kaveh Vahedipour 60e0622793 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-01-28 12:05:37 +01:00
Kaveh Vahedipour daa1856aa0 localId overrules persisted UUID 2017-01-28 12:05:31 +01:00
Max Neunhoeffer fbb32650a3 Prevent log spam. 2017-01-28 01:43:15 +01:00
jsteemann db9b4ace6d fix lock timeout calculation 2017-01-28 00:05:34 +01:00
Max Neunhoeffer 542e9a0f10 Fix LogicalCollection::toVelocyPack after merge chaos. 2017-01-27 22:32:06 +01:00
Michael Hackstein dcdc495c63 Fixed unintentially commited typo. 2017-01-27 19:30:26 +01:00
Michael Hackstein 2fe7a93f6e Improved TraversalCondition finder. It now does not crash anymore when filtering on TraverserOutput e.g. p.edges[0] == p.edges[1] and can make use of Array Indexes in certain cases. 2017-01-27 19:22:17 +01:00
Michael Hackstein 57b6174ff1 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2017-01-27 17:57:21 +01:00
jsteemann 044499e454 added startup option --query.memory-limit 2017-01-27 17:33:57 +01:00
Max Neunhoeffer d8eeae13e0 Try to fix drop database bug with Collector.
Wait for a phase in the Collector with no queued operations before
actually destroying the LogicalCollections. This is to make sure that
no more DOCUMENT ditches are around.
2017-01-27 16:57:51 +01:00
jsteemann 09851cdf75 Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api 2017-01-27 16:37:32 +01:00
jsteemann 65c45813e2 refactoring 2017-01-27 16:37:02 +01:00
Max Neunhoeffer 3289dd3151 Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2017-01-27 16:31:15 +01:00
Max Neunhoeffer 18f91ef09e Debug log if an msync takes too long. 2017-01-27 16:30:44 +01:00
jsteemann 4d5875f42f refactoring 2017-01-27 15:57:22 +01:00
Kaveh Vahedipour 693a1eddf4 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-01-27 15:29:35 +01:00
Kaveh Vahedipour 3f3633bd2c supervision to proper preconditioning of jobs on plan 2017-01-27 15:29:22 +01:00
Frank Celler 0457e2f587 safety check 2017-01-27 14:02:16 +01:00
jsteemann 67ac80a469 fixed after merge 2017-01-27 13:55:50 +01:00
jsteemann bbca3dde1c Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api 2017-01-27 13:52:36 +01:00
jsteemann a1a829451c refactoring 2017-01-27 13:52:23 +01:00
Frank Celler 9a5a50e2d5 more cleanup on statistics 2017-01-27 13:17:08 +01:00
jsteemann d9f0496cf4 fix segfault 2017-01-27 13:10:23 +01:00
jsteemann f37a2d8014 Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api 2017-01-27 12:11:57 +01:00
jsteemann 499add4735 refactoring 2017-01-27 12:11:44 +01:00
Frank Celler 4a0282cc2b added missing mutex 2017-01-27 12:03:31 +01:00
Frank Celler 71ba997fba Merge branch 'devel' of github.com:arangodb/arangodb into devel 2017-01-27 11:30:39 +01:00
Frank Celler 30da97f2a5 RestHandler destructor should be virtual 2017-01-27 11:30:25 +01:00
Kaveh Vahedipour ab22ffa8ee shard jobs should check for the plan to be the same as expected 2017-01-27 11:27:45 +01:00
jsteemann 1089c7b2fd Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api 2017-01-27 11:27:16 +01:00
Max Neunhoeffer 8c7a0b5a48 Fix a used after free error. 2017-01-27 11:17:42 +01:00
jsteemann f0d4770879 Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api 2017-01-27 11:16:37 +01:00
jsteemann 972496a2af refactoring 2017-01-27 11:16:21 +01:00
Frank Celler c4a62cb108 release from unique_ptr when adding as response 2017-01-27 10:52:00 +01:00
Michael Hackstein d5d316b971 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2017-01-27 09:58:02 +01:00
Michael Hackstein 9b5810d84b The TraversalConditionFinder will now normalize all filters, before checking if they are valid 2017-01-27 09:57:46 +01:00
Michael Hackstein f7ce2c9de6 Added a name to the dump indention variable. 2017-01-27 09:55:15 +01:00
Kaveh Vahedipour ca62beb725 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-01-27 09:34:01 +01:00
Kaveh Vahedipour c803d52f51 startLocalCluster handles port offset so that multiple clusters can be started on same machine 2017-01-27 09:33:42 +01:00
Max Neunhoeffer ddd114ca32 Cleanup. 2017-01-27 09:03:22 +01:00
Frank Celler e0c00c6de6 improved statistics 2017-01-26 23:43:27 +01:00
Frank Celler 5ba89e88ca fixed nullptr check 2017-01-26 23:32:51 +01:00
Frank Celler 918bd83e86 more asserts for statistics 2017-01-26 23:32:51 +01:00
Michael Hackstein ff4430f346 Intermediate version of TraversalConditionFinder. The checks weather a FILTER is feasable for optimization partly cleaned. Next step is complicated and dangerous. 2017-01-26 17:24:39 +01:00
jsteemann 3418cc193b refactoring 2017-01-26 17:17:29 +01:00
jsteemann a4356f0499 Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api 2017-01-26 16:52:13 +01:00
jsteemann 0cb7d416d0 moved transaction collections into their own files 2017-01-26 16:51:57 +01:00
Andreas Streichardt 8e5a28d6fc assert so we get a core :S 2017-01-26 16:33:58 +01:00
jsteemann df7fee7d32 Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api 2017-01-26 16:25:22 +01:00
jsteemann 3cf0ee1329 moved Status into Transaction.h 2017-01-26 16:20:57 +01:00
Kaveh Vahedipour 53a7e2b316 resilienceMove will do more reporting in cleanouts 2017-01-26 16:12:51 +01:00
jsteemann 2709504d74 Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api 2017-01-26 15:21:08 +01:00
jsteemann 277f014e9c Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api 2017-01-26 15:18:28 +01:00
jsteemann 02d8c0948b renaming 2017-01-26 15:18:23 +01:00
jsteemann b7aa2abdce fixed test 2017-01-26 13:15:52 +01:00
jsteemann 20a2fd308b speed up remove a bit 2017-01-26 12:49:34 +01:00
Kaveh Vahedipour f06fdf9e0f getDBServers response changed for aardvark frontend. needed reflection in resilienceMove tests 2017-01-26 12:37:59 +01:00
Kaveh Vahedipour 26167e87fd Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-01-26 11:35:56 +01:00
Kaveh Vahedipour 8509200040 MoveShard with ShortNames 2017-01-26 11:35:44 +01:00
Max Neunhoeffer 4d1f1cc68d Fix debugging output again. 2017-01-26 11:19:04 +01:00
jsteemann 81ab97431c Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-01-26 10:49:49 +01:00
jsteemann 34a110a08b mini fixes 2017-01-26 10:49:42 +01:00
Kaveh Vahedipour 2eab5bf5bc proper shutdown procedure in agent 2017-01-26 10:24:23 +01:00
Kaveh Vahedipour 5bccc799a9 proper shutdown procedure in agent 2017-01-26 10:20:38 +01:00
Michael Hackstein f61a27d0e6 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2017-01-26 09:50:00 +01:00
Kaveh Vahedipour 618955369a _sent in AgencyCommResult assigned too late? 2017-01-26 09:40:02 +01:00
Kaveh Vahedipour 6ec875bf92 _sent in AgencyCommResult assigned too late? 2017-01-26 09:34:58 +01:00
Max Neunhoeffer 15ab287a23 Fix diagnostics. 2017-01-26 08:48:19 +01:00
Max Neunhoeffer 473e46f748 Add some diagnostics. 2017-01-25 23:35:15 +01:00
Frank Celler fa114470f5 fixes for statistics 2017-01-25 22:31:00 +01:00
Frank Celler 8a7ca6e635 removed STATS 2017-01-25 21:24:37 +01:00
Frank Celler 7997cd3d04 use constant instead of _system literal 2017-01-25 21:22:47 +01:00
jsteemann 0f67a71350 Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api 2017-01-25 17:50:51 +01:00
jsteemann 9cb431ac02 simplify memory management 2017-01-25 16:42:31 +01:00
jsteemann 6df6c874fd Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api 2017-01-25 16:31:21 +01:00
jsteemann 6a4842b229 Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api 2017-01-25 16:30:33 +01:00
Michael Hackstein ef32c991ff Moved knowledge of StorageEngine out of some V8-Related files. JS_Near and JS_Within will now directly use AQL. The existing index check was deleted. 2017-01-25 16:15:35 +01:00
jsteemann d5f318603b fix error message 2017-01-25 15:58:18 +01:00
jsteemann de41509d9d factored out TransactionState 2017-01-25 15:55:01 +01:00
Max Neunhoeffer eff0f71cab Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2017-01-25 15:43:19 +01:00
Max Neunhoeffer 967686c5e7 Further statistics debugging assertions. 2017-01-25 15:38:50 +01:00
Max Neunhoeffer b83df2fbcd Typo in comment. 2017-01-25 15:38:43 +01:00
Michael Hackstein 00448bfc26 Transaction::invokeOnAllElements now works with a callback taken DocumentIdentifierTokens instead of IndexElements. 2017-01-25 15:03:08 +01:00
Kaveh Vahedipour d4a3dac65a Agent handles beginShutdown of inception fully 2017-01-25 14:09:34 +01:00
jsteemann 8f0af56df4 Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api 2017-01-25 13:30:08 +01:00
jsteemann 3a61217438 Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api 2017-01-25 13:29:13 +01:00
jsteemann 4e0a07411f fix timeout 2017-01-25 13:28:53 +01:00
Michael Hackstein 786ab413f8 Merge branch 'engine-api' of github.com:arangodb/arangodb into engine-api 2017-01-25 13:20:24 +01:00
Michael Hackstein ce6d3b3492 The Fulltext index now return DocumentIdentifierTokens instead of revisions. Removed one inderection rid <-> Index_doc which were a typedef. 2017-01-25 13:20:15 +01:00
jsteemann d7b131852c factored out transaction hints 2017-01-25 13:12:09 +01:00
Max Neunhoeffer 6531ec3460 Ensure that statistics blocks on freeList have _released==true. 2017-01-25 12:38:45 +01:00
jsteemann 97ccfc9efc remove useless includes 2017-01-25 12:00:57 +01:00
jsteemann 00b1632ece factored out AccessMode from transaction.h 2017-01-25 11:57:21 +01:00
Michael Hackstein 883e95989f The GeoIndex now returns DocumentIdentifierTokens instead of revision ids. 2017-01-25 11:13:30 +01:00
jsteemann 619e73b659 Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api 2017-01-25 10:48:30 +01:00
Michael Hackstein 78b83eefc4 Renamed => getMoreMptr in OpCursor to getMoreTokens, Removed default Parameter 2017-01-25 10:46:37 +01:00
jsteemann 5c0110070f Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api 2017-01-25 10:27:31 +01:00
jsteemann 208729ae10 use make_unique 2017-01-25 10:26:48 +01:00
jsteemann 41e3268ccd clean up job queues on shutdown 2017-01-25 10:26:30 +01:00
jsteemann a812e69ce7 Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api 2017-01-25 09:41:26 +01:00
jsteemann 1f51117c36 added assertions for bug hunt 2017-01-25 09:25:33 +01:00
Andreas Streichardt d91a6af1a7 Remove singletransaction and fetch collection from vocbase directly 2017-01-24 18:51:05 +01:00
Michael Hackstein 15bbfc7b0c Merge branch 'engine-api' of github.com:arangodb/arangodb into engine-api 2017-01-24 18:22:01 +01:00
Michael Hackstein 2133b1448c Moved index API to return DocumentIdentifierTokens which are independent of the underlying storage engine. The agreement is, that the Engine gives a uint64_t sized identifier which allows to fetch any document back again. For MMFiles Engine this identifier is the revision. 2017-01-24 18:19:25 +01:00
jsteemann bd622bfca4 Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api 2017-01-24 17:39:27 +01:00
Max Neunhoeffer c1428e81cd Try to fix a shutdown bug in Scheduler. 2017-01-24 16:47:23 +01:00
jsteemann 2b66199204 Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api 2017-01-24 16:27:32 +01:00
Max Neunhoeffer 27e975c016 Let AgencyComm timeout early, if server is already stopping. 2017-01-24 14:43:17 +01:00
jsteemann 37b73f7377 Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api 2017-01-24 14:06:57 +01:00
Max Neunhoeffer 1a30b14c70 Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2017-01-24 13:56:16 +01:00
Max Neunhoeffer 5e6d2c2045 Fix acquire of read locks for sync. replication. 2017-01-24 13:55:56 +01:00
Max Neunhoeffer 1ce3e995ee Adjust timeout for sync. replication according to chunk size. 2017-01-24 13:55:19 +01:00
jsteemann 93039dd22c Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api 2017-01-24 13:07:54 +01:00
Kaveh Vahedipour 3a034f5817 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-01-24 12:52:35 +01:00
Kaveh Vahedipour c4bff477a6 wrong persistence of status 2017-01-24 12:52:31 +01:00
jsteemann 603a0ae8ee Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api 2017-01-24 12:46:57 +01:00
jsteemann 26aa05897f Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api 2017-01-24 12:46:51 +01:00
Michael Hackstein 9d063ec5ba Fixed incorrect construction of VPack object. Lead to failing edge tests 2017-01-24 12:46:30 +01:00
jsteemann bdb3d1d8b9 added hidden parameter `--wal.flush-timeout` 2017-01-24 12:44:21 +01:00
Max Neunhoeffer dc3c380904 Fix bug found by static analysis. 2017-01-24 12:30:32 +01:00
Max Neunhoeffer e11c7c96c1 Please static analyis. 2017-01-24 12:30:07 +01:00
Max Neunhoeffer 8c577e65c7 Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2017-01-24 12:12:57 +01:00
Max Neunhoeffer f62042ef3a Clean up code without changing behaviour. 2017-01-24 12:11:57 +01:00
jsteemann 69c3d0ddb9 Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api 2017-01-24 12:10:22 +01:00
Michael Hackstein 1da0a37e36 Reduced default batchsize for getMoreMptr function. It allocated uint64_max many elements by default ;( 2017-01-24 10:58:28 +01:00
jsteemann 36e929e3f3 Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api 2017-01-24 10:48:20 +01:00
jsteemann e3bcb90916 remove revisions cache 2017-01-24 10:48:07 +01:00
Kaveh Vahedipour 344bcd8ea6 AgencyComm evaluates fully sent requests properly. 2017-01-24 09:17:15 +01:00
Kaveh Vahedipour f45d775106 AgencyComm evaluates fully sent requests properly. 2017-01-24 09:14:28 +01:00
Michael Hackstein 8ebff4a5f8 Merge branch 'engine-api' of github.com:arangodb/arangodb into engine-api 2017-01-23 17:29:00 +01:00
Michael Hackstein dc3a0e984f removed getMore() from OperationCursor 2017-01-23 17:27:57 +01:00
jsteemann 5ca0c89374 Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api 2017-01-23 16:56:46 +01:00
jsteemann d4d5d1f39f fixed some tests 2017-01-23 16:55:41 +01:00
Kaveh Vahedipour 95a165d5f4 inquiring about 503 and 0 2017-01-23 16:35:50 +01:00
Jan Christoph Uhde 4007bf476a add ouput for communication tracemode debugging 2017-01-23 16:14:22 +01:00
jsteemann a8ebdbeeee renaming 2017-01-23 15:40:20 +01:00
jsteemann 1a6b61459f Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api 2017-01-23 15:36:23 +01:00
jsteemann c4d2ff3dce renaming 2017-01-23 15:36:11 +01:00
Andreas Streichardt b56621a01b First current tests 2017-01-23 15:29:25 +01:00
jsteemann 0a582d0f9a adjust include guards 2017-01-23 14:23:39 +01:00