1
0
Fork 0
Commit Graph

5144 Commits

Author SHA1 Message Date
jsteemann 238070b477 fixed code of some examples 2017-02-13 08:21:28 +01:00
Andreas Streichardt 39436dac89 Finally remove lock methods 2017-02-10 19:47:31 +01:00
Andreas Streichardt 488b71cf54 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2017-02-10 19:40:51 +01:00
Andreas Streichardt bc1df86ddd remove lock queries 2017-02-10 19:34:29 +01:00
Simon Grätzer edab268572 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
# Conflicts:
#	arangod/Aql/FunctionDefinitions.cpp
#	arangod/Aql/Functions.h
#	arangod/Utils/ExplicitTransaction.h
2017-02-10 15:21:24 +01:00
jsteemann dcd218c577 fix typo 2017-02-10 10:53:13 +01:00
Max Neunhoeffer cf2a47e52c Increase timeout for testServerEmpty.
Under heavy load 5 min might not be enough.
2017-02-09 22:14:53 +01:00
Max Neunhoeffer f72af6a06a Increase timeout for waiting for sync repl to settle.
This is mainly for the case of the parallel unittests, where the heavy
load leads to delays.
2017-02-09 22:06:39 +01:00
Michael Hackstein a3c916902a Merge branch 'engine-api' of github.com:arangodb/arangodb into devel 2017-02-08 16:43:15 +01:00
Andreas Streichardt 4a2bb9716a Do not start up if replication failed 2017-02-08 16:18:41 +01:00
Michael Hackstein 6ad225370a Removed usage of FULLTEXT in tests. Is replaced by simplequery fulltext() 2017-02-08 13:43:03 +01:00
Michael Hackstein 7cec7a4628 Merge branch 'engine-api' of github.com:arangodb/arangodb into engine-api 2017-02-08 12:54:26 +01:00
Michael Hackstein d47298d518 Removed JS_NEAR, JS_FULLTEXT, JS_WITHIN entirely. They have been replaced by simple queries 2017-02-08 12:54:10 +01:00
Simon Grätzer 9b9f91a81c Pegel: Adding support for "PREGEL_RESULT" in aql 2017-02-07 18:37:23 +01:00
jsteemann 073b53b20f Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api 2017-02-07 14:50:46 +01:00
Wilfried Goesgens 0932d51904 Merge branch 'devel' of github.com:arangodb/ArangoDB into v8_subsubmodule 2017-02-07 13:48:57 +01:00
jsteemann d468fffdcb fix problems with rollback 2017-02-07 13:04:27 +01:00
jsteemann c8df58dcc6 Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api 2017-02-06 23:35:12 +01:00
Wilfried Goesgens 702db6a843 fix call to concat 2017-02-06 18:05:23 +01:00
jsteemann ab11410911 Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api 2017-02-06 13:05:11 +01:00
jsteemann 31bb843f29 added test for sorting 2017-02-06 12:24:45 +01:00
Max Neunhoeffer ed0d5be0a6 If initial database is gone, use system database. 2017-02-06 09:47:19 +01:00
Max Neunhoeffer 20e2128a44 Fix shardDistribution in case of leader change. 2017-02-06 09:45:00 +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
jsteemann 06a0449790 fix jslint 2017-02-03 14:59:04 +01:00
Jan Christoph Uhde 1bd37e9867 add tests for geoindex 2017-02-03 13:51:41 +01:00
Max Neunhoeffer 72fa45cc94 Port better reporting of longish Schmutz behaviour to devel. 2017-02-03 10:47:13 +01:00
Max Neunhoeffer 7c0575b27d Fix timeout in cluster operation and wal flush bugs. 2017-02-03 10:42:06 +01:00
Frank Celler 415392af31 moved to debug log level 2017-02-02 16:00:48 +01:00
jsteemann 7556386202 fixed tests 2017-02-02 08:39:50 +01:00
jsteemann e256b11807 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-02-01 16:44:56 +01:00
jsteemann 0156c5aec7 make database deletion more deterministic 2017-02-01 16:44:41 +01:00
Max Neunhoeffer 105389702a Lower log level of sync replication events. 2017-02-01 16:04:04 +01:00
Wilfried Goesgens bb80b5cf90 Merge branch 'devel' of github.com:arangodb/ArangoDB into v8_subsubmodule 2017-01-31 16:34:42 +01:00
Michael Hackstein 0fc2558d2f Merge branch 'devel' of github.com:arangodb/arangodb into devel 2017-01-31 16:09:10 +01:00
Michael Hackstein 51865c31c6 Fixed JSLint and added further tests for traverser optimizations (both sides containing output) 2017-01-31 16:09:00 +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
Max Neunhoeffer 5e1bf32276 Write bootstrap messages only in von V8 context. 2017-01-31 14:39:22 +01:00
Jan Christoph Uhde 4981af31c8 Merge branch 'devel' of github.com:arangodb/arangodb into devel
* 'devel' of github.com:arangodb/arangodb:
  lowering log output in agencycomm
  Lower log level for local shard operations to debug.
