1
0
Fork 0
Commit Graph

11774 Commits

Author SHA1 Message Date
jsteemann fb7490edb2 don't increase number of index results for unique indexes 2016-11-15 10:29:02 +01:00
Jan Steemann 19f771fcd6 issue #2168 2016-11-14 17:30:19 +01:00
jsteemann ecaf2fd16b when querying edge index selectivity, pass attribute name (i.e. _from, _to) so the selectivity of the correct index part can be returned 2016-11-11 11:01:04 +01:00
jsteemann fcacd76bca display index usage of traversals in AQL explainer output (previously missing) 2016-11-10 12:49:02 +01:00
Wilfried Goesgens 55ce25ac83 Fix release build for autogenerated files
- detect programms required for generating files as maintainer-build-dependency
  - add target to cleanup autogenerated files
  - make cleane build clean & regenerate autogenerated files.
  - crlf transcode the readmes during the installation phase - not build.
2016-11-09 16:57:14 +01:00
jsteemann ad93f8f5ad oops 2016-11-09 16:42:51 +01:00
Jan Steemann bd2800c226 issue #2158: fix error message in case arangoimp fails because of inter-server communication failures/timeouts etc. 2016-11-09 15:19:58 +01:00
jsteemann da2aa24703 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-11-09 14:46:56 +01:00
jsteemann ab4933c994 performance optimizations 2016-11-09 14:46:50 +01:00
Jan Steemann c9e443a845 preserve hlc values across restarts 2016-11-09 09:34:51 +01:00
Jan Steemann cb4a471dfd Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-11-09 08:26:20 +01:00
Jan Steemann b0119bb652 issue #2149, issue #2159
do not overwrite CORS response headers set by Foxx application with hard-coded default values
2016-11-09 08:25:45 +01:00
jsteemann cb774beacf Revert "remove unused ctor"
This reverts commit 565009db68.
2016-11-08 17:01:58 +01:00
jsteemann 565009db68 remove unused ctor 2016-11-08 16:46:22 +01:00
Jan Steemann f0f90bc914 small fixes for traversal explain output 2016-11-08 16:08:58 +01:00
Jan Christoph Uhde 2dc309db38 make protocol switching less verbose 2016-11-08 15:18:50 +01:00
Max Neunhoeffer 84f4b250d1 Try to fix gmtime_r usage on Windows. 2016-11-08 13:23:48 +01:00
Jan Steemann 8b4e86b0d0 version detection fixes 2016-11-08 11:25:57 +01:00
Max Neunhoeffer 0ac4ec6ddf Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2016-11-08 10:36:42 +01:00
Max Neunhoeffer 25c3f8b0e3 Fix DECODE_REV. 2016-11-08 10:36:18 +01:00
Jan Steemann 5324a6bbe8 fix _rev handling when creating collections 2016-11-08 10:29:53 +01:00
Max Neunhoeffer 6d5f70b6f4 Add a global DECODE_REV function in JS. 2016-11-08 10:25:35 +01:00
Frank Celler a1003cb5d3 cosmetics 2016-11-07 17:20:56 +01:00
Kaveh Vahedipour 1c3e8c1205 Supervision gracePeriod shorter 2016-11-07 10:12:13 +00:00
jsteemann 5f65a9ed4f allow more control over handling of pre-3.1 _rev values
this changes the server startup option `--database.check-30-revisions` from a boolean (true/false)
parameter to a string parameter with the following possible values:

- "fail":
  will validate _rev values of 3.0 collections on collection loading and throw an exception when invalid _rev values are found.
  in this case collections with invalid _rev values are marked as corrupted and cannot be used in the ArangoDB 3.1 instance.
  the fix procedure for such collections is to export the collections from 3.0 database with arangodump and restore them in 3.1 with arangorestore.
  collections that do not contain invalid _rev values are marked as ok and will not be re-checked on following loads.
  collections that contain invalid _rev values will be re-checked on following loads.

