1
0
Fork 0
arangodb/js/client/modules/@arangodb
Andrey Abramov 5eef6cd618
Feature/test iresearch (#5610)
* start implementing arangosearch cluster tests.

* backport: ensure view lookup is done via collectionNameResover, ensure updateProperties returns current view properties

* first attempt to fix failing tests

* refactor cluster wide view creation logic

* if view is not found in the new plan then check the old plan too

* ensure the cluster-wide view is looked up in vocbase as well on startup/recovery

* do not store cluster-wide IResearchView in vocbase

* move stale view cleanup to the shared pointer deleter, address test failures

* do not print warning

* enable arangosearch tests by default

* fix catch tests

* address icorrect return value for cluster-wide links

* address some issues with test failures due to cluster-view allocated within TRI_vocbase_t

* simplify per-cid view name, address 'catch' test failures

* ensure IResearchViewNode volatility is properly calculated in cluster

* invoke callbacks directly in AgencyMock instead of waiting for timeout

* ensure view updates via JavaScript always use the latest view definition

* pass a list of shards to `IResearchViewDBServer::snapshot`

* extend cluster aql tests

* fixes after merge

* fix class/struct inconsistencies

* comment failing tests

* remove debug logging

* add debug function

* tests cleanup

* simplify upcoming merge: pass resolver from a side

* backport: move all transaction status callback logic to Methods

* add changes missed from previous commit

* fix js and ruby tests

* more tests for IResearchViewNode

* pass transaction to IResearchViewDBServer::snapshot, address IResearchViewDBServer tests segfault

* pass transaction to IResearchView::snapshot instead of transaction state

* temporarily add trace log output to tests to try to find the cause of the core dump on Jenkins

* add more temporary debug output to trace down the segfault on Jenkins

* add even more temporary debug output to trace down the segfault on Jenkins

* ensure Vieew related maps are cleared during shutdown

* reset ClusterInfo::instance() before DatabaseFeature::unprepare()

* remove extraneous debug output

* missed line from previous commit

* uncomment required line

* add nullptr checks to RocksDBIndexFactory::prepareIndexes(...) similar to the ones in MMFilesIndexFactory::prepareIndexes(...)

* attempt to fix deadlock in tests

* add comment as per reviewer request

* fix aql test suite name

* add some debug logging

* address deadlock between ClusterInfo::loadPlan() and CollectionNameResolver::localNameLookup(...)

* eplicitly state which index definition failed in the log message

* use vocbase from shard-view isntead just in case

* explicitly state which index definition failed in the log message

* do not create shard-view instances from cluster-link instances (only register existing ones)

* add some tests
2018-06-21 20:35:04 +03:00
..
aql make API for POST /_api/aqlfunction downwards-compatible again (#5636) 2018-06-20 12:52:54 +02:00
foxx Deprecate foxx-manager (#5089) 2018-05-03 14:14:37 +02:00
testsuites disable circumventing of coredumps for windows (#5583) 2018-06-13 13:54:24 +02:00
actions.js Reformat code 2016-06-30 16:57:17 +02:00
arango-collection.js WIP - start adding optional overwrite to insert operation (RepSert) (#5268) 2018-05-24 19:47:15 +02:00
arango-database.js Feature/test iresearch (#5610) 2018-06-21 20:35:04 +03:00
arango-query-cursor.js Streaming Query Cursor (#4769) 2018-03-08 09:18:41 +01:00
arango-statement.js AQL Profiling code (#5165) 2018-04-24 16:17:30 +02:00
arango-view.js use ERROR_ARANGO_DATA_SOURCE_NOT_FOUND instead of ERROR_ARANGO_COLLECTION_NOT_FOUND/ERROR_ARANGO_VIEW_NOT_FOUND in js part too 2018-03-19 13:55:25 +03:00
arangosh.js Feature/arangodoc (#5476) 2018-06-05 15:38:50 +02:00
configuration.js Reformat code 2016-06-30 16:57:17 +02:00
crash-utils.js Re-Add the now optional method to automatically analyze crashes (#5435) 2018-06-06 17:32:12 +02:00
index.js make the ArangoShell refill its collection cache (#3441) 2017-11-02 15:32:48 +01:00
inspector.js Bugfix/inspector thread (#5553) 2018-06-07 16:23:10 +02:00
pregel.js Fixed pregel API 2017-01-21 19:00:37 +01:00
process-utils.js disable circumventing of coredumps for windows (#5583) 2018-06-13 13:54:24 +02:00
replication.js added replication ui (#5555) 2018-06-08 11:19:05 +02:00
simple-query.js Using stream cursor in arangoexport and arangosh (#4807) 2018-03-12 09:41:43 +01:00
tasks.js Reformat code 2016-06-30 16:57:17 +02:00
test-utils.js Feature/cleanup rspec integration (#5517) 2018-06-07 11:47:46 +02:00
testing.js Feature/test iresearch (#5610) 2018-06-21 20:35:04 +03:00
tutorial.js Optimized arangosh tutorial for 80 char width, slightly extended 2016-08-22 20:59:54 +02:00
user-helper.js Refactor Authentication Layer (devel) (#4592) 2018-02-28 13:24:28 +01:00
users.js Refactor Authentication Layer (devel) (#4592) 2018-02-28 13:24:28 +01:00