2017-01-31 10:08:03 +01:00
Jan Christoph Uhde 3b2f0bac6a remove "junk" from test code 2017-01-31 10:06:36 +01:00
Kaveh Vahedipour b7b8a6cf88 lowering log output in agencycomm 2017-01-31 09:37:47 +01:00
Max Neunhoeffer a5b4eb3c3d Lower log level for local shard operations to debug. 2017-01-31 09:31:52 +01:00
jsteemann 2c431ea9f1 documentation for ternary operator shortcut 2017-01-30 17:27:50 +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
jsteemann 2fef24a984 added test 2017-01-30 09:02:30 +01:00
Max Neunhoeffer f09ecd21b2 Logging level for background job debugging down to DEBUG. 2017-01-29 23:05:33 +01:00
Max Neunhoeffer 6993ca32c7 Add more debugging output on log level info around Schmutz script. 2017-01-28 20:28:58 +01:00
Michael Hackstein 6aeb23ef2a Added new traversal optimizer test. 2017-01-27 19:52:43 +01:00
Michael Hackstein d5d316b971 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2017-01-27 09:58:02 +01:00
Alan Plum cbb77cf591
Only show codeFrames for swagger errors in dev mode 2017-01-27 02:03:51 +01:00
Alan Plum 3370ecbadd
Nicer error page and code frames 2017-01-27 01:57:30 +01:00
Alan Plum c268b2db91
Keep stacktraces out of error messages
They are already reported much more consistently via 'cause' so methods logging them should exploit that instead.
2017-01-27 01:57:29 +01:00
Kaveh Vahedipour 5faef0bc9e resilienceMove will do more reporting in cleanouts 2017-01-26 15:30:27 +01:00
Kaveh Vahedipour 0ea23a2b28 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-01-26 14:44:45 +01:00
Kaveh Vahedipour 1eef4c7b43 resilienceMove will do more reporting in cleanouts 2017-01-26 14:44:39 +01:00
Andreas Streichardt 2476cf7146 Fix drop and add reporting in agency current 2017-01-26 14:00:56 +01:00
Kaveh Vahedipour 30baf07652 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-01-26 12:38:09 +01:00
Kaveh Vahedipour f06fdf9e0f getDBServers response changed for aardvark frontend. needed reflection in resilienceMove tests 2017-01-26 12:37:59 +01:00
Andreas Streichardt 0365b3eb49 Fix index error reporting and add test for it 2017-01-26 12:15:42 +01:00
Michael Hackstein 75a152038e Updated optimize traversals rule test to use mocha instead of jsunity. 2017-01-26 11:15:09 +01:00
Max Neunhoeffer 1468628e58 Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2017-01-26 10:47:26 +01:00
Max Neunhoeffer fe1b10e6af Fix waitForSyncRepl. 2017-01-26 10:47:03 +01:00
Andreas Streichardt 4e6371630a Fix reporting index and collection errors 2017-01-26 10:44:15 +01:00
Andreas Streichardt cffc981cf9 Fix jslint 2017-01-25 12:42:30 +01:00
Andreas Streichardt cca8fbc6b3 Less log spam... 2017-01-25 12:41:30 +01:00
Andreas Streichardt af8331119b Do not spam useless log messages 2017-01-25 12:31:53 +01:00
Max Neunhoeffer f913b10d22 Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2017-01-25 11:37:37 +01:00
Max Neunhoeffer aaa2738b57 Log level for dropping local shard back to debug. 2017-01-25 11:36:50 +01:00
Andreas Streichardt acbb892612 Classic...fix unittest..fail real system 2017-01-24 19:07:34 +01:00
Andreas Streichardt d91a6af1a7 Remove singletransaction and fetch collection from vocbase directly 2017-01-24 18:51:05 +01:00
Andreas Streichardt d3642f1487 First update current tests 2017-01-24 18:35:26 +01:00
Andreas Streichardt ea220a22cc Make updatecurrentcollection better testable 2017-01-24 16:51:12 +01:00
Max Neunhoeffer 5e6d2c2045 Fix acquire of read locks for sync. replication. 2017-01-24 13:55:56 +01:00
Max Neunhoeffer 539ae7275e Improve formatting. 2017-01-24 13:29:05 +01:00
Kaveh Vahedipour 95a165d5f4 inquiring about 503 and 0 2017-01-23 16:35:50 +01:00
Andreas Streichardt 40af2963f4 Tackle updateCurrentDatabases 2017-01-23 15:29:25 +01:00
Andreas Streichardt b56621a01b First current tests 2017-01-23 15:29:25 +01:00
Michael Hackstein bf296c3d24 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2017-01-23 11:42:21 +01:00
Michael Hackstein 4beec0a94c Reverted numberOfShards from Test. The test-code is not deterministic. 2017-01-23 11:42:06 +01:00
Kaveh Vahedipour 981e71953d handling agency comm failures 2017-01-23 11:26:03 +01:00
Michael Hackstein 3eaf53c0c9 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2017-01-23 10:01:23 +01:00
Michael Hackstein 36e398f3f4 Fixed a bug with sort optimization in indexes. Also adapted tests. 2017-01-23 09:45:22 +01:00
jsteemann 35b55fec22 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-01-20 17:14:00 +01:00
Kaveh Vahedipour d2760f4ef1 pushing avoidServers property 2017-01-20 15:15:03 +01:00
Kaveh Vahedipour 3ae8428a05 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-01-20 14:56:53 +01:00
jsteemann 6941d45b8b removed prints 2017-01-20 13:13:57 +01:00
Andreas Streichardt 8fa235e715 oops 2017-01-20 12:10:16 +01:00
Andreas Streichardt b594257677 More tests 2017-01-20 12:03:12 +01:00
Andreas Streichardt 4afe4e431c more tests 2017-01-20 09:59:41 +01:00
Kaveh Vahedipour 648160c68a Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-01-20 09:35:45 +01:00
Kaveh Vahedipour 40c6e2b48c unobserve should not create entries in agency, if empty before 2017-01-20 08:06:27 +01:00
Andreas Streichardt 33e30426b9 lint 2017-01-19 18:48:25 +01:00
Andreas Streichardt dec955826b Add sync tests 2017-01-19 18:40:09 +01:00
Andreas Streichardt 390cf295fe Fix lint 2017-01-19 17:29:05 +01:00
jsteemann 64d937475d Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-01-19 17:14:46 +01:00
jsteemann 1b1dacd873 fixed issues with same revisions being inserted 2017-01-19 17:14:38 +01:00
Andreas Streichardt 5a101ed6f0 Fix unloading collections 2017-01-19 17:05:41 +01:00
Max Neunhoeffer 1e77d6abca Fix access to global ERRORS table. 2017-01-19 16:04:35 +01:00
Kaveh Vahedipour c32ffaf349 jslint needs informing of globalness of ERRORS 2017-01-19 15:17:19 +01:00
Max Neunhoeffer 4991056d61 Reactivate all shard move tests. 2017-01-19 14:21:35 +01:00
Max Neunhoeffer f9426e9e0d Make syncFinalize more resilient.
It is possible that an in-sync follower does not notice and tries
again to get in sync. This should be OK now.
2017-01-19 14:20:20 +01:00
Max Neunhoeffer 370cb09d89 Merge branch 'devel' into schmutz-ng 2017-01-19 10:32:43 +01:00
Andreas Streichardt 9bcaf08753 Merge branch 'schmutz-ng' of github.com:arangodb/arangodb into schmutz-ng 2017-01-18 18:07:24 +01:00
Andreas Streichardt a9ccdf86c1 Several movement fixes 2017-01-18 17:48:01 +01:00
Kaveh Vahedipour f47b3b3c9d transient heartbeats 2017-01-18 17:26:45 +01:00
Kaveh Vahedipour aaee2f9e61 transient heartbeats 2017-01-18 13:43:33 +01:00
Max Neunhoeffer c5cfc500ee Improve comments in cluster.js. 2017-01-18 10:47:50 +01:00
Frank Celler d290b74d55 fixed typos 2017-01-17 12:40:17 +01:00
Andreas Streichardt e90cc93e4a resign "a bit more" 2017-01-16 18:14:20 +01:00
Andreas Streichardt 744d51fb76 add current test work 2017-01-16 18:14:09 +01:00
Andreas Streichardt 7b13a56b91 Merge branch 'devel' into schmutz-ng 2017-01-16 16:15:09 +01:00
Kaveh Vahedipour 879102117d more replicationTest 2017-01-16 15:43:32 +01:00
Andreas Streichardt 10d3bd2200 Merge branch 'devel' into schmutz-ng 2017-01-16 15:22:17 +01:00
Andreas Streichardt 46b6c2659b Remove old schmutz 2017-01-16 15:20:09 +01:00
Andreas Streichardt f89b660056 Fix race during collection creation 2017-01-16 15:13:26 +01:00
Kaveh Vahedipour d7b61f1bde agency tests follow new leader 2017-01-16 14:10:09 +01:00
Kaveh Vahedipour aad9d6d576 agency-test should not break during reelection 2017-01-16 13:05:47 +01:00
Kaveh Vahedipour a75b3624de resilience move ok again? 2017-01-16 12:09:21 +01:00
Kaveh Vahedipour 5bf3a1ee33 fixing move shards resilience test 2017-01-16 10:29:21 +01:00
Max Neunhoeffer f35e3a7aaf Merge branch 'devel' into schmutz-ng 2017-01-16 09:54:09 +01:00
Frank Celler 6c368d70eb in case some-one throw a string 2017-01-13 21:15:46 +01:00
Andreas Streichardt 2a2cbf808a Do not update in endless loop 2017-01-13 17:55:22 +01:00
Andreas Streichardt b0792f1de3 Propagate errors during index creation 2017-01-13 13:21:41 +01:00
Andreas Streichardt 19b22ea9bf Partly fix the index schmutz 2017-01-13 11:30:05 +01:00
jsteemann 7abf112d8c fixed cluster test 2017-01-13 09:52:06 +01:00
Andreas Streichardt 1dcbf0850a Implement sync replication 2017-01-12 18:21:37 +01:00
Max Neunhoeffer 7da0de6207 Merge branch 'schmutz-ng' of ssh://github.com/ArangoDB/ArangoDB into schmutz-ng 2017-01-12 16:34:22 +01:00
Max Neunhoeffer fe9116f7fb More Schmutz-NG.
Does not trigger sync repl yet.
2017-01-12 16:33:57 +01:00
jsteemann feb954ca45 issue #2256 2017-01-12 12:20:11 +01:00
Andreas Streichardt 97b49e79de Add cluster sync tests 2017-01-11 18:18:51 +01:00
Kaveh Vahedipour fe48bcb982 fixed for short names in frontend shard view 2017-01-11 16:31:19 +01:00
Kaveh Vahedipour 7b023bd66f move shard jobs fail early if the contracting goes south 2017-01-11 11:50:18 +01:00
jsteemann dec7e084e5 added diagnostic output 2017-01-11 08:25:17 +01:00
Max Neunhoeffer 062ec7ec1a Activate ng Schmutz for databases. 2017-01-10 23:36:46 +01:00
Kaveh Vahedipour f34796b432 move resilience should now be correct as a test 2017-01-10 17:30:09 +01:00
Max Neunhoeffer e9630b7aca First set of changes, not yet activated. 2017-01-10 16:54:51 +01:00
Kaveh Vahedipour edac0586ab move shard has always been a matter of luck as a test in the cleanoutserver part 2017-01-10 15:37:08 +01:00
Max Neunhoeffer f47329f3c0 Mock new structure. 2017-01-10 13:41:16 +01:00
Andreas Streichardt 95cc704741 Ahhh jslint 2017-01-09 17:42:13 +01:00
Andreas Streichardt b51aebd596 additional error checking 2017-01-09 17:37:06 +01:00
Kaveh Vahedipour 0875353a26 all ArangoAgency.set rewritten in cluster.js 2017-01-09 17:30:36 +01:00
jsteemann 75263042c8 added tests for dropping indexes 2017-01-09 15:56:36 +01:00
Kaveh Vahedipour 3b57e84865 missing semis 2017-01-09 14:56:53 +01:00
Kaveh Vahedipour 13076e9fc1 no locks left in cluster.js 2017-01-09 14:45:44 +01:00
Kaveh Vahedipour 1ff26054fa jslint needs satisfaction 2017-01-09 11:46:26 +01:00
Kaveh Vahedipour 49631284c7 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-01-09 11:11:39 +01:00
Kaveh Vahedipour 853eb1849a oops 2017-01-09 11:11:28 +01:00