1
0
Fork 0
Commit Graph

41619 Commits

Author SHA1 Message Date
Frank Celler 9fe558ed5f Bug fix/localhost mapping (#3312)
* use 127.0.0.1 instead of [::1]
2017-09-21 21:28:47 +02:00
Wilfried Goesgens 83f7903713 Fix temporary directory handling (#3259)
* Fix temporary directory handling

On linux we create a sub directory under the temp directory with our own name and a unique id.
On windows we would only return the configured system temporary directory and not create a subdirectory.
This PR makes windows behave similar to linux.

* Cleanup windows implementation of locating the base temp path

 - don't try to create a temporary file. The calling function will try anyways and fail then.
 - properly check for unsupported characters and bail out.

* changelog

* fix c++ string handling

* remove double directory separators, so later on JS_RemoveRecursiveDirectory() won't trip over them
2017-09-21 10:59:43 +02:00
Wilfried Goesgens d3d524c49c Documentation/fix cookbook index (#3300)
* fix links and formatting in the index

* add check for Headlines broken in the github render ergine

* fix headlines
2017-09-21 10:30:32 +02:00
Wilfried Goesgens a1f217b323 fix windows warning (#3277) 2017-09-21 10:27:42 +02:00
Jan e8ef1a21b6 fix some issues found by coverity code scan (#3256) 2017-09-21 10:26:59 +02:00
Jan b4e5132572 fix dropping of system collections and retrieving list of user databa… (#3304)
* fix dropping of system collections and retrieving list of user databases in cluster

* fix MSVC compile warnings
2017-09-21 10:05:46 +02:00
Wilfried Goesgens fbfd3491fb Documentation/migrate cookbook devel 32 (#3290)
* migrate the Cookbook into the ArangoDB core repository

* make cookbook links local
2017-09-20 13:40:50 +02:00
Frank Celler 3e64024add fixed cleanup of docker build 2017-09-20 08:53:11 +02:00
Frank Celler 8b975c670c Feature/jenkins pipeline (#3293) 2017-09-20 00:13:33 +02:00
m0ppers e7e3852e0b Feature/branch docker images (#3269)
* Docker images
2017-09-20 00:10:41 +02:00
Jan dba4b90754 cleanup a few cases of fatal errors (#3274)
* cleanup a few cases of fatal errors

* fix multiple compile errors (my bad)

* fixed missing brace
2017-09-19 21:58:21 +02:00
Jan 4a648a68c1 fix buffer overrun (#3292) 2017-09-19 21:57:32 +02:00
Jan 43e0fd318e Bug fix/fixes 1909 (#3285)
* remove TRI_ERROR_INTERNAL usage

* prevent assertion failure from occurring

* ensure downwards-compatibility for explain handler

* allow schmutz to drop system collections as well - needed for arangojs tests
2017-09-19 21:56:32 +02:00
Wilfried Goesgens 2c29822afe if we successfully deleted the directory don't re-attempt. (#3288) 2017-09-19 18:16:04 +02:00
Wilfried Goesgens baa7217432 port 7d6f146530e8cfd6d923a3f0a8a0aaa8668ad06d - wait for queue to be actually run. (#3287) 2017-09-19 18:14:16 +02:00
Frank Celler 808749f3bd Fix Foxx queue test (#3286) 2017-09-19 14:24:47 +02:00
Wilfried Goesgens 5327e0d967 output directory name concerned in exception (#3275)
* output directory name concerned in exception
2017-09-19 12:18:58 +02:00
Wilfried Goesgens adeb926065 Work around windows processes not releasing resources (#3284)
- add retry for cleanup when deleting of directory fails
- if we fail 5 times, let the final cleanup handle it.
2017-09-19 12:17:50 +02:00
Jan 0733c04101 remove art (#3282) 2017-09-19 09:55:29 +02:00
Mark e48a4e85d0 Foxx docs improvements (devel) (#3279)
* Document single file in Foxx

* Add docs install Foxx service
2017-09-18 14:58:36 +02:00
Jan 0a71b54e1f fix out-of-bounds attribute accessor calls (#3273) 2017-09-18 14:01:06 +02:00
Frank Celler f8fa46a00f run all tests in devel 2017-09-17 22:20:42 +02:00
Frank Celler b5916f24fe Feature/jenkins pipeline (#3272)
* raised timeout for mac

* error message

* fixed typo in skipNonDeterministic => skipNondeterministic

* fixed catch tests in Windows

* fixed cores

* clean old files
2017-09-17 22:15:58 +02:00
Heiko 3390462cba ui: added replicationFactor option during SmartGraph creation. (#3267) 2017-09-17 22:07:47 +02:00
Frank Celler 435383e2c3 set BRANCH_NAME for devel job 2017-09-16 23:22:06 +02:00
Frank Celler 2175ac9c15 dump environment 2017-09-16 23:17:56 +02:00
Frank Celler c4484e7a7c Feature/jenkins pipeline (#3271)
* fixed core lookup
2017-09-16 12:39:34 +02:00
Kaveh Vahedipour 3700f75b0c State has to keep log for removeConflicts and acoording log all the way (#3249) 2017-09-16 12:20:47 +02:00
Frank Celler 111c826026 Bugfix/modify document coordinator (#3266)
* Fixed ModifyDocument on coordinator. It uses the internally optimized function to extract _key values, which fails on Compact objects

* do not crash server when passing invalid document key type
2017-09-15 22:49:20 +02:00
m0ppers f0ae3d3de7 Bug fix/uaf communicator request abort (#3216)
* Fix abortion of requests

* Fix progress callback
2017-09-15 22:42:30 +02:00
Frank Celler 02014da684 Feature/jenkins pipeline (#3262)
* raised timeout for mac

* echo error message

* fixed typo in skipNonDeterministic => skipNondeterministic
2017-09-15 15:42:42 +02:00
Wilfried Goesgens 0faf9be695 Feature/compaction configuration (#3217)
* make the different values influencing the compaction run configurable

* Compaction statistics handling

 - we mustn't keep the number of dead objects on the compacted datafiles statistics, else it will be compacted again.
 - keep statistics of the compaction runs on the DatafileStatistics object
 - add the new statistics on DatafileStatistics to the figures api
 - implement test that assures only one compaction is run, and the statistic values are maintained

* don't mention the version number

* Implement review

 - fix documentation
 - allow 0 maxfiles to enable users to disable combined of datafiles
 - add statistic element that counts the number of combined datafiles

* Implement review

 - fix documentation
 - use locks to make statistic values consistent.
 - fix typo in variable name

* fix temporary variable unnecessary.

* changelog
2017-09-15 14:37:30 +02:00
Jan 8a9b4cd9df fix Slice::findDataOffset for compact arrays and objects (#3257) 2017-09-15 14:35:30 +02:00
Jan b9d48a4304 use forwarding to build AqlValues in place (#3238) 2017-09-15 14:30:40 +02:00
Kaveh Vahedipour 3f796f5f55 Allow for build-docker.sh to build with maintainer mode if needed. This is done for the go driver tests. (#3254) 2017-09-15 14:24:02 +02:00
Michael Hackstein 0d522a6136 Fixed ModifyDocument on coordinator. It uses the internally optimized function to extract _key values, which fails on Compact objects (#3258) 2017-09-15 14:23:04 +02:00
Wilfried Goesgens 2833bd6185 Bugfix/cleanup graphs (#3250)
* when running against an external server also setup the proper connection

* cleanup grahs after testing
2017-09-15 14:20:21 +02:00
Frank Celler d541109042 trying to fix include path (#3263) 2017-09-14 21:21:22 +02:00
Wilfried Goesgens eb221d97e6 mention howto use indices for joins (#3229) 2017-09-13 17:45:45 +02:00
Heiko a03a86fe46 fixed wrong selection of the database inside the internal cluster js api (#3202) 2017-09-13 17:19:18 +02:00
Jan 5165155ed1 Bug fix/fixes 0609 (#3227)
* do not use V8 variant of AQL functions in early optimization stage when a C++ variant is available

* additionally, simplify AQL function definitions and aliases

* warn when more than 90% of max mappings are in use

* added C++ variant of replication catchup

* added `--log.role` option

* updated CHANGELOG

* removed non-existing scheduler.threads option from config

* removed useless __FILE__, __LINE__ invocations

* updated CHANGELOG

* allow a priority V8 context

* remove TRI_CORE_MEM_ZONE

* try to fix Windows errors & warnings

* cleanup

* removed memory zones altogether

* exclude system collections from collection tests
2017-09-13 16:28:21 +02:00
Jan e1a1427c1e remove shell-database.js from git again, and apply modifications to shell-database.js.in (#3248) 2017-09-13 09:49:05 +02:00
Jan dc46c9db07 more logging so we can find a specific bug (#3247) 2017-09-13 09:19:50 +02:00
m0ppers caac5c64b9 gitignores would include snappy.*/build-tests and jemalloc (#3242)
* gitignores would include snappy.*/build-tests and jemalloc

* Remove general log ignore (matched v8/v8/log-inl.h)

* some boost stuff is named core
2017-09-13 09:17:27 +02:00
jsteemann f8d8a561a4 fix various issues 2017-09-13 09:03:28 +02:00
Wilfried Goesgens 2554718122 Merge pull request #3246 from arangodb/bugfix/cleanup_collections4
Bugfix/cleanup collections4
2017-09-13 00:03:38 +02:00
Wilfried Goesgens 9457395b80 workaround cluster not allowing to drop system collections 2017-09-13 00:02:30 +02:00
Wilfried Goesgens b41cfac17c cleanup 2017-09-13 00:00:32 +02:00
Wilfried Goesgens bea6d4f624 Merge pull request #3245 from arangodb/bugfix/unittest_cleanup_check3
fix cleanup
2017-09-12 19:33:21 +02:00
Wilfried Goesgens c18d35dbf0 fix cleanup 2017-09-12 19:32:34 +02:00