1
0
Fork 0
Commit Graph

5555 Commits

Author SHA1 Message Date
Simon Grätzer 9786b198c2 Allow pregel jobs to interrupt on shutdown (#2855) 2017-07-27 15:29:01 +02:00
Mark 3a59ea553b Add catch when propagateSelfHeal (#2839) 2017-07-19 17:03:52 +02:00
Simon Grätzer f50a36181d Various authentication related issues (#2824) 2017-07-18 22:22:09 +02:00
Frank Celler a692577f5b Feature/auth context (#2815) 2017-07-16 09:39:03 +02:00
mchacki dd13944264 Added some test cases where filter optimization in Traverser could have yield wrong results. 2017-07-15 17:49:00 +02:00
Max Neunhöffer 442be8faad 60s timeout for syncCollectionFinalize. (#2805) 2017-07-14 23:14:04 +02:00
Manuel B df7051f2cb server / client side db._parse added (#2789) 2017-07-14 14:31:51 +02:00
Frank Celler a5a25754ed Feature/reduce extraction to projection (#2792)
* reduce extractions to projections

* recycle string buffers in SocketTask

* micro optimizations for mmfiles indexes

* added special lookup function for _key

* moved function into the correct file

* speed up key buffer allocations a bit

* added noexcept specifier

* correctly name variable

* explicitly move bounds

* fix and speedup from/toPersistent functions

* reuse string from ManagedDocumentResult for multiple lookups

* use move-assign

* a bit less work for single server

* speedup AQL function HASH

* single fetch optimization

* performance optimization for the case when no documents need to be returned

* make reduce-extraction-to-projection a RocksDB-only optimizer rule

* cppcheck

* try to fix compile error on MacOS

* bug fix for MacOSX

* missing namespace (in Windows compile)
2017-07-14 08:40:29 +02:00
Max Neunhöffer 2f874249bb Bug fix/adjust agency comm timeouts (#2765)
* Take out 503 timeouts altogether.
* Overhaul of AgencyComm::sendWithFailover loop.
* Let performRequests optionally ignore 404 coll not found.
* Fix error message "database not found" when AgencyComm failed.
* Add log entries in Agency if locks are acquired too slowly.
* Reexecute the javascript cluster sync stuff even if there was no plan/current change...So failed sync jobs can retry later...
* Cover callbacks in Communicator by lock. This fixes https://github.com/arangodb/planning/issues/370
* Put in delay in waiting for leader in agency test.
* Schmutz logging to heartbeat topic.
* Add more lock time diagnostic in agent.
* Switch on agencycomm tracing in coordinator.
2017-07-13 00:44:28 +02:00
Frank Celler 40d73d5a8b Revert "[WIP] Feature/reduce extraction to projection (#2735)"
This reverts commit 5bfcff30cd.
2017-07-12 12:52:14 +02:00
Jan 5bfcff30cd [WIP] Feature/reduce extraction to projection (#2735)
* reduce extractions to projections

* recycle string buffers in SocketTask

* micro optimizations for mmfiles indexes

* added special lookup function for _key

* moved function into the correct file

* speed up key buffer allocations a bit

* added noexcept specifier

* correctly name variable

* explicitly move bounds

* fix and speedup from/toPersistent functions

* reuse string from ManagedDocumentResult for multiple lookups

* use move-assign

* a bit less work for single server

* speedup AQL function HASH

* single fetch optimization

* performance optimization for the case when no documents need to be returned

* make reduce-extraction-to-projection a RocksDB-only optimizer rule
2017-07-12 11:22:29 +02:00
Kaveh Vahedipour d98481f889 Merge pull request #2769 from arangodb/feature/fix-jslint-aql-graph-traverser.js
missing assertTrue entry in global
2017-07-11 16:04:37 +02:00
Kaveh Vahedipour 774ebae638 missing assertTrue entry in global 2017-07-11 16:02:02 +02:00
Kaveh Vahedipour 231a360b3b fixes for secondaries 2017-07-11 14:05:51 +02:00
Michael Hackstein 2cd48e614b Feature/optimizer rule remove filter covered by traversal (#2731)
* Added a first test for remove-filter-covered-by-traverser rule.

* initial try at adding the functions

* Initial try at fixing all cases

* Fixing optimizer rule order

* Changing rule

* excluding quantifier ANY

* Fixing assertion error

* quick fix for some failed traverser cases

* Fixing quantifier related tests

* Adding upper limit for scannedIndex in cluster

* Fixing the mmfiles asserts

* Allow the coordinator to do condition checking on edges again. Used in enterprise.

* Fix naming of optimizer rules (#2739)
2017-07-10 10:15:17 +02:00
Frank Celler 6b47544611 Revert "Feature/optimizer rule remove filter covered by traversal" (#2724)
* Revert "Feature/authorization query cache (#2720)"

This reverts commit 83712b7b4a.

* Revert "properly return index in case of unique constraint violation (#2716)"

This reverts commit c3f346e0a5.

* Revert "fix https://github.com/arangodb/planning/issues/388 (#2714)"

This reverts commit 1d944b97a4.

* Revert "fix typo (#2718)"

This reverts commit 61a80ed697.

* Revert "Feature/optimizer rule remove filter covered by traversal (#2676)"

This reverts commit c54b81fb69.
2017-07-04 11:13:36 +02:00
Simon Grätzer c54b81fb69 Feature/optimizer rule remove filter covered by traversal (#2676) 2017-07-03 18:39:32 +02:00
Frank Celler bbe7484521 Feature/auth context (#2704)
* added read-only users
2017-07-02 23:15:57 +02:00
Michael Hackstein b73c0dfda4 Merge pull request #2670 from arangodb/feature/issue-277-nextExtra
Feature/issue 277 next extra
2017-06-29 17:24:55 +02:00
Dan Larkin ee8cb749bb Added recovery tests for views and fixed a few related bugs. (#2682)
* Added recovery tests for views and fixed a few related bugs.

* Added more view recovery tests.

* Modified view recovery tests to add a waitForSync operation after.

* fixed usage of wrong view type

* fixed recovery of view change markers
2017-06-29 17:09:43 +02:00
Michael Hackstein 6901a9b53f Fixed a misplaced edge filter It checked for a condition on the wrong depth. 2017-06-29 17:03:05 +02:00
Jan Christoph Uhde 828ab6db23 update unittests 2017-06-28 13:45:17 +02:00
Mark a033eef12d Fix issue 2684: Legacy service UI not working (#2685) 2017-06-28 12:09:15 +02:00
Frank Celler 2807ef559c Feature/move shard fix (#2626)
Major overhaul of handling of synchronous replication.
2017-06-26 16:55:01 +02:00
Mark 50ad6fbd76 Foxx service CRUD optimizations (#2657)
* Pass config/deps on _install so setup can see them

* Only register service when install succeeded

* Don't throw after point of no return: breaky install is breaky

* Delete service files during install if service validation fail

* Delete service files during install if service execution fails

* Fix commitLocalState with invalide services

* Remove deprecated test
2017-06-26 09:28:59 +02:00
Jan cfbd8ed93c Bug fix/rocksdb autoincrement (#2648)
* Added autoincrement keygen support to RocksDB engine with test.

* fixed key generator state keeping for mmfiles engine
2017-06-23 15:27:09 +02:00
Simon Grätzer 52fa4f450a Bugfix for cluster bug (#2649) 2017-06-22 17:34:01 +02:00
Jan c77a6fd738 fix one more limit issue in traversal (#2634) 2017-06-22 12:32:47 +02:00
Jan ebaeb639b2 Bug fix/incremental replication syncs too much (#2631)
* fix too much synchronization
* fix incremental sync for RocksDB engine
2017-06-21 14:56:33 +02:00
Mark 7743db32b9 Fix #2613 (#2614)
Reduce log level when Foxx manager tries to self heal missing database
2017-06-20 12:41:45 +02:00
Simon Grätzer 492d832695 Refactored /_api/index and /_api/database (#2582)
* working documents rest handler

* fixed cluster tests

* Consolidating database APIs

* clang-format

* Fixing issue with user creation through db._createDatabase

* replaced and refactored api-index and index api

* fixed cluster

* renaming some files

* added user methods

* removed files intended for later

* Fixed CC build

* Fixed method signature

* Fixing shell_server, shell_client tests
2017-06-19 23:47:40 +02:00
Jan f38ba7c84d fix invalid results (too many) when a skipping LIMIT was used for a traversal (#2603)
`LIMIT x` or `LIMIT 0, x` were not affected, but `LIMIT s, x` may have returned too many results
2017-06-19 17:34:47 +02:00
Jan 9bebd33ba3 fix invalid first group results for sorted AQL COLLECT when LIMIT was used (#2577) 2017-06-16 09:44:14 +02:00
Max Neunhoeffer cc985becd3 One more logging line in resilience test output. 2017-06-09 10:46:26 +02:00
jsteemann 9b77aae857 fixed some tests 2017-06-08 17:56:58 +02:00
Wilfried Goesgens 7224e7515c Implement testcases, this fixes #1806 2017-06-08 15:59:05 +02:00
Andreas Streichardt a2f5871ee6 Keep retrying coordinator bootstrap 2017-06-07 18:22:08 +02:00
Simon Grätzer fba82fc516 Forgot test case 2017-06-07 17:20:37 +02:00
jsteemann 210a4e485b fix path to version file 2017-06-06 15:42:42 +02:00
Andreas Streichardt 07364e857d Remove useless debug 2017-06-02 11:47:05 +02:00
Michael Hackstein ce9812d8fa Added proper sorting in test code. Not deterministic otherwise 2017-06-02 09:33:30 +02:00
Mop 619eae9be5 Revert "Squashed commit of the following:"
This reverts commit 2252088572.
2017-06-01 18:37:45 +02:00
Andreas Streichardt 2252088572 Squashed commit of the following:
commit f3d0fd6584b0e451b8c97abcb4ba8d9f2fc6f560
Author: Andreas Streichardt <andreas@arangodb.com>
Date:   Thu Jun 1 17:31:36 2017 +0200

    fix unittest

commit 7cd3544a39e1b78af9d4175cb3b978799b9bbfff
Author: Andreas Streichardt <andreas@arangodb.com>
Date:   Thu Jun 1 17:10:00 2017 +0200

    Remove debug comment

commit fb6b10dac15be49a72dbff80030a7d22abdfc3e0
Merge: 055eb1d269 6b18cc64fe
Author: Andreas Streichardt <andreas@arangodb.com>
Date:   Thu Jun 1 17:00:21 2017 +0200

    Merge branch 'devel' into shardorganizer

commit 055eb1d2693a583d21ea59ec8b6ba95ab0db57ac
Merge: 1ff7998ebf 8ea89b7677
Author: Mop <andreas@arangodb.com>
Date:   Thu Jun 1 16:56:30 2017 +0200

    Merge branch 'shardorganizer' of https://github.com/arangodb/arangodb into shardorganizer

commit 8ea89b76777c75b6a77bf695c3f074a0c4643c29
Author: Andreas Streichardt <andreas@arangodb.com>
Date:   Thu Jun 1 16:55:41 2017 +0200

    Fix shardmapping bug

commit 1ff7998ebfd691598ec5b455ca5bc2bfd7020fb4
Author: Mop <andreas@arangodb.com>
Date:   Wed May 31 17:26:08 2017 +0200

    more output

commit 68e88aa0e14316c4929d05b2c151bee6421d754d
Merge: 0978ad1d9e 44a6a78ec3
Author: Mop <andreas@arangodb.com>
Date:   Wed May 31 17:03:33 2017 +0200

    Merge branch 'shardorganizer' of https://github.com/arangodb/arangodb into shardorganizer

commit 44a6a78ec338a1e7cabb15464500d96b84c68f1d
Author: Andreas Streichardt <andreas@arangodb.com>
Date:   Wed May 31 07:42:43 2017 -0700

    Fix namespace

commit 0978ad1d9e2f01b86204990e74b66958f25eba66
Merge: f98582ccff d74e5989ad
Author: Mop <andreas@arangodb.com>
Date:   Wed May 31 16:40:35 2017 +0200

    Merge branch 'shardorganizer' of https://github.com/arangodb/arangodb into shardorganizer

commit f98582ccff3448f6c2388dab4cc2dc38034271b0
Author: Mop <andreas@arangodb.com>
Date:   Wed May 31 16:39:03 2017 +0200

    Revert "Revert "Next attempt at merging ShardOrganizer...distributeShardsLike fixed""

    This reverts commit fed45b7b10.

commit d74e5989ad478efe7d66d196715c05f4f41c9c29
Author: Andreas Streichardt <andreas@arangodb.com>
Date:   Wed May 31 16:31:31 2017 +0200

    Make it an error

commit 0a6a9ef9464df4f24ad205bbab5b9f8ded50054f
Author: Andreas Streichardt <andreas@arangodb.com>
Date:   Wed May 31 12:42:51 2017 +0200

    distributeShardsLike has to be saved as a cidString
2017-06-01 17:32:40 +02:00
jsteemann d13144f389 fixed issue #2515 2017-06-01 13:45:47 +02:00
Alan Plum 4b4b9f8c55 Fix Foxx API error (#2517)
* Fix Foxx API error
* Manager should distinguish between errors and services
* Foxx API should not require service to exist for uninstall
  if force option is used
* Respect options.force in FM _install
2017-06-01 11:59:04 +02:00
jsteemann 3df0940c7e jslint 2017-06-01 10:31:42 +02:00
Akshesh Doshi 46b50c266c Add tests and docs for REGEX_REPLACE AQL function (#2518)
* Fixed #1902: Add tests and documentation for REGEX_REPLACE

* Cleanup
2017-06-01 10:29:43 +02:00
Mark f832dd0388 Implement endpoint "commit coordinator state" (#2513)
Implement endpoint "commit coordinator state" (also see #2479)
2017-05-31 18:21:50 +02:00
Alan Plum 7608cde674 Implement clusterfoxx mounting logic (#2514)
* Serve error when service is out of sync
* Don't check system services for bundles
* Use appropriate errorNum if Foxx blows up
* Only check checksum when file exists
* Don't expose stack traces
2017-05-31 18:21:40 +02:00
Michael Hackstein 52406567cd Replaced EdgeCursors callback to return cid,rev instead of _id. Does less costly copying and comparision internally 2017-05-31 17:49:46 +02:00
Alan Plum ca52aa17b3
Make legacy test less flakey 2017-05-31 11:27:31 +02:00
Alan Plum 83310c12d7
Move FM.listJson into aardvark 2017-05-30 20:19:58 +02:00
Alan Plum 5fc4a17b24
Make sure the bundle doesn't exist before loading it from db 2017-05-30 20:09:58 +02:00
Alan Plum c4305897cf
More realistic binary document test 2017-05-30 18:39:56 +02:00
Alan Plum cceccf59da Simplified Foxx self healing (#2511)
* Implement new self-heal
* Add error codes for 503, service missing/outdated
* Detect changes to service via rev
* Pretty print incoming response object in log
2017-05-30 18:27:32 +02:00
Michael Hackstein eecdcd4e96 Made shortest path OOM test deterministic 2017-05-30 17:41:07 +02:00
jsteemann ed21022f55 added test for shardids restriction 2017-05-29 17:02:16 +02:00
jsteemann a35f85bcc7 added proper docs for --query.fail-on-warning 2017-05-29 15:46:48 +02:00
Frank Celler ee1c60c67a added _binaryDocument and _binaryInsert (#2506) 2017-05-27 22:49:22 +02:00
Andreas Streichardt b5fcd15214 Fix linter 2017-05-24 14:53:06 +02:00
Andreas Streichardt f08cae2028 Explicitly wait for unloaded 2017-05-24 14:37:30 +02:00
jsteemann 0c6b3cfd46 fix non-deterministic behavior in cluster_sync test 2017-05-24 12:51:27 +02:00
Max Neunhoeffer 11e6b9ea7f Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2017-05-23 20:38:38 +02:00
Andreas Streichardt d8dc3c85e7 Call version instead of foxx status to save a v8 context 2017-05-22 19:07:24 +02:00
Max Neunhoeffer 4bddb0c1ad Handle errors in loadScript for JS, use in cluster-bootstrap.
This recognizes errors that happen during the global cluster bootstrap.
If an error happens, the bootstrap is tried again later. The cluster
does not start until the cluster bootstrap has been finished
successfully.
2017-05-22 15:34:41 +02:00
jsteemann a5070978da fixed issue #2488 2017-05-19 15:57:47 +02:00
Michael Hackstein ca737edd97 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2017-05-17 18:53:35 +02:00
Michael Hackstein 0d18821705 Adapted the shell-index-figures test to honor that the primary index does not have a cache anymore. 2017-05-17 18:52:09 +02:00
Andreas Streichardt 83dff84be7 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2017-05-17 18:19:26 +02:00
Andreas Streichardt 49328dcecb Add authorizedflag fixing cluster internal foxx requests 2017-05-17 18:14:11 +02:00
Alan Plum 9b8a641e77
loadServiceFromDisk was renamed 2017-05-17 16:51:28 +02:00
Alan Plum 8a1286ac1c
Service constructor changed a bit 2017-05-17 16:48:06 +02:00
Jan Christoph Uhde d7a1b98117 fix liniting errors 2017-05-17 12:47:37 +02:00
Alan Plum 819a1194ba
Throw correct errors in Foxx management internals 2017-05-17 12:22:16 +02:00
Michael Hackstein b19549f5e4 RocksDB now properly reports EdgeIndex estimates to the user. Also reactivated edgeIndex tests for the estimate in RocksDB. 2017-05-17 09:52:25 +02:00
Alan Plum 5d017d733c Improve Foxx cluster resilience (#2479)
* Improve Foxx cluster resilience

Fixes #2083
Fixes #2384
Fixes #2408
Addresses #1892

* Port old Foxx API

* Implement single-file services

* Add console.errorStack/warnStack/infoStack helpers

* Simplify serviceInfo validation

* Extract github/upload logic into Aardvark and old FM API
* Move generator logic into Aardvark
* Move zip/js buffer logic into FM core

* Add Foxxmanager tests

* Send empty response when no README

* Disambiguate script arg format

Historically we allow passing an array of positional arguments or an arbitrary first argument.
This is surprising behaviour, so we should just always treat the value as a first argument.

* Rebuild bundle in development mode

* Nicer HTTP docs formatting

* Create Foxx HTTP docs

* Simplify service upload handling

* Remove inline swagger docs

* Implement public download route

* Consistency

* Rebuild aardvark

* Move bundle route into /_api/foxx/_local

* Rebuild Swagger API docs

* Add changes to CHANGELOG

* More docs
2017-05-16 17:41:29 +02:00
jsteemann 985c3f4bfc also execute tasks in existing databases 2017-05-16 12:11:23 +02:00
jsteemann 499491bee9 use exclusive locks for some transactions 2017-05-15 22:47:50 +02:00
Michael Hackstein 301f5125cf Merge branch 'devel' of github.com:arangodb/arangodb into devel 2017-05-15 17:19:35 +02:00
Michael Hackstein d7d650e27d Implemented index estimates for RocksDB. Now the following indexes have
a proper estimate:
* HashIndex
* SkiplistIndex / Persistent
* EdgeIndex
2017-05-15 17:17:58 +02:00
Andreas Streichardt 4dd5e54dc6 reenable check 2017-05-15 16:49:08 +02:00
Andreas Streichardt 41f8185553 Add test for rolling back indexes 2017-05-15 16:49:07 +02:00
jsteemann a829fed1bc do not turn off foxx queues 2017-05-15 15:15:29 +02:00
jsteemann 787e71d60f disable foxx queues 2017-05-15 14:35:09 +02:00
jsteemann 422b06211f fix some replication issues 2017-05-11 19:00:32 +02:00
jsteemann c5a195d62c attempt to fix races in replication 2017-05-10 14:32:16 +02:00
Simon Grätzer fd9647af83 Wrong index number 2017-05-10 10:41:47 +02:00
Simon Grätzer 2bba69bafc Fixed dump test 2017-05-10 10:27:50 +02:00
Simon Grätzer 3b7ef439c8 Merge branch 'devel' of https://github.com/arangodb/arangodb into feature/rocksdb-geoindex 2017-05-09 17:42:27 +02:00
Simon Grätzer b0bc75c93e Working geo index 2017-05-09 14:47:13 +02:00
jsteemann d0ae7673b9 do not print errors on shutdown 2017-05-09 10:26:59 +02:00
Simon Grätzer 1e3368c76a Preliminary changes 2017-05-08 18:27:51 +02:00
Michael Hackstein 0b985cb9da Merge branch 'devel' of github.com:arangodb/arangodb into devel 2017-05-08 12:39:06 +02:00
Michael Hackstein 50cb7b8a84 The rocksdb cluster dump now tests Fulltext index as well 2017-05-08 12:39:00 +02:00
Kaveh Vahedipour d149baa317 ttls are considered, when key-value store read is invoced 2017-05-08 12:22:14 +02:00
jsteemann c7c5800463 attempt to fix Windows test 2017-05-08 09:53:23 +02:00
Simon Grätzer e2e64421f2 Fixed dump test 2017-05-06 02:45:20 +02:00
Simon Grätzer 59a514bb89 Count fix & tests enabled 2017-05-06 01:57:09 +02:00
Wilfried Goesgens 922f59148b lint. 2017-05-05 14:14:39 +02:00
Wilfried Goesgens ed71952418 migrate away from expect.js to chai.expect 2017-05-05 13:38:39 +02:00
Dan Larkin d77efe38dc Added explicit WAL file lifecycle management to reduce space overhead from replication. 2017-05-04 15:16:24 -04:00
jsteemann 0cad04bdb3 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-05-04 15:09:39 +02:00
Simon Grätzer 9837fe3bb7 Added compaction after truncate 2017-05-04 14:00:21 +02:00
jsteemann 134b4f80ae do not care about collection attributes that are not used in an engine 2017-05-04 13:11:21 +02:00
jsteemann ab8a4ec176 disable test for now because actual test behavior is incorrect
waiting for @mop to fix it
2017-05-04 13:10:21 +02:00
jsteemann 660dc39b29 fix potentially hanging dfdb 2017-05-04 10:39:47 +02:00
jsteemann ff30754d50 disable dfdb in RocksDB 2017-05-04 01:15:02 +02:00
Simon Grätzer d23fbdc21e Fixing devel test 2017-05-03 16:56:57 +02:00
Simon Grätzer a2e2c00d62 fillIndex non transactional + tests 2017-05-03 16:07:29 +02:00
Max Neunhoeffer ce2f59c12c Avoid log spam. 2017-05-02 15:02:48 +02:00
Michael Hackstein 4fa2ef485d Merge branch 'devel' of github.com:arangodb/arangodb into devel 2017-05-02 13:19:25 +02:00
Michael Hackstein bedf5e9245 Reactivated client-side filtering of unnecessary markers 2017-05-02 13:19:06 +02:00
jsteemann 8a9dd4e35a move engine-specific test into engine test 2017-05-02 11:24:01 +02:00
Michael Hackstein 3a19370978 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2017-05-02 10:43:55 +02:00
Michael Hackstein 5a8e8338cf Revert "Ignore collection markers in logger-follow output for syncCollectionFinalize."
This reverts commit cf8b75db87.
2017-05-02 10:43:39 +02:00
jsteemann 6c427c713b Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-05-02 10:29:44 +02:00
jsteemann 3a0926ba6a make replication test more deterministic 2017-05-02 10:29:29 +02:00
Max Neunhoeffer cf8b75db87 Ignore collection markers in logger-follow output for syncCollectionFinalize. 2017-05-02 10:11:12 +02:00
Dan Larkin b86c9c239b Adjusted timing constant in async test. 2017-04-28 17:32:59 -04:00
Dan Larkin e6611ddc4f Fixed ongoing replication bugs and split the test. 2017-04-28 16:01:29 -04:00
Michael Hackstein 3b364897a1 Made replication-static test aware of MMFiles and gnore their options. 2017-04-28 17:40:13 +02:00
jsteemann 68bc8f46d8 make tests more robust 2017-04-28 16:26:36 +02:00
jsteemann a2db9ad886 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-04-28 14:28:54 +02:00
Michael Hackstein 3b3b3e9f52 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2017-04-28 14:25:43 +02:00
Michael Hackstein 9ec440d0c2 Moved tests for indexBuckets to MMFilesEngine only in dump_authentication. Not needed in RocksDB 2017-04-28 14:25:35 +02:00
Jan Christoph Uhde d76e85efea be more verbose in test 2017-04-28 14:23:16 +02:00
jsteemann a52a0f0a47 try to fix non-deterministic behavior in test 2017-04-28 13:13:30 +02:00
Andreas Streichardt 9ad98ad8d3 ahhh jslint 2017-04-27 17:16:52 +02:00
Andreas Streichardt ed98832f65 Add test to check waitForSyncReplication 2017-04-27 17:00:21 +02:00
Andreas Streichardt c47505d514 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2017-04-27 15:59:11 +02:00
jsteemann 3b48b6bd51 update safeResumeTick as well 2017-04-27 14:47:22 +02:00
mpv1989 75afe8e6ad Split tests to fix mac 2017-04-27 11:02:41 +02:00
jsteemann 8c52ccf6cf add experimental and undocumented flush option for fs.write 2017-04-26 14:52:42 +02:00
Frank Celler 34fb4768b5 Merge pull request #2401 from de3/devel
Fix result value from queue worker
2017-04-26 14:03:33 +02:00
Max Neunhoeffer 96615132e4 Port 3.1 fixes to devel, new test. 2017-04-26 10:19:05 +02:00
Max Neunhoeffer b6df2002e6 Port 3.1 fixes to devel, update tests. 2017-04-26 10:13:35 +02:00
Michael Hackstein e6aa022962 Fixed dump tests in cluster. MMFiles is working RocksDB gets into undefined state somewhere. 2017-04-26 09:36:01 +02:00
Dan Larkin 9dd275b497 Fixed dump/restore tests. 2017-04-25 13:54:56 -04:00
jsteemann 5209312f5d remove unused method call 2017-04-25 11:28:31 +02:00
Dan Larkin 107e6ab39d Merge branch 'devel' of github.com:arangodb/arangodb into devel 2017-04-24 22:27:23 -04:00
Dan Larkin d1933486da Removed non-applicable test case. 2017-04-24 22:26:58 -04:00
jsteemann 4300c77d3e fixes for non-array IN lookups, added tests 2017-04-25 01:47:07 +02:00
jsteemann 4d6c21f3c5 fixed issue #2450 2017-04-24 23:06:45 +02:00
Simon Grätzer 91fe0f01ea formatting 2017-04-24 15:55:21 +02:00
Jan Christoph Uhde 64ccf864a4 Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
* 'engine-api' of https://github.com/arangodb/arangodb:
  Adapted statistics in tests for SinlgeServer Traversal.
  Fixed JSLint
2017-04-24 15:01:26 +02:00
Jan Christoph Uhde dd3253a935 remove mmfiles specific test code for other engines 2017-04-24 15:00:21 +02:00
Michael Hackstein 54c857ed74 Adapted statistics in tests for SinlgeServer Traversal. 2017-04-24 13:22:42 +02:00
Michael Hackstein 6eab0b4f20 Fixed JSLint 2017-04-24 13:07:52 +02:00
Michael Hackstein 1d52eb8afe Adapted cluster-hash-index tests for RocksDB. 2017-04-24 12:45:21 +02:00
Michael Hackstein 851f772dc1 Fixed some counting/reporting for AQL statistics in Traverser. 2017-04-24 10:42:40 +02:00
jsteemann 1df46f8923 Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api 2017-04-21 16:59:32 +02:00
Kaveh Vahedipour d5a8269d57 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-04-21 15:47:09 +02:00
Kaveh Vahedipour 1f81ce28b0 merge in cpp & js from 3.1.18 yet to do tests 2017-04-21 15:41:05 +02:00
jsteemann dbe5aec4aa Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api 2017-04-21 15:31:13 +02:00
jsteemann efefb87d70 jslint 2017-04-21 15:30:53 +02:00
jsteemann 03585460a8 Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api 2017-04-21 15:28:45 +02:00
Wilfried Goesgens 3a1e65d53f add test whether append to NULL works 2017-04-21 15:23:54 +02:00
jsteemann 691dac7a73 Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api 2017-04-21 12:35:07 +02:00
Michael Hackstein e3beaaa8fc Added a test + fix for a Stackoverflow issue in Traversals and ShortestPath in AQL. This occured in the case where there are a lot of starting vertices in a row that do not have any paths attached to them. Fixes: #2445 2017-04-21 11:31:30 +02:00
Dan Larkin c8f87d0b62 Split dump test file (engine-specific values). 2017-04-20 17:12:15 -04:00
Michael Hackstein 9d621d1ffd Merge branch 'engine-api' of github.com:arangodb/arangodb into engine-api 2017-04-20 18:08:53 +02:00
jsteemann 296342b892 renamed a few tests 2017-04-20 17:21:34 +02:00
Michael Hackstein aed9a528fc Added WITH collection to ShortestPath-Tests 2017-04-20 17:18:46 +02:00
Michael Hackstein 3dc03d01b2 Merge branch 'engine-api' of github.com:arangodb/arangodb into engine-api 2017-04-20 16:35:34 +02:00
Michael Hackstein 4e54c7365b Adapted SHORTEST_PATH unittest to include WITH statements 2017-04-20 15:58:28 +02:00
jsteemann 60d39f4650 replication bugfixes 2017-04-20 15:20:22 +02:00
Simon Grätzer 95e8e2c5ea Jslint 2017-04-19 18:24:57 +02:00
Jan Christoph Uhde ddbfed8b34 Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
* 'engine-api' of https://github.com/arangodb/arangodb:
  formatting
  updated CHANGELOG
  fix shutdown issue, modernize thread creation a bit
  fixed memory allocation which resulted in an out of bounds read
  Fixing more all tests
  Initial partial implementation of replication contexts.
2017-04-19 17:27:36 +02:00
Jan Christoph Uhde 9736fe4b3f fix shell_server test - transactional insert/remove is slow for rocksdb 2017-04-19 17:26:50 +02:00
Simon Grätzer 97ffce3289 Fixing more all tests 2017-04-19 15:13:27 +02:00
Simon Grätzer ed46587d83 Fixed tests 2017-04-19 14:19:00 +02:00
Simon Grätzer 4b238df049 Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
# Conflicts:
#	js/server/tests/aql/aql-optimizer-collect-methods.js
2017-04-19 14:09:09 +02:00
Simon Grätzer 68386c3e73 Fixing tests 2017-04-19 14:08:18 +02:00
jsteemann ffabf3f78b jslint 2017-04-19 13:04:32 +02:00
jsteemann a0e9d3b67d renamed engine-specific test files 2017-04-19 13:00:34 +02:00
Simon Grätzer 51ad68746a Fixed collect methods 2017-04-19 11:29:40 +02:00
Simon Grätzer 78f890302a Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api 2017-04-19 10:48:43 +02:00
Simon Grätzer 578d229362 Fixed aql-hash test 2017-04-19 10:48:35 +02:00
jsteemann e9f9f155e2 Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api 2017-04-19 10:20:16 +02:00
Simon Grätzer dd7dd54ad1 Fixing aql query index optimizer 2017-04-19 10:16:19 +02:00
jsteemann 3389337f3a Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api 2017-04-19 09:02:58 +02:00
jsteemann d35fc8fc6a added test 2017-04-19 09:02:25 +02:00
jsteemann 5817b1b911 added test 2017-04-19 08:52:58 +02:00
Simon Grätzer a90b68e6ef Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api 2017-04-18 23:11:36 +02:00
jsteemann ac58b181bd fix recovery test for mmfiles engine 2017-04-18 22:20:18 +02:00
jsteemann 24b00a0744 unify test for engines 2017-04-18 22:01:24 +02:00
Simon Grätzer 26530d149a Fixed awl-queries-array 2017-04-18 18:40:29 +02:00
Simon Grätzer 73f8c970ef Fixing shell-transaction 2017-04-18 17:26:37 +02:00
Simon Grätzer c31d4c1590 Fixed iterator 2017-04-18 17:17:28 +02:00
Simon Grätzer 01e27b803f Starting AQL tests 2017-04-18 15:14:35 +02:00
Simon Grätzer a389dc0a92 Fixing geo + full text tests 2017-04-18 13:32:44 +02:00
Simon Grätzer bab71f6339 Fixing jslint errors 2017-04-18 12:15:26 +02:00
jsteemann 2cf48d1709 Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api 2017-04-18 11:33:16 +02:00
Michael Hackstein 57fbf418f0 Fixed scannedIndex values in traverser tests. It did not report the correct number of lookups required after modification for new Storage-Engine 2017-04-18 10:40:35 +02:00
Simon Grätzer e0e00b0b6b Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
# Conflicts:
#	arangod/RocksDBEngine/RocksDBEdgeIndex.cpp
2017-04-13 17:48:52 +02:00
Simon Grätzer 866d8b7451 Fixing tests 2017-04-13 17:45:16 +02:00
Michael Hackstein 1087065ea5 Merge branch 'devel' of github.com:arangodb/arangodb into engine-api 2017-04-13 17:34:25 +02:00
Simon Grätzer 3dc603ad1a Fixing last two recovery tests 2017-04-13 10:45:52 +02:00
Simon Grätzer 7610e0303b Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
# Conflicts:
#	js/server/tests/recovery/create-collections.js
2017-04-11 13:42:15 +02:00
Simon Grätzer e418bfca26 Fixing create collections 2017-04-11 13:41:05 +02:00
Jan Christoph Uhde 44bc73266a fix test 2017-04-11 13:35:19 +02:00
Kaveh Vahedipour 001c2b4092 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-04-11 11:46:40 +02:00
Kaveh Vahedipour 28fbf8ec12 sensitivityEstimates do not belong in Current 2017-04-11 11:46:20 +02:00
Simon Grätzer e2813114ea Merge conflict 2017-04-08 10:59:04 +02:00
Jan Christoph Uhde 56987e1ddd fix recovery tests 2017-04-07 16:52:51 +02:00
Max Neunhoeffer 53b3a73486 Add a timeout option to <collection>.drop().
This is in particular used to allow the Schmutz to make progress
in the case of a long running transaction.
2017-04-07 15:52:19 +02:00
Jan Christoph Uhde 4fe6906463 fix recovery tests 2017-04-07 15:38:23 +02:00
Simon Grätzer 3a0f31dcf6 Fixing more recovery tests 2017-04-07 12:31:00 +02:00
Simon Grätzer fa199f2239 Moved more tests 2017-04-07 11:56:23 +02:00
Simon Grätzer f0eec23f1e Fixing tests 2017-04-07 11:38:42 +02:00
Simon Grätzer 42a79ed1ac Fixing counter WAL parsing 2017-04-07 11:26:52 +02:00
jsteemann e42813dafb split some tests 2017-04-06 14:28:38 +02:00
jsteemann 049d633a24 fixed tests 2017-04-06 14:22:31 +02:00
jsteemann 6308615825 renamed test file 2017-04-06 11:21:17 +02:00
Dan Larkin 1d9366b1f1 Moved/split more tests. 2017-04-05 16:09:46 -04:00
Simon Grätzer 19f220726e Fixed dump setup 2017-04-05 17:43:38 +02:00
jsteemann ff38a5023f re-add index 2017-04-05 12:31:37 +02:00
jsteemann 78302d1766 make versionFilename() a property of the engine 2017-04-04 17:23:02 +02:00
jsteemann 949985dff1 report a path, make it restartable 2017-04-04 12:03:29 +02:00
jsteemann 8206afa0b1 re-enable index 2017-04-04 11:47:34 +02:00
Edi 32b150f7b1 add comment on update code 2017-04-04 11:01:22 +07:00
jsteemann d563eb432f Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api 2017-03-30 15:50:53 +02:00
jsteemann ddb83c8075 fixed issue #2404 2017-03-30 14:18:38 +02:00
Alan Plum 373eade2f9
Let ArangoDB handle the allow-credentials header 2017-03-30 13:08:37 +02:00
jsteemann 3ff4f15a19 Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api 2017-03-29 17:50:55 +02:00
mpv1989 59e000b743 Foxx: Fix CORS blowing up when headers are not set 2017-03-29 13:43:06 +02:00
jsteemann dcfd60f98c disable skiplist index for now 2017-03-29 12:37:44 +02:00
jsteemann f728fcdbb8 Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api 2017-03-29 02:41:00 +02:00
mpv1989 43cb5fc81b Merge branch 'feature/cors' into devel 2017-03-28 20:37:30 +02:00
mpv1989 f3ebf247b0 automatically add CORS response headers 2017-03-28 19:48:46 +02:00
jsteemann 40e4bba260 Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api 2017-03-28 14:03:53 +02:00
jsteemann 467307fd07 fixed issue #2400 2017-03-28 13:58:49 +02:00
jsteemann 888fd67ee6 Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api 2017-03-28 12:09:04 +02:00
Jan Christoph Uhde b5e760b1d3 Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
* 'engine-api' of https://github.com/arangodb/arangodb:
  move engine sources into their own cmake files
  Fixed exception because of hash index
  Fixed feature start order
  fix recovery test
  Edge index fixes
  remove alignas
  fix recovery test
  force recovery tests to fail when not compiled with failure-tests
  implement SLEEP() in C++
  remove useless and harmful adjustment (lowering) of file descriptors limit
  Windows: fix namespaces
  fix recovery tests
  slightly adjusted index creation
  Removed some alignas directives.
  alias boost to catch
  fix arangosh test
  start splitting testing.js into handy bits.
  start splitting testing.js into handy bits.
  start splitting testing.js into handy bits.
2017-03-28 12:01:24 +02:00
jsteemann bc7e7da9df dont create index for rocksdb only 2017-03-28 11:56:31 +02:00
Jan Christoph Uhde 155f131031 Avoid usage of hash index 2017-03-28 11:56:00 +02:00
Simon Grätzer 4174183ffa Fixed exception because of hash index 2017-03-28 11:29:52 +02:00
jsteemann cedee8ed02 fix recovery test 2017-03-28 10:46:56 +02:00
jsteemann 17c1a6db05 fix recovery test 2017-03-28 10:04:39 +02:00
Edi f88a0e9b1e Fix result value from queue worker 2017-03-28 08:05:06 +07:00
jsteemann dab48de61b Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api 2017-03-27 11:16:05 +02:00
Wilfried Goesgens f67ddb7bab split testcase to work around macos instabilities 2017-03-24 16:22:10 +01:00
jsteemann 7794350018 remove debug output 2017-03-24 14:18:00 +01:00
jsteemann a34a10f719 Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api 2017-03-24 12:27:09 +01:00
Simon Grätzer fbbc118160 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-03-24 11:04:38 +01:00
Simon Grätzer 39b2e349dd Pregel: Coverty Scan fixes 2017-03-24 11:04:15 +01:00
jsteemann dd86a50ca5 fix misleading init messages 2017-03-24 09:49:57 +01:00
Max Neunhoeffer 07216bb4e3 Add test for COLLECT bug. 2017-03-23 13:35:57 +01:00
jsteemann 5d82e260ff added test for issue #2392 2017-03-23 12:25:42 +01:00
Wilfried Goesgens 85f58b9a21 we may now also do 'milestone'-releases next to devel/alpha/beta/rc 2017-03-22 11:59:25 +01:00