Jan
ea39dfa3d2
fixed issue #7757 ( #7805 )
...
* fixed issue #7757
* fix compilation error
2018-12-19 14:06:52 +01:00
Jan
529e1a5579
fix issue #7743 : properly invalidate variables after COLLECT statemen… ( #7780 )
2018-12-18 18:13:34 +01:00
Jan
93d624d217
issue #7749 ( #7794 )
2018-12-18 17:16:14 +01:00
Jan
259170f1c2
fixed issue #7763 ( #7793 )
2018-12-18 17:02:01 +01:00
Jan
a19f90c771
fix invalid handling of `_lastValue` in case of multiple coordinators ( #7734 )
2018-12-12 11:49:54 +01:00
Michael Hackstein
170e3520be
Improved stability of dump restore test ( #7593 )
...
* Improved stability of dump restore test, the assumption tested was not correct
* Fixed options in recovery test suite
2018-12-10 15:48:34 +01:00
Alan Plum
c74583b089
Fix windows test for Foxx socket request URL ( #7536 )
...
* Fix windows test for Foxx socket request URL
* Fix unix abs path test
2018-12-10 15:44:00 +01:00
Max Neunhöffer
c78e3c89e0
Call license key check. ( #7594 ) ( #7704 )
...
* Call license key check. (#7594 )
* Add CHANGELOG entry.
* Fix super user JWT token behaviour with non-ex. db. (#7656 )
2018-12-10 10:33:00 +01:00
Jan
21d98efa91
do not optimize away sort clauses when it is unsafe to do so ( #7693 )
2018-12-07 16:23:52 +01:00
Jan
cec6d3292a
fix test failures ( #7659 )
2018-12-05 18:14:57 +01:00
Jan
762c23bf77
add more tests and improve queries a bit for single remote AQL operations ( #7658 )
2018-12-05 17:37:25 +01:00
Jan
ff2e43f374
Bug fix/aql allow floating point values without leading zero ( #7647 )
2018-12-05 16:13:04 +01:00
Jan
6fc8bb4a45
speed up remove ops for RocksDB engine ( #7639 )
2018-12-04 19:23:49 +01:00
Max Neunhöffer
f9dd500132
Wait for 5 dbservers before starting resilience tests. ( #7542 )
...
* Wait for 5 dbservers before starting test.
* Fix jslint.
2018-12-03 13:17:07 +01:00
Andrey Abramov
b016ba3255
re-enable arangosearch scoring tests in cluster ( #7581 )
2018-12-02 17:07:01 +03:00
Jan
8c8472be48
Bug fix/issue 7522 ( #7556 )
2018-11-29 19:25:49 +01:00
Dan Larkin-York
6d542e11c8
Fix end condition (hasMore) for EnumerateViewNode. ( #7279 )
...
* Fix end condition (hasMore) for EnumerateViewNode.
* Fix crashes.
* Some more fixes.
* eliminate code duplication
2018-11-26 23:41:58 +03:00
Max Neunhöffer
d72e51ed8f
Fix move leader shard. ( #7445 )
...
* 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 entry.
* Fix compilation.
* Fix a misleading comment.
2018-11-26 15:04:04 +01:00
Simon
f90b48f792
switch default message for requireFromPresent ( #7439 )
2018-11-23 18:59:03 +01:00
Heiko
3322cc5ae2
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
2018-11-23 17:06:09 +01:00
Max Neunhöffer
d772253b89
Make error handling in move shards tests more robust. ( #7419 )
...
* Make getCleanedOutServers error handling more robust.
* Fix two more instances of getCleanedOutServers.
2018-11-22 22:53:24 +01:00
Simon
c584527d79
Fix restore of views, add --view option ( #7425 )
2018-11-22 19:24:24 +01:00
Jan
e1e0f62647
add some more intermediate commit tests ( #7416 )
2018-11-22 15:29:27 +01:00
Vasiliy
1a0b9b9261
issue 153: ensure views are dropped in Agency when database is dropped in cluster, minor fixes ( #7370 )
...
* 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
2018-11-21 19:18:34 +03:00
jsteemann
0025f82cda
cleanup
2018-11-21 10:07:35 +01:00
Simon
cc55ef9f82
Faster index creation ( #7348 ) ( #7383 )
2018-11-21 09:53:14 +01:00
Alan Plum
c36c8c48ee
Teach Foxx req.makeAbsolute about unix sockets ( #7327 )
...
* Expose rawReq.server.endpoint in JS
* Make rawReq.portType enumerable
This is not strictly necessary but we don't gain much from hiding its existence.
* Allow using http: protocol in local requests
This helps distinguishing local request URLs from file paths in ambiguous contexts.
The alternative would require the user to specify the local endpoint but this doesn't work with
sockets (and for non-sockets would incur the penalty of a real network roundtrip).
* Teach Foxx req.makeAbsolute about unix sockets
* Add Foxx socket tests
2018-11-20 14:20:56 +01:00
Jan
0dd1776467
Make recovery more reliable ( #7297 )
2018-11-19 13:59:18 +01:00
Max Neunhöffer
71a0550b04
Another place with a resigned leader. ( #7349 )
2018-11-19 12:10:09 +01:00
Jan
b475f27148
fix queries that refer to COLLECT variables from inside COLLECT ( #7332 )
2018-11-15 15:11:11 +01:00
Markus Pfeiffer
39bdebf851
Port bug-fix-3.4/timeout-create-coll to devel ( #7307 )
...
* Fix loophole in error handling.
* 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:03:55 +01:00
Jan
f1760bf01b
fix failing non-deterministic query-stream test ( #7295 )
2018-11-13 11:36:41 +01:00
Alan Plum
fe7eae33bd
Fix Foxx Queues infinite maxFailures ( #7223 )
2018-11-12 13:20:10 +01:00
jsteemann
285cff52c0
fix "duplicate test suite name" error
2018-11-12 11:32:33 +01:00
Max Neunhöffer
ffd40088ed
Greylist moving-shards-with-arangosearch-view-cluster. ( #7273 )
...
* Greylist moving-shards-with-arangosearch-view-cluster.
* Add documentation for greylisted tests.
2018-11-08 16:26:15 +01:00
Wilfried Goesgens
bfde87751c
add more information when timeout failing the index creation tests ( #7265 )
2018-11-08 11:50:30 +01:00
Dan Larkin-York
b447f98a7a
Upgrade old MMFiles collections for compatibility with ArangoSearch. ( #7248 )
2018-11-07 15:52:37 +01:00
KVS85
e67690c554
Fix update-view-arangosearch-spec tests ( #7245 )
2018-11-07 00:30:21 +03:00
KVS85
4646ff28b2
Add view profiling tests ( #7229 )
...
* Add view profiling tests
* Fix jslint errors
2018-11-06 17:15:46 +03:00
Tobias Gödderz
1de42118b7
Fix "Duplicate testsuite" error ( #7238 )
2018-11-06 13:10:29 +01:00
Tobias Gödderz
cc30bc1585
Fix teardown, improved assertion & error message ( #7219 )
2018-11-06 13:09:51 +01:00
Jan
2115abdce9
smaller changes for replication ( #7200 )
2018-11-02 18:38:32 +01:00
Simon
b883026f45
Server stream cursor ( #7186 )
2018-11-02 16:19:48 +01:00
Vasiliy
f088733420
issue 496.3: 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 ( #7166 )
...
* issue 496.3: 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 potential deadlock between link creation and FlushThread
* remove code causing nullptr access
* add back lock around reader reopen
* revert: address potential deadlock between link creation and FlushThread
* invalidate payload for each field in FieldIterator before setting a value
2018-11-01 23:10:01 +03:00
Jan
4bc646f207
increase the maximum allowed number of collections in an AQL query ( #7154 )
2018-10-31 17:20:30 +01:00
Jan
7cfc63f007
patch collection counts on the slave in case it is off ( #7147 )
2018-10-31 17:20:14 +01:00
Vasiliy
8f44afb6cf
issue 496.1: switch scope of responsibility between a TRI_vocbase_t and a LogicalView in respect to view creation/deletion ( #7101 )
...
* issue 496.1: switch scope of responsibility between a TRI_vocbase_t and a LogicalView in respect to view creation/deletion
* backport: address test failures
* 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:35 +03:00
Simon
5b71dff64f
RocksDB replication thread safety ( #7088 )
2018-10-29 18:09:46 +01:00
Max Neunhöffer
15268fd051
Consider case of resigned leader. ( #7059 )
2018-10-29 09:19:50 +01:00
Wilfried Goesgens
a95d117396
if we run in maintainer mode, be more patient ( #7050 )
2018-10-25 15:39:53 +02:00
Michael Hackstein
83c1b08c9f
Removed incorrect skipping of Batches in RocksDB Tailing syncer. ( #7022 )
...
* 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 12:31:25 +02:00
KVS85
6623b8824a
Execute all ArangoSearch DDL tests on both cluster and single ( #7053 )
2018-10-24 22:18:11 +03:00
Wilfried Goesgens
2cfe9126f2
Bug fix/windows process handling ( #7012 )
2018-10-23 15:38:24 +02:00
Alan Plum
4e25350f6b
Fix Foxx API handling of broken services ( #6459 )
...
* 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-23 13:05:03 +02:00
jsteemann
a0b0385554
jslint
2018-10-23 11:21:35 +02:00
Wilfried Goesgens
15a366b17f
Bug fix/fix duplicate testcasenames ( #7003 )
2018-10-23 11:18:22 +02:00
Tobias Gödderz
9d8858d75c
Fixed optimize-traversals and added a regression test ( #6974 )
...
* Fixed optimize-traversals and added a regression test
* Updated CHANGELOG
2018-10-23 09:45:54 +02:00
Jan
158876a74f
Bug fix/fix array sorting ( #6989 )
2018-10-22 12:27:59 +02:00
Simon
4c1e8819c2
Add engine specific collection APIs ( #6977 )
2018-10-19 17:46:33 +02:00
Simon
23b8e5c735
Propper commit Sequence Numbers ( #6958 ) ( #6964 )
2018-10-19 14:19:57 +02:00
Tobias Gödderz
1641624cde
Removed debug log output, fixed errorNum check (again), added asserts that the views are properly created ( #6956 )
2018-10-19 14:18:10 +02:00
Jan
1924f74171
fix https://github.com/arangodb/release-3.4/issues/99 ( #6952 )
2018-10-19 13:04:24 +02:00
Jan
97a6bc58ac
use proper log topic ( #6915 )
2018-10-18 10:21:55 +02:00
jsteemann
ff06f449db
attempt to make test more reliable
2018-10-17 20:33:25 +02:00
Tobias Gödderz
3062d9685c
Fixed error num comparison ( #6940 )
2018-10-17 14:14:51 +02:00
Dan Larkin-York
9952cfbc95
Fix issues with ArangoSearch link permissions in cluster mode ( #6925 )
2018-10-16 20:42:11 +02:00
Tobias Gödderz
edaa127f37
Ignore errors caused by an admissible race ( #6900 )
2018-10-16 14:23:45 +02:00
Jan
c7933bcb31
added waitForSync option to make tests more deterministic ( #6885 )
2018-10-15 17:36:59 +02:00
Wilfried Goesgens
239771b5f3
Better result handling for recovery tests ( #6826 )
2018-10-15 13:17:45 +02:00
Heiko
bacce44e5b
Bug fix/gharial improvement rename ( #6451 )
...
* graph object rename method
* rename test
* updated rename function
* added tests, fixed orphan rename failure
* requested changes
* forget to change function name
2018-10-15 12:53:17 +02:00
Vasiliy
78567bef09
update iresearch to codebase as of 20181011 ( #6858 )
...
* update iresearch to codebase as of 20181011
* backport: address cluster test failures
* backport: address dump test failures
* backport: address discrepency in view creation between single-server and cluster
* backport: address test failure on cluster (revert change)
* backport: address test failures
* backport: address MSVC build issues
* backport: address issue with LogicalDatasource destructing after TRI_vocbase_t
* Revert "backport: address issue with LogicalDatasource destructing after TRI_vocbase_t"
This reverts commit 4f9880bbaa22194dfbb604b5a54658de1d447ac1.
2018-10-12 21:07:12 +03:00
Simon
fd81f52ab4
Allow WAL logger to split up transactions ( #6800 ) ( #6866 )
2018-10-12 17:50:58 +02:00
Jan
6d54518145
forward port changes from 3.4 ( #6849 )
2018-10-12 17:49:17 +02:00
Tobias Gödderz
d56bde5716
Added waitForEstimatorSync() ( #6868 )
2018-10-12 17:42:07 +02:00
Tobias Gödderz
692ff001ca
Remove nondeterministic edge index test ( #6863 )
2018-10-12 15:19:05 +02:00
Wilfried Goesgens
01086a767a
fix windows path escaping in testcase ( #6833 )
2018-10-11 18:32:34 +02:00
Jan
8f44d6b658
Bug fix 3.4/views in aql collections ( #6714 ) ( #6785 )
2018-10-11 10:52:38 +02:00
Dan Larkin-York
4644d2b023
Fix issue with colleciton/view name conflict checking in cluster. ( #6796 )
2018-10-11 10:45:29 +02:00
Tobias Gödderz
490d12640e
Added a regression test for arangodb/backlog#486 ( #6792 )
...
* Added a regression test for arangodb/backlog#486
* Moved regression test in existing ddl test files
2018-10-11 10:26:17 +02:00
Tobias Gödderz
102d17de89
Rework move shards with view test ( #6773 )
...
* Fixed testSetup(). Reduced redundant code.
* Reworked assertions in moving-shards-with-arangosearch-view-cluster.js
* Added changes from review
* Removed debug output / fixed jslint error
2018-10-11 10:25:22 +02:00
jsteemann
c9d97a735b
fix wrong function name
2018-10-10 01:43:00 +02:00
Andrey Abramov
752714de24
Feature/arangosearch overhaul ( #6743 )
...
* get rid of memory stores
* do not use 'waitForSync' transaction option to synchronize a view
* honor `Methods::isSingleOperationTransaction()` hint
* explicitly specify index_writer's properties
* ensure data is synced
* fix tests
* another fix
* code cleanup
* remove code duplication
* some fixes
* fix typo
2018-10-10 01:13:08 +03:00
jsteemann
b293d81cbe
try to fix test
2018-10-09 10:55:48 +02:00
Jan
7b5d163aee
fix variable replacements in view search conditions ( #6756 )
...
* fix variable replacements in view search conditions
* added reference to internal issue
* add catch test
* Added AQL test
2018-10-08 20:53:29 +03:00
Simon
8f67a162d8
Make assertions better ( #6745 )
2018-10-08 09:07:24 +02:00
Simon
f299e9f6cf
Fix foxx test failures ( #6724 )
2018-10-05 12:49:24 +02:00
Andrey Abramov
ccff44388f
Fix multiple links per collection issue ( #6661 ) ( #6713 )
...
* 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-04 00:14:41 +03:00
jsteemann
4e631cfb42
try to make test more deterministic
2018-10-03 17:30:13 +02:00
jsteemann
5570086f07
fixed invalid test setup
2018-10-02 19:51:24 +02:00
Jan
f59761dcc2
small issues ( #6675 )
2018-10-02 17:47:22 +02:00
Simon
5837291495
Debug logs for ActiveFailover ( #6684 )
2018-10-02 15:10:50 +02:00
Dan Larkin-York
ed04451739
Mark flaky test nondeterministic for now ( #6673 )
2018-10-01 17:58:13 +02:00
KVS85
164b5be4fa
Change tests setUp/tearDown to be common ( #6652 )
2018-10-01 12:27:18 +02:00
jsteemann
fc7b9f1231
try to make test more deterministic
2018-09-28 18:09:33 +02:00
jsteemann
02d94ea602
make test more deterministic
2018-09-28 17:07:06 +02:00
Simon
fcd7f49293
Fix error in dump test, create views before syncing data ( #6636 )
2018-09-28 16:59:38 +02:00
Kaveh Vahedipour
a73023e512
Bug fix/agency update endpoints ( #6519 )
...
* update endpoints in agency done the RAFT way
* fix mock interface
* tests functioning with new agent interfacwe
* handling non-leader
2018-09-28 15:14:48 +02:00
Tobias Gödderz
194b214b78
Fix cluster view test ( #6622 )
2018-09-28 11:33:38 +02:00
Jan
55cd434aa2
fix handling of range deletions ( #6639 )
2018-09-28 11:09:41 +02:00
Simon
0a9afccde5
Fix crash on Agency / DBserver with user JWT tokens ( #6594 )
2018-09-26 14:26:35 +02:00
Alan Plum
78425e510c
Add support for nested aql queries in JS ( #6482 )
...
* Add support for nested aql queries in JS
* updated documentation
2018-09-26 14:21:24 +02:00
Jan
fbf2904ab0
fixed issue #6601 ( #6608 )
2018-09-26 13:42:50 +02:00
jsteemann
c8a0c074fe
split tests
2018-09-26 12:06:07 +02:00
Jan
ae85fbc4ea
much better diagnostics for AQL query results cache ( #6580 )
2018-09-25 09:49:11 +02:00
Jan
44448321e1
Bug fix/optimizations 210918 ( #6573 )
2018-09-24 20:16:16 +02:00
jsteemann
95635093b0
adjust file path
2018-09-24 13:50:52 +02:00
Jan
024a9d7ac1
less RocksDB background thread activity in case there is nothing to do ( #6577 )
2018-09-24 13:45:13 +02:00
Simon
0fa7f01c66
Resilience test failure points ( #6539 )
2018-09-20 01:05:10 +02:00
Dan Larkin-York
282159ec2c
Fix single shard restriction with binary and. ( #6549 )
2018-09-19 23:40:55 +02:00
Jan
203b141a6f
Bug fix/fix stats on skip ( #6531 )
2018-09-19 22:02:32 +02:00
jsteemann
65fff006dd
move tests to the right location
2018-09-17 20:21:45 +02:00
Simon
02b6c6ea90
Fix deduplication in IndexBlock ( #6508 )
2018-09-17 12:53:01 +02:00
Lars Maier
f93b6fd7b8
Bugfix/early out invalid links in view creation ( #6502 )
2018-09-17 09:50:28 +02:00
Dan Larkin-York
52e0face29
Improve use of single shard restriction ( #6182 )
2018-09-14 14:31:49 +02:00
Lars Maier
e2930ccba6
Completely export views dump restore ( #6466 )
2018-09-12 17:21:22 +02:00
jsteemann
eeb5f37f8e
fix error message (backlog/#479)
2018-09-12 16:33:37 +02:00
KVS85
368c4c5db8
Surpress ArangoSearch failing tests ( #6465 )
2018-09-12 12:39:04 +02:00
Heiko
2ec1a5cc26
Feature/new devel versioning scheme ( #6312 )
2018-09-11 08:57:38 +02:00
Jan
d1241b1deb
Bug fix/aql modify cleanup ( #6380 )
2018-09-11 08:54:45 +02:00
Simon
ec17a38fc8
Trace skipSome() calls ( #6449 )
2018-09-11 08:53:58 +02:00
KVS85
7009864d45
Fix ArangoSearch authentication update task test ( #6453 )
2018-09-10 23:31:59 +02:00
Jan
dbe4559ed1
fix some issues with sorted variant of COLLECT ( #6433 )
2018-09-10 17:01:51 +02:00
Heiko
0ebae005d7
added tests, updated docu ( #6407 )
2018-09-10 16:58:03 +02:00
Jan
3752c7deab
fix profile output for nodes without calls to getSome ( #6397 )
2018-09-10 09:19:01 +02:00
Frank Celler
d53c42afbe
fixed missing cleanup
2018-09-07 16:48:17 +02:00
Simon
2a4e327d8c
Fix pregel during import ( #6355 )
2018-09-05 16:26:31 +02:00
Jan
09bf296545
Bug fix/cache fullcount in query cache ( #6364 )
2018-09-04 16:33:13 +02:00
Simon
0661a4c1fe
Hide Links from getIndexes() ( #6325 )
2018-09-03 15:17:24 +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