- "true":
  will validate _rev values of 3.0 collections on collection loading and print a warning when invalid _rev values are found.
  in this case collections with invalid _rev values can be used in the ArangoDB 3.1 instance.
  however, subsequent operations on documents with invalid _rev values may silently fail or fail with explicit errors.
  the fix procedure for such collections is to export the collections from 3.0 database with arangodump and restore them in 3.1 with arangorestore.
  collections that do not contain invalid _rev values are marked as ok and will not be re-checked on following loads.
  collections that contain invalid _rev values will be re-checked on following loads.

- "false":
  will not validate _rev values on collection loading and not print warnings.
  no hint is given when invalid _rev values are found.
  subsequent operations on documents with invalid _rev values may silently fail or fail with explicit errors.
  this setting does not affect whether collections are re-checked later.
  collections will be re-checked on following loads if `--database.check-30-revisions` is later set to either `true` or `fail`.

The change also suppresses warnings that were printed when collections were restored using arangorestore, and the restore
data contained invalid _rev values. Now these warnings are suppressed, and new HLC _rev values are generated for these documents
as before.
2016-11-04 23:17:01 +01:00
Michael Hackstein 1c34e0e14b Merge branch 'devel' of github.com:arangodb/arangodb into devel 2016-11-04 18:15:35 +01:00
Michael Hackstein a7f63b3a53 Removed dead code of TraverserExpressions. They have been replaced by native AQL expressions everywhere. 2016-11-04 18:15:04 +01:00
Kaveh Vahedipour 62492195e9 Recapsulating MUTEX in key value Store 2016-11-04 11:42:08 +01:00
Jan Steemann 9f101ae20f do not prefer primary indexes in that many situations 2016-11-03 17:40:17 +01:00
Kaveh Vahedipour 8185588bb2 double percision conserved for timeout in AgencyComm 2016-11-03 16:47:38 +01:00
Kaveh Vahedipour d35c6d6dce local databases lookups up 2 keys in agency with checks on both 2016-11-03 15:34:41 +01:00
Frank Celler f54f0e5db1 minor typo 2016-11-03 13:42:15 +00:00
Kaveh Vahedipour ea485b98f2 ltries not incremented 2016-11-03 14:25:53 +01:00
Kaveh Vahedipour 95c177c30c Waiting for leader election in AgencyComm::sendWithFailover 2016-11-03 14:24:45 +01:00
Kaveh Vahedipour 07cddc3560 Waiting for leader election in AgencyComm::sendWithFailover 2016-11-03 14:24:23 +01:00
Kaveh Vahedipour ea4bdd2793 min RAFT timeout estimation a little more conservative 2016-11-03 12:21:36 +01:00
Kaveh Vahedipour 34cd8779ea Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-11-03 11:19:09 +01:00
Kaveh Vahedipour 9e170e8021 version update after return statement 2016-11-03 11:18:50 +01:00
Michael Hackstein e8fcda252b Merge branch 'devel' of github.com:arangodb/arangodb into devel 2016-11-03 10:55:43 +01:00
Michael Hackstein c6f31091bc In the properties of a collection now distributeShardsLike is contained. 2016-11-03 10:55:22 +01:00
Kaveh Vahedipour 266ee69535 less noisy inception: only updated configurations are gossipped. avoid multiple reports 2016-11-03 10:27:43 +01:00
Kaveh Vahedipour cdd9550637 less noisy inception: only updated configurations are gossipped. avoid multiple reports 2016-11-03 10:23:48 +01:00
Jan Steemann 8e80562268 try to fix compile warning 2016-11-03 10:17:39 +01:00
Jan Steemann a83b7bd3ca Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-11-03 10:02:19 +01:00
Jan Steemann d0572ceb24 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-11-03 09:57:57 +01:00
Jan Steemann 4e18eefa4e try to fix compile warning 2016-11-03 09:57:14 +01:00
jsteemann 68317bb4f2 added experimental `REGEX_REPLACE` AQL function 2016-11-03 00:40:19 +01:00
jsteemann 36f49d7f2c prefer user-defined unique indexes on multiple attributes over primary index 2016-11-02 23:20:26 +01:00
jsteemann 2fdf65c3a4 a bit of index cleanup 2016-11-02 22:44:06 +01:00
jsteemann 123ecf82b5 more details for API that describes internals of AQL functions 2016-11-02 21:37:35 +01:00