1
0
Fork 0
Commit Graph

41619 Commits

Author SHA1 Message Date
Andreas Streichardt 27e6699be1 correct tempdir under windows 2017-08-31 18:36:05 +02:00
Simon Grätzer 829083099d Making foxx-queues test deterministic (#3172) 2017-08-31 18:33:27 +02:00
Simon Grätzer 88d01b89b5 Optimizations for Caches and Graph Traversals (#3169) 2017-08-31 18:33:10 +02:00
Andreas Streichardt 7d2ab6055f Merge with latest changes in improve-jenkins
stashing should work better now
2017-08-31 17:53:48 +02:00
Dan Larkin e2fdab431c Fix compiler warnings and needlessly failing catch tests. (#3171) 2017-08-31 17:27:25 +02:00
Wilfried Goesgens 524f02190c Merge pull request #3176 from arangodb/bugfix/testing_cleanup_ignore_existing_dirs
be more ignorant about existing or missing directories on startup / c…
2017-08-31 16:00:13 +02:00
Kaveh Vahedipour e808867ddc Bug fix/unordered map changes order in catch tests (#3175)
* order of free and free2 changed with use of unordered_multimap vs multimap

* fixing order independance for maps in catch tests fixed?

* missing bits and pieces
2017-08-31 15:58:48 +02:00
Wilfried Goesgens be8e04295d be more ignorant about existing or missing directories on startup / cleanup. 2017-08-31 15:42:37 +02:00
Wilfried Goesgens f7f9654ebb Merge pull request #3174 from arangodb/bug-fix/build-debian-packages
Bug fix/build debian packages
2017-08-31 13:23:29 +02:00
Jan Christoph Uhde b3c3106507 fix upgrade exit codes 2017-08-31 13:22:17 +02:00
Jan Christoph Uhde c9adcebfba fix postinst script of debian package 2017-08-31 11:24:00 +02:00
jsteemann 86db523e02 fix compile warning in non-maintainer mode 2017-08-30 15:14:16 +02:00
Andreas Streichardt 195da55e98 windows implementation was missing 2017-08-30 14:18:04 +02:00
Max Neunhöffer f3acea797b Feature/cluster inventory version (#3152)
* Get rid of a compiler warning in community edition.

* Teach /_api/replication/clusterInventory to report Plan/Version and readiness.

This is first implemented in the ClusterInfo library.
Then the clusterInventory code uses it and checks readiness.
Readiness of a collection means that it is created and all shards
and all replications have been created and are in sync.
2017-08-30 13:34:23 +02:00
jsteemann 5677baf561 fixed some MSVC warnings 2017-08-30 13:11:55 +02:00
Andreas Streichardt cc11155341 rename scripts 2017-08-30 12:23:56 +02:00
Andreas Streichardt c1c882c04a change to devel 2017-08-30 12:13:11 +02:00
jsteemann e7a606aee8 updated CHANGELOG 2017-08-30 12:04:45 +02:00
Kaveh Vahedipour 94e9744208 order of free and free2 changed with use of unordered_multimap vs multimap (#3168) 2017-08-30 11:39:08 +02:00
Jan 2f05b0ffeb jslint (#3167) 2017-08-30 11:28:51 +02:00
Wilfried Goesgens c662dfc863 Cleanup after each testrun (#3109)
* Cleanup after each testrun

 - add a success testsuite next to the fail testsuite
 - create temporary directories in the fail & success testsuites
 - add a function to cleanup the last unshifted directory
 - don't say we're crashed when exiting with the help message

* Specify temp path for SUT so its files will be removed after cleanup.

 - cleanup
 - don't use getTempFile(), it will create another subdirectory that we don't clean up afterwards...

* Fix temp path usage

 - creating a 'bundles' directory wherein we would keep our temporary bundle files would collide if we'd clean it up.
 - create 'bundles-tmpxxxx' instead so its individual to us and we can remove it when done without problems.

* properly create & pass in a temporary directory - as we now require this.

* Remove intermediate directory recursive - for some unknown reason there may be temp files created.

* we need to unify tempfilenames here too.

* use individual suite names

* use the standart performTests to run the backup tests - so we have the proper directory and server handling from the infrastructure.

* fix temporary directory handling in the recovery tests.

* script to build debugging debian packages

* Improve test shutdown

 - handle a set of options globally per testsuite, so they don't need to clone them inside.
 - properly cleanup the slave instance of the replication tests after each run.
 - The per testsuite options vector will fix the behaviour that after one failed testsuite
   all other suites won't be cleaned up anymore.

* don't call the overal cleanup if anything failed.

* fix cleaning up of directories.

* cleanup, fix directory creation / deletion / dummy creation.

* cleanup, fix directory creation / deletion / dummy creation.

* fix tempdir handling for the recovery tests
2017-08-30 10:48:24 +02:00
Jan Christoph Uhde 20e1a673fd Feature/planning 499 different error codes for version check (#3118)
* return different error codes for check-version

* Adds data file for exit codes that can be used by ArangoDB applications

* add some exit codes

* better return codes for centos

* add codes in arangod

* remove test code

* prevent re-downloading of starter and other small improvements

* fix some erros

* finish centos

* update urls

* add info about systemd detection

* move further towards a working systemd setup

* set service type to simple

* add arangodb-update-db script

* start work on debian packages

* a db dir that is already in place (former installation) should be reused now

* fix minor bugs

* Implement exit code translation in the windows installer.

* add autogenerated NSIS exit code mapping
2017-08-30 10:47:31 +02:00
Simon Grätzer 885ea3dd5f Remove attribute option for arangoimp (#3141)
* Adding a remove attribute option to arangoimp (only for csv)

* Adding documentation

* Fixed log statement

* Update CHANGELOG
2017-08-30 10:45:02 +02:00
Kaveh Vahedipour 00650e6a3f Bug fix/agency mt fixes (#3158)
* added debugging methods

* try to fix invalid access in case of error

* remove unused members

* bugfixes and comments

* all agency fixes in

* merge bug

* partially unguarded Agent::lead fixed

* all agency fixes in

* added nrBlocked to thread startup eval

* added nrBlocked to thread startup eval

* recombination of cases in State::get

* some maps replaced with unordered_maps

* optimized maps some
2017-08-30 10:43:51 +02:00
Wilfried Goesgens 73055db6b6 When the user entered non-matching passwords, we need to go back two steps so he can re-enter the first password too. (#3155) 2017-08-30 10:42:10 +02:00
Dan Larkin 6a068d062e Changed some tasks to post through Scheduler instead of directly. (#3159) 2017-08-30 10:41:41 +02:00
Jan 1ace247273 Bug fix/scheduling et al (#3161)
* added V8 context lifetime control options `--javascript.v8-contexts-max-invocations` and `--javascript.v8-contexts-max-age`

* make thread scheduling take into account most of the tasks dispatched via the io service
2017-08-30 10:40:02 +02:00
Andreas Streichardt ec2191cad4 Proper defaults 2017-08-29 17:57:43 +02:00
Andreas Streichardt 44012c28b5 Failed regex 2017-08-29 17:51:01 +02:00
Andreas Streichardt 8f5d237005 rename 2017-08-29 17:47:50 +02:00
Andreas Streichardt c026b727a4 no more real 2017-08-29 17:47:08 +02:00
Andreas Streichardt 68e220fd55 Publish a basic but hopefully working pipeline 2017-08-29 17:29:07 +02:00
Jan 409ed9dab1 dont sleep at start (#3164) 2017-08-29 16:54:51 +02:00
Jan c29a2745d2 Bug fix/fixes 2808 (#3156)
* fixed jslint warnings

* fix undefined behavior

* move check into if, so check tools do not complain
2017-08-28 15:16:41 +02:00
Dan Larkin 18e8c19271 Improvements to CachedValue internals and handling. (#3126)
* Added checks everywhere for CachedValue::construct.

* Enforce 16MiB limit on keys and 4GiB limit on values.

* Protected members behind function calls in anticipation of format change.

* Shrunk CachedValue struct.

* Fixed alignment of CachedValues.

* Fixed improper comparison.
2017-08-28 15:07:16 +02:00
Simon Grätzer 2bc6a71d48 Fixing error reporting in arangoimp (#3153) 2017-08-28 15:04:45 +02:00
Wilfried Goesgens d0f159e848 Don't use global static variables as collection caches - this may cau… (#3150)
* Don't use global static variables as collection caches - this may cause troubles.

* cleanup: remove old cluster kickstarter UI remaints.

* cleanup - remove references to long gone tests
2017-08-28 15:04:05 +02:00
Michael Hackstein 24f6827ef9 Added a more descriptiove documentation about ArangoRestore when using authentication and UserManagement. As required by: #3023 (#3148) 2017-08-28 15:02:49 +02:00
Michael Hackstein 0f1b6e32eb Bug fix/issue 3106 orphans in general graph (#3147)
* Added a test-case for #3106

* Added a fix for #3106
2017-08-28 15:02:15 +02:00
Kaveh Vahedipour 34e303ebae added resilience to pipelince for cluster tests (#3140) 2017-08-28 15:00:24 +02:00
Kaveh Vahedipour 4c94a1c8ab fixed a bug in create collection in cluster, where transaction result was not checked for success before access (#3137) 2017-08-28 14:58:26 +02:00
Mark d611414682 Fix HTTP Foxx API Json parsing (#3129) 2017-08-28 14:55:13 +02:00
Dan Larkin 02990540d9 Report proper error for arangoimp create collection failure. (#3127) 2017-08-28 14:54:23 +02:00
Michael Hackstein 4674db78e1 Bug fix/foxx queue auth (devel) (#3122)
* Add Foxx queue authentication test

* Fixed runAsUser in Foxx queues. In the successful case there was always a silent error thrown...
2017-08-28 14:49:52 +02:00
Heiko 696bd7357b fixed wrong ui cluster health information (#3151) 2017-08-28 14:44:32 +02:00
Wilfried Goesgens 7d72f13b0f Merge pull request #3139 from arangodb/bugfix/docu_forward_node_modules_reference
handle the NODE_MODULES_DIR via a global variable.
2017-08-25 15:57:04 +02:00
Wilfried Goesgens 1f5fa6fec4 handle the NODE_MODULES_DIR via a global variable. 2017-08-25 15:56:33 +02:00
Wilfried Goesgens 0058a193fc Merge pull request #3138 from arangodb/feature/split_join_loglines_in_conjunction2
cleanup our workplace before we do a distbuild
2017-08-25 14:19:32 +02:00
Wilfried Goesgens 840e2d3151 cleanup our workplace before we do a distbuild 2017-08-25 14:18:38 +02:00
Jan 14389e856d remove obsolete, dysfunctional endpoints (#3135)
according to the manual and CHANGELOG we should have removed these endpoints in 3.0 already...
2017-08-25 14:00:34 +02:00