1
0
Fork 0
Commit Graph

1433 Commits

Author SHA1 Message Date
Kaveh Vahedipour 1c9de86318 isWatch no longer needed after move to arangodb agency 2016-12-16 12:28:11 +01:00
Kaveh Vahedipour 0df8e4e2cd isWatch no longer needed after move to arangodb agency 2016-12-16 12:26:27 +01:00
Kaveh Vahedipour 8251cd46e1 cannot depend on Slice.getDouble 2016-12-15 15:23:45 +01:00
Kaveh Vahedipour 9ab9f17cd1 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-12-14 12:12:16 +01:00
Kaveh Vahedipour a7f88840e7 Fixed redirect issues in AgencyComm 2016-12-14 12:12:00 +01:00
jsteemann 4d76ef962b added count(details = true) for sharded collections 2016-12-13 16:03:49 +01:00
Kaveh Vahedipour 842d1030f0 Fixed dangling UUID problem in missing database directory 2016-12-13 15:36:19 +01:00
jsteemann b96897e296 fixed some issues detected by coverity build tool 2016-12-12 15:41:54 +01:00
Jan Steemann ad4ba248a5 try to fix travis build 2016-12-12 08:49:59 +01:00
jsteemann b9545343d1 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-12-09 21:50:32 +01:00
jsteemann f0a4d69b69 use bulk allocator for index elements 2016-12-09 21:40:49 +01:00
jsteemann 995b47fa8d remove unused code 2016-12-09 17:16:58 +01:00
Kaveh Vahedipour 2b9c018817 fixed resilience 2016-12-09 16:35:32 +01:00
Andreas Streichardt 82682f8d25 Wait for synchronous replication to settle 2016-12-07 18:38:15 +01:00
Andreas Streichardt 10f7d75651 Fix uniform shard distribution when creating collections 2016-12-07 18:38:15 +01:00
Max Neunhoeffer 9746f6c7ad Finally fix condition for coordinator bootstrap. 2016-12-07 16:23:54 +01:00
Andreas Streichardt 11bd9381d5 Add satellite collections 2016-12-06 16:40:50 +01:00
Max Neunhoeffer 2187d91ca0 Set timeout to wait for >1 DBserver back to 30 temporarily. 2016-12-06 11:31:31 +01:00
Max Neunhoeffer 7455c619ee Increase timeout a coordinator waits for dbservers to show up. 2016-12-02 10:59:21 +01:00
Kaveh Vahedipour 3518fb1319 AgencyComm: validation defined in transactions 2016-11-28 16:09:55 +01:00
Kaveh Vahedipour 66951980b6 too much verbosity\! 2016-11-28 09:37:42 +01:00
Kaveh Vahedipour 308545ce79 gcc 4.9.2 problem with move/copy ifstream/ofstream 2016-11-25 16:48:46 +01:00
Kaveh Vahedipour 029ff44bb0 Merge back FMH to devel 2016-11-25 16:03:13 +01:00
Kaveh Vahedipour 4a95e82fa6 ShortName for servers in new ugly UUID world 2016-11-25 15:25:51 +01:00
jsteemann 9e4bb8f20c remove unused variable 2016-11-25 14:33:20 +01:00
Kaveh Vahedipour 41e1ba144f general transactions in agency comm 2016-11-25 09:24:41 +01:00
Andreas Streichardt cfa46180e5 Remove useless variable 2016-11-24 15:22:43 +01:00
kvahed 29b9d9836b Agent configuration raised version number regardless of actual change 2016-11-24 14:20:08 +01:00
Kaveh Vahedipour 9733dcc724 Looks as if cluster.my-local-info and cluster.myid are for the past 2016-11-22 17:48:04 +01:00
Kaveh Vahedipour ab34880bea Merge remote-tracking branch 'origin/devel' into FMH 2016-11-22 10:30:25 +01:00
Andreas Streichardt 02eb298f0c extra startup check: enforce that the user set a jwt-secret when running in cluster mode with authentication enabled 2016-11-18 16:15:09 +01:00
Kaveh Vahedipour f553f3460e unique identifiers in cluster ids 2016-11-18 15:28:23 +01:00
Kaveh Vahedipour 22c344336c debugging slow response in agencycomm 2016-11-17 16:30:37 +01:00
Kaveh Vahedipour a8339e5b4c Merge remote-tracking branch 'origin/devel' into FMH 2016-11-17 16:21:38 +01:00
jsteemann 1566654fae on --help print that an option is obsolete 2016-11-17 16:14:28 +01:00
Andreas Streichardt 8ac79712a0 remove --cluster.password and username 2016-11-17 15:29:23 +01:00
Kaveh Vahedipour ffe7f9f3ad merged in devel 2016-11-16 14:59:53 +01:00
jsteemann 77e2cf5a65
fix passing of special chars in URLs in cluster
- this sets option CURLOPT_PATH_AS_IS to keep ".." and other special components in paths
- this also changes the behavior of StringUtils::urlEncode() to always encode the "."
  character to "%2e"
2016-11-15 15:46:22 +01:00
jsteemann 68c15ebc9e
do not url-decode paths eagerly 2016-11-15 15:46:21 +01: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 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 07cddc3560 Waiting for leader election in AgencyComm::sendWithFailover 2016-11-03 14:24:23 +01:00
Kaveh Vahedipour 8b99d8995a Fix unfinished gossips 2016-11-02 11:36:57 +01:00
jsteemann cfc9ecd198 fix Visual Studio complaints 2016-10-31 09:59:18 +01:00
jsteemann 7efabd3706 fix revision id handling 2016-10-28 13:44:55 +02:00