1
0
Fork 0
Commit Graph

239 Commits

Author SHA1 Message Date
Jan d5592def42
fix issue #7933: Regression on ISO8601 string compatibility in AQL (#7934) 2019-01-14 13:50:50 +01:00
jsteemann 37473e29bf increase test timeouts 2019-01-11 14:21:02 +01:00
Simon 49da84e941 improve assertions (#7829) 2019-01-09 10:29:36 +01:00
Jan adf76491b0
added AQL function CHECK_DOCUMENT (#7841) 2019-01-04 15:33:20 +01:00
Jan 1ad9ae3115 added arangorestore options `--number-of-shards` and `--replication-f… (#7868)
* added arangorestore options `--number-of-shards` and `--replication-factor`

* updated documentation

* added version numbers
2019-01-03 11:07:32 +01:00
Jan a14f6dd573
prevent duplicate attributes being generated by AQL queries (#7836) 2019-01-02 12:37:47 +01:00
Jan 762c0fd7c6
fixed issue #7834 (#7845) 2019-01-02 11:09:06 +01:00
Simon 1498c08084 fix restrictCollections parameter on database level replication (#7808) 2018-12-19 18:00:10 +01:00
Jan b5e844fe33
fixed issue #7749 (#7797) 2018-12-19 14:17:54 +01:00
Jan 0574393d52
fixed issue #7757 (#7806) 2018-12-19 14:06:11 +01:00
Jan f39c58e06c
fixed issue #7763 (#7796) 2018-12-19 09:56:05 +01:00
Michael Hackstein ddd5226d13
Feature3.4/improve edgeindex covered (#7750)
* Allow the RocksDB edge index to return the already covered opposite vertex.

* Updated tests
2018-12-12 22:03:47 +01:00
Jan 3fa3170462
fix invalid handling of `_lastValue` in case of multiple coordinators (#7735) 2018-12-12 12:22:52 +01:00
Jan d894986cd9
do not optimize away sort clauses when it is unsafe to do so (#7694) 2018-12-07 16:23:13 +01:00
Jan 2f48d03c19
speed up remove ops for RocksDB engine (#7638)
* speed up remove ops for RocksDB engine

* add more tests and improve queries a bit for single remote AQL operations
2018-12-06 17:48:42 +01:00
Max Neunhöffer 3a7df19189 Fix super user JWT token behaviour with non-ex. db. (#7656) 2018-12-05 16:50:41 +01:00
Frank Celler 6e2cbe2d1e greylisted 2018-12-04 09:28:00 +01:00
Max Neunhöffer ceb1018af4
Wait for 5 dbservers before starting resilience tests. (#7541)
* Wait for 5 dbservers before starting test.
* Fix jslint.
2018-12-03 13:15:56 +01:00
Frank Celler fb3a8b6b39 sleep before check 2018-12-02 21:44:16 +01:00
Jan 2c3542d41e
fixed issue #7522 (#7554) 2018-11-29 19:26:42 +01:00
Dan Larkin-York 00c060c884 [3.4] Fix end condition (hasMore) for EnumerateViewNode. (#7278)
* Fix end condition (hasMore) for EnumerateViewNode.

* Fix crashes.

* Some more fixes.

* eliminate code duplication
2018-11-27 00:41:29 +03:00
Max Neunhöffer 6bd61760f2
Fix moving of shard leaders. (#7446)
* Ungreylist move shard test.
* Move leader shard: wait until all but the old leader are in sync.
* Increate moveShard timeout to 10000 seconds.
* Add CHANGELOG.
* Fix compilation.
* Fix a misleading comment.
2018-11-26 15:05:56 +01:00
Wilfried Goesgens eb41c6afcc Bug fix 3.4 /resync test (#7435) 2018-11-26 14:05:33 +01:00
Michael Hackstein 75f89ed74b
Bug fix/update foxx services after restore (#6774) (#7455)
* Bug fix/update foxx services after restore (#6774)

* triggers foxx queue update which leads to the internal selfHeal function of a foxx app to make foxx apps publicy visible after a foxx app is restored

* this will also add the recognition of imported foxx services

* Testing JS refactoring

* Added test case for Foxx dump -> restore cases

* Fixed check, sth- i tries to contact to the foxx service. Test is red now.

* Fixed tests for dump / restore using Foxx. Also first draft to fix the fox side. Blocked by sth. fixed in the Main Repositorx already

* Fixed typo in dump/restore testsuite

* Removed old version of the fix

* Fixed JSLint

* Removed debug-log output from foxx manager
2018-11-26 13:22:50 +01:00
Simon 96346a12d0 switch default message for requireFromPresent (#7439) (#7450)
(cherry picked from commit f90b48f792)
2018-11-26 09:16:48 +01:00
Andrey Abramov 822e15e770
issue 153: ensure views are dropped in Agency when database is dropped in cluster, minor fixes (#7370) (#7451)
* issue 153: ensure views are dropped in Agency when database is dropped in cluster, minor fixes

* backport: add test to ensure views are dropped when database is dropped from plan, fix some issues in ClusterInfo

* optimize primary key lookups in ArangoSearch

* fix test

* Add JS tests

* temporary comment optimizations

# Conflicts:
#	arangod/Cluster/ClusterInfo.cpp
2018-11-26 00:33:58 +03:00
Simon ebad3c3c83 Fix restore of views, add --view option (#7425) (#7427)
(cherry picked from commit c584527d79)
2018-11-23 09:11:33 +01:00
Max Neunhöffer 7bf63cdb95
Make error handling in move shard tests more robust. (#7418)
* Make getCleanedOutServers error handling more robust.

* Fix two more instances of getCleanedOutServers.
2018-11-22 22:53:07 +01:00
Jan a6cb178b86
add some more intermediate commit tests (#7417) 2018-11-22 15:29:08 +01:00
Frank Celler ef5ffbef61 greyed foxxmaster.js because it is not stable 2018-11-22 12:55:26 +01:00
Simon ef239cbe4e Make recovery more reliable (#7297) (#7367) 2018-11-21 16:51:38 +01:00
Simon 5124633e6a Faster index creation (#7348) 2018-11-20 13:41:01 +01:00
Max Neunhöffer 256c167155
Another place with a resigned leader. (#7350) 2018-11-19 11:41:43 +01:00
Jan 812c9223fe
fix queries that refer to COLLECT variables from inside COLLECT (#7333) 2018-11-15 15:10:56 +01:00
Max Neunhöffer 805f7a7621
Fix timeout in cluster operation in create and drop collections. (#7300)
* Fix loophole.
* Fix inquiry case of id not found: 404.
* Also handle correctly in AgencyComm.
* Fix agency tests.
* Fix error handling in dropCollectionOnCoordinator.
2018-11-14 10:02:26 +01:00
Jan 8bcb1a310c
fix failing non-deterministic query-stream test (#7296) 2018-11-13 11:37:09 +01:00
Alan Plum 1ea6374511 Fix Foxx Queues infinite maxFailures (#7224) 2018-11-12 13:21:12 +01:00
jsteemann 7a2314a32b remove reference to non-existing deriveTestSuite function 2018-11-12 11:33:40 +01:00
Frank Celler 10ceaf2391 moved to grey 2018-11-08 21:05:16 +01:00
Max Neunhöffer d21a0f8bca
Greylist moving-shards-with-arangosearch-view-cluster. (#7272)
* Greylist moving-shards-with-arangosearch-view-cluster.

* Add documentation for greylisted tests.
2018-11-08 16:25:52 +01:00
Wilfried Goesgens d33ffab6d8 add more information when timeout failing the index creation tests (#7266) 2018-11-08 12:44:28 +01:00
KVS85 0822677a0c Fix update-view-arangosearch-spec tests (#7246) 2018-11-07 00:30:40 +03:00
KVS85 38d127cc5a Add view profiling tests (#7230) 2018-11-06 17:15:31 +03:00
Tobias Gödderz 8401f0e36c Fix teardown, improved assertion & error message (#7218) 2018-11-06 13:10:08 +01:00
Dan Larkin-York e5243f9254 [3.4] Upgrade old MMFiles collections for compatibility with ArangoSearch (#7133) 2018-11-06 11:12:54 +01:00
Simon 9c53d045be Server stream cursor (#7186) (#7210) 2018-11-03 20:17:52 +01:00
Jan eb3deb578f
smaller changes for replication (#7201) 2018-11-02 15:47:49 +01:00
Vasiliy 850919178f issue 496.3: backport 3.4: move more coordinator-related logic out of TRI_vocbase_t, rename some arangosearch view configuration parameters, remove some consolidation policies, update iresearch to revision 6fd9760d81b136f769e277ea5b8f53996ed7a1ca (#7167)
* issue 496.3: backport 3.4: move more coordinator-related logic out of TRI_vocbase_t, rename some arangosearch view configuration parameters, remove some consolidation policies, update iresearch to revision 6fd9760d81b136f769e277ea5b8f53996ed7a1ca

* address merge issue

* backport: remove code causing nullptr access

* invalidate payload for each field in FieldIterator before setting a value

* address compilation issues
2018-11-01 23:12:39 +03:00
Jan 023ca6dc33
Bug fix 3.4/patch slave collection count (#7156) 2018-10-31 17:20:46 +01:00
Jan aa385c2bbc
increase the maximum allowed number of collections in an AQL query (#7155) 2018-10-31 10:08:32 +01:00
Simon 9271a11441 RocksDB replication thread safety (#7088) (#7131) 2018-10-30 11:24:17 +01:00
Vasiliy e6a6025818 backport: switch scope of responsibility between a TRI_vocbase_t and a LogicalView in respect to view creation/deletion (#7106)
* backport: switch scope of responsibility between a TRI_vocbase_t and a LogicalView in respect to view creation/deletion

* backport: ensure arangosearch links get exported in the dump

* backport: ensure view is created during restore on the coordinator

* Updates for ArangoSearch DDL tests, IResearchView unregistration and known issues

* Add fix for internal issue 483
2018-10-30 12:50:29 +03:00
Max Neunhöffer 568f5ee8bf
Consider case of resigned leader. (#7038) 2018-10-29 09:19:17 +01:00
Frank Celler 5db8528beb more debug output 2018-10-25 17:27:48 +02:00
Michael Hackstein 94a793fe61
Removed incorrect skipping of Batches in RocksDB Tailing syncer (#7021)
* Removed incorrect skipping of Batches in RocksDB Tailing syncer. This caused issues, whenever one transaction was spiltted.

* Added a test for Splitting a large transaction in RocksDB

* Reactivated skipping in RocksDB Wal Tailing (reverts initial fix)

* Actually include lastScannedTick in CollectionFinalize. Proper fix, kudos to @jsteemann.

* Fixed healFollower task in split-large-transaction test
2018-10-25 14:13:40 +02:00
KVS85 29d5e2d0e1 Execute all ArangoSearch DDL tests on both cluster and single (#7054) 2018-10-24 22:17:46 +03:00
Alan Plum e821ed6923 Fix Foxx API handling of broken services (#6459) (#7013)
* Add tests for service failing on mount

* Don't install broken services

* Restore error page for broken services

* Prefer JSON error pages

* Expose service upsert in API

* Add Foxx fixes to CHANGELOG

* Update CHANGELOG

Typo
2018-10-24 15:29:31 +02:00
jsteemann 149e7e9034 fixed jslint 2018-10-23 11:24:31 +02:00
Tobias Gödderz 183f9194f1 [3.4] Fixed optimize-traversals and added a regression test (#6975)
* Fixed optimize-traversals and added a regression test

* Updated CHANGELOG
2018-10-23 09:46:59 +02:00
Jan 3d01c09ea2
Bug fix 3.4/fix array sorting (#6988) 2018-10-22 12:30:47 +02:00
Jan 1002928b5f
fix https://github.com/arangodb/release-3.4/issues/99 (#6951) 2018-10-19 15:26:23 +02:00
Simon c0455e9c60 Add engine specific collection APIs (#6962) 2018-10-19 15:23:55 +02:00
Tobias Gödderz b18fd77137 Removed debug log output, fixed errorNum check (again), added asserts that the views are properly created (#6948) 2018-10-19 14:18:04 +02:00
Simon c2b6fb99ba Propper commit Sequence Numbers (#6958) 2018-10-18 18:25:34 +02:00
jsteemann b4a4ed3bc8 attempt to make test more reliable 2018-10-17 20:32:35 +02:00
Heiko b5ff5080ff merge conf. (#6882) 2018-10-17 15:57:39 +02:00
Jan 13a9a0c12b
Bug fix 3.4/use proper log topic for replication test messages (#6920) 2018-10-17 15:40:59 +02:00
Tobias Gödderz 4bcb3b755c Fixed error num comparison (#6941) 2018-10-17 14:14:43 +02:00
Dan Larkin-York fa6680a252 [3.4] Fix issues with ArangoSearch link permissions in cluster mode (#6726) 2018-10-16 20:43:01 +02:00
Tobias Gödderz a5373d6697 Ignore errors caused by an admissible race (#6899) 2018-10-16 14:24:09 +02:00
Wilfried Goesgens 83498d94a0 Feature 3.4/better recovery resulthandling (#6859) 2018-10-16 09:28:49 +02:00
Jan 738c00814a
added waitForSync option to make tests more deterministic (#6886) 2018-10-15 17:37:44 +02:00
Andrey Abramov 4ef4e1119a
backport new arangosearch to 3.4 (#6874)
* backport new arangosearch

* backport tests

* backport another test

* backport changes in cmake
2018-10-13 01:27:31 +03:00
Tobias Gödderz 9717c94a43 Added waitForEstimatorSync() (#6867) 2018-10-12 19:17:41 +02:00
Jan 9b7258a4d1
added several query optimizations (#6781) 2018-10-12 17:41:45 +02:00
Tobias Gödderz 3c1db60d70 [3.4] Remove nondeterministic edge index test (#6862) 2018-10-12 15:18:47 +02:00
Simon 010b54c81e Allow WAL logger to split up transactions (#6800) 2018-10-12 15:15:55 +02:00
Wilfried Goesgens 825dc54332 fix windows path escaping in testcase (#6839) 2018-10-11 18:40:46 +02:00
Tobias Gödderz 351a10a547 [3.4] Added a regression test for arangodb/backlog#486 (#6791)
* Added a regression test for arangodb/backlog#486

* Moved regression test in existing ddl test files
2018-10-11 16:23:37 +03:00
Tobias Gödderz 7ec610a42a [3.4] Rework move shards with view test (#6772)
* Fixed testSetup(). Reduced redundant code.

* Reworked assertions in moving-shards-with-arangosearch-view-cluster.js

* Fixed merge

* Added changes from review

* Removed debug output / fixed jslint error
2018-10-11 10:25:40 +02:00
Dan Larkin-York ff2ce5c846 Fix issue with colleciton/view name conflict checking in cluster. (#6779) 2018-10-10 12:40:28 +02:00
Michael Hackstein 137f243fe2 Bug fix 3.4/views in aql collections (#6714) 2018-10-10 10:11:14 +02:00
jsteemann 41c0236c87 fix wrong function name 2018-10-10 01:43:49 +02:00
jsteemann 048d322352 try to fix test 2018-10-09 10:56:28 +02:00
Jan d3392a9050 Bug fix 3.4/fix variable replacement in view search conditions (#6755)
* fix variable replacements in view search conditions

* unify CHANGELOG

* added reference to internal issue

* add catch test

* Added AQL test
2018-10-09 00:31:19 +03:00
Tobias Gödderz ed2c7ad774 Fixed testSetup(). Reduced redundant code. (#6760) 2018-10-08 18:57:07 +02:00
Simon 05446dcac0 Bug fix 3.4/activefail debug (#6717) 2018-10-05 18:36:06 +02:00
Simon a8eabf95d4 Fix foxx test failures (#6725) 2018-10-05 12:49:17 +02:00
jsteemann eeed9aa22b try to make test more deterministic 2018-10-03 17:29:01 +02:00
jsteemann 6b4e7178e2 fixed invalid test setup 2018-10-02 19:52:35 +02:00
Dan Larkin-York a0861eb602 Fix multiple links per collection issue (#6661)
* Fix muliple links per collection issue (arangodb/release-3.4#48).

* Fix comparison.

* Added test

* Fix suite name.

* Address some edge cases.

* Clear views on teadown in tests

* Update aql-view-arangosearch-ddl-cluster.js

* Update aql-view-arangosearch-ddl-noncluster.js

* Fix jslint errors

* Added some comments about the comparison.
2018-10-02 17:33:52 +03:00
KVS85 799083dde6 Change tests setUp/tearDown to be common (#6654) 2018-10-02 13:24:42 +02:00
jsteemann de10c4abba fix wrong numberOfShards values in tests 2018-10-02 10:39:09 +02:00
Dan Larkin-York c794a43ea0 Mark flaky test nondeterministic for now (#6662) 2018-10-01 17:36:47 +02:00
jsteemann 16ff872d14 try to make test more deterministic 2018-09-28 18:08:06 +02:00
jsteemann c89c73973e make test more deterministic 2018-09-28 17:06:20 +02:00
Simon c42583dab0 Fix error in dump test, create views before syncing data (#6640) 2018-09-28 17:00:03 +02:00
Kaveh Vahedipour 87e7185dd7 agency updating endpoints properly (#6643)
* agency updating endpoints properly
2018-09-28 15:12:40 +02:00
Tobias Gödderz c54f815134 [3.4] Fix cluster view test (#6621) 2018-09-28 11:34:13 +02:00
Jan 68e81da38e
handle DeleteRange markers on RocksDB recovery (#6565) 2018-09-28 11:10:11 +02:00
Jan 7c35c98855
Feature 3.4/nested aql (#6612) 2018-09-26 17:17:12 +02:00
Simon f79a7d1a8f Fix crash on Agency / DBserver with user JWT tokens (#6595) 2018-09-26 14:22:27 +02:00
Jan 654b6e601b
fixed issue #6601 (#6607) 2018-09-26 14:18:34 +02:00
jsteemann 1af7873505 split tests 2018-09-26 12:05:36 +02:00
Jan a8cd72f502
Bug fix 3.4/optimizations 210918 (#6574) 2018-09-25 09:50:25 +02:00
Jan 058b5072b3
Feature 3.4/query cache diagnostics (#6581) 2018-09-25 09:49:33 +02:00
jsteemann b17af2ac67 adjust file path 2018-09-24 13:52:00 +02:00
Dan Larkin-York 95af9a3d56 Backport #6182 and #6549. 2018-09-20 14:35:50 -04:00
Simon 3c965ee48a Resilience test failure points (#6545) 2018-09-20 01:04:38 +02:00
Jan e92d432cf4
Bug fix 3.4/fix stats on skip (#6532) 2018-09-19 22:01:50 +02:00
jsteemann 50c93cb9b0 move tests to the right location 2018-09-17 20:22:37 +02:00
Simon 097d9afaed Fix deduplication in IndexBlock (#6509) 2018-09-17 12:52:55 +02:00
Lars Maier d4d5031287 Bugfix 3.4/early out invalid links in view creation (#6503) 2018-09-17 09:52:10 +02:00
Lars Maier 78f182ebe8 Completely export views dump restore [3.4] (#6484) 2018-09-13 12:37:37 +02:00
jsteemann 7a664babf6 fix error message (backlog/#479) 2018-09-12 16:34:26 +02:00
Jan b029186edc
Bug fix/aql modify cleanup (#6380) (#6458) 2018-09-12 13:56:59 +02:00
KVS85 500a876fc7 Fix typo in ArangoSearch test name. (#6461) 2018-09-11 12:42:25 +02:00
Simon 2312e46c89 Trace skipSome() calls (#6450) 2018-09-11 08:53:24 +02:00
KVS85 69eefc063b Disable read tests for cluster till issues are not resolved and fix task (#6452)
update test
2018-09-10 23:20:26 +02:00
Heiko 7bc9c5539f added tests, updated docu (#6408) 2018-09-10 16:57:47 +02:00
Jan 1a303dd43d
fix some issues with sorted variant of COLLECT (#6432)
* fix some issues with sorted variant of COLLECT

* honor review comments
2018-09-10 16:20:57 +02:00
Frank Celler ac0a54e0dc fixed missing cleanup 2018-09-07 16:46:13 +02:00
Frank Celler df77347551 release version 3.4.0-rc.1 2018-09-05 21:51:33 +02:00
Jan 1810ec9909
fix profile output for nodes without calls to getSome (#6396) 2018-09-05 20:25:18 +02:00
Heiko 61da33943a Feature 3.4/new versioning scheme (#6395)
* removed old version formatter, ui now showing full version - not a substring anymore

* added verisoning tests for semnativ versioning
2018-09-05 17:20:40 +02:00
Simon dd457b835f Fix pregel during import (#6356) 2018-09-05 16:19:38 +02:00
Jan e87e305793
implement caching for stats values too (#6360) 2018-09-04 16:05:10 +02:00
Simon 3eed525481 Hide links (#6348) 2018-09-03 15:36:37 +02:00
Frank Celler 97117c341b disable temporarily 2018-09-03 15:20:27 +02:00
Frank Celler 5c6dc28266 moved to nondeterministic for now 2018-09-01 15:44:28 +02:00
Dan Larkin-York 18d827688a Fix condition finders moving filters past modifications into index nodes (#6327)
* Fixed issue with condition finder pulling filter past modification node into index.

* Fixed issue with traversal condition finder pulling filter past modification node into index.

* fixed jslint
2018-09-01 13:34:23 +02:00
Jan 24ca3acf97
rename `tests/js/*/tests/*` to `tests/js/*/*` (#6280) 2018-08-31 19:42:21 +02:00
Jan 191ae2dc43
do not report figures for an index by default (#6296)
the change in behavior crept in unintentionally due to my last
change of the index API. this PR reverts the unintended change
here so figures are only returned when explicitly requested
2018-08-31 17:22:00 +02:00
Michael Hackstein 0a343392ac
Forward port of bugfix to issue #5941 from 3.3.15 (#6304) 2018-08-30 21:03:44 +02:00
KVS85 4d972e5900 Enable views usage in designated tests (#6295) 2018-08-30 01:50:39 +03:00
Alan Plum ecfdd8e698 Fix getReadableName (#6272)
* Move getReadableName to new test folder

* More tests

* Fix getReadableName

* Linting
2018-08-29 17:20:52 +02:00
KVS85 892106e98d Add OPTIONS everywhere in AQL_QUERY and switch FILTER to SEARCH in several queries (#6276) 2018-08-28 22:26:19 +03:00
KVS85 a1c2e49424 Bug fix/fix view check for auth test (#6270)
* Fix view cache clear before switching to root.

* Remove redundant output.

* Fix typo
2018-08-28 20:58:54 +03:00
Jan 494764b95c
Bug fix/fiddle version string into test paths (#6267) 2018-08-28 14:58:35 +02:00