1
0
Fork 0
Commit Graph

15778 Commits

Author SHA1 Message Date
Simon 8597708b3b Fix intermediate commits (#6039) 2018-08-06 17:15:02 +02:00
Jan 40edf3150e
fixed issue #6076: Segmentation fault after AQL query (#6081) 2018-08-06 14:27:07 +02:00
jsteemann aabddb7c28 rename attribute to "engine" for consistency 2018-08-03 11:08:13 +02:00
Dan Larkin-York fc7976b92d Register version and storage engine info in agency to facilitate rolling upgrades (#6062) 2018-08-03 09:46:42 +02:00
Jan Christoph Uhde 1ffcfd63ba fix timeout issue next try: no subquery nodes on dbservers (#6036) 2018-08-03 09:43:35 +02:00
Jan 0660044448
fixed issue #6031: Broken LIMIT in nested list iterations (#6032) 2018-08-01 08:29:57 +02:00
Matthew Von-Maszewski 2ae7b78fa9 add bool option rocksdb.debug-logging to easily enable rocksdb logging (#6012) 2018-07-30 14:30:49 +02:00
Wilfried Goesgens ccc339ca46 Feature 3.3/forward compatible sync (#6001) 2018-07-30 08:55:26 +02:00
Jan ff856e7d1a
turn off RocksDB sync thread on Windows (#6002) 2018-07-26 16:48:32 +02:00
Jan Christoph Uhde 7c63c0e2fc bug-fix-3.3/double-modification-bug (#5981) 2018-07-25 18:26:02 +02:00
Jan e266efdf96
fixed issue #5977: Unexpected execution plan when subquery contains COLLECT (#5983) 2018-07-25 17:33:45 +02:00
Jan dc5f6b89d6
replication improvements (#5958) 2018-07-25 12:49:24 +02:00
Tobias Gödderz b91d22d97d [3.3] Bugfix: Fix `_rev` handling in `UPDATE`/`REPLACE` `WITH` clauses (#5967) 2018-07-25 12:28:16 +02:00
Jan 761621ec56
make AQL in 3.3 somewhat forward-compatible with 3.4 (#5907) 2018-07-25 09:13:52 +02:00
Jan 03933e6e02
Speed up `db.<collection>.any()` for the RocksDB storage engine (#5934) 2018-07-24 18:03:22 +02:00
Jan cd45d348e4
Merge branch '3.3' into bug-fix-3.3/fix-geo-index-oom 2018-07-24 12:13:14 +02:00
Dan Larkin-York 1897fd029f Add load balancing support to cursor API in 3.3 (#5797) 2018-07-24 09:56:40 +02:00
Tobias Gödderz 209e53aaf7 [3.3] Bugfix: Add missing plan version increments in repair-distributeShardsLike (#5952)
* Added missing plan version increments. Taken from #5649.

* Fix test: increase plan version after changing the plan
2018-07-24 09:14:08 +02:00
jsteemann 84dc409ecf make shard key change check not start extra HTTP requests 2018-07-23 11:32:51 +02:00
Max Neunhoeffer 94ba83ae90 Keep failed follower in followers list in Plan. 2018-07-23 11:24:49 +02:00
Wilfried Goesgens 315d23d03d Feature 3.3/backport openssl windows (#5892) 2018-07-20 17:23:27 +02:00
jsteemann 3a93f56782 do not log closing of connections in level warning 2018-07-20 16:37:49 +02:00
Simon 25ceed2c40 keep replication batches alive for longer (#5931)
* keeping replication batches alive for longer

* fix timeouts, fix revisions

* honor force in gc
2018-07-20 11:16:48 +02:00
jsteemann 3a6737e37a reset force32mode attribute 2018-07-19 22:57:48 +02:00
Jan 1b8d8e728b
fix Unix domain socket connections (#5913) 2018-07-19 14:56:34 +02:00
Kaveh Vahedipour 5e104f53be Feature 3.3/add engine statistics and data size (#5908) 2018-07-19 11:18:43 +02:00
Kaveh Vahedipour 3991525eea compaction index should not go beyond own log index ever (#5899) 2018-07-17 15:54:44 +02:00
Kaveh Vahedipour 773a4a231c Bug fix 3.3/mv faster agency gossip (#5422)
* backport of multiplier + version interaction bug from devel
* change log order
2018-07-16 15:08:48 +02:00
Kaveh Vahedipour c1d671dcb9 Bug fix 3.3/agency better log compaction (#5098)
* agency's log compaction according to internal issue #2249
2018-07-16 12:12:05 +02:00
Wilfried Goesgens dae3c25757 Bug fix 3.3/multipart with quotes (#5866) 2018-07-13 14:09:39 +02:00
Matthew Von-Maszewski 225095d762 BugFix 3.3: adjust SetThrottle() to only call GetDelayToken() first time. (#5854)
* adjust SetThrottle() to only call GetDelayToken() first time.  Each call disrupts throttle timing.

* add ChangeLog entry
2018-07-12 20:01:41 +02:00
Kaveh Vahedipour 73cf95166c backport devel fix for lastConfirmed bug fix (#5743) 2018-07-11 11:28:18 +02:00
Kaveh Vahedipour bc8e73fce0 agent can now join with disaster-recovery-id and changed endpoint (#5828) 2018-07-11 11:24:36 +02:00
Jan 5c20d44edf
fix issue #5727: Edge document with user provided key is inserted as many times as the number of shards, violating the primary index (#5821) 2018-07-10 16:08:28 +02:00
Jan c21d2d46cd
Bug fix 3.3/fix hangs (#5805) 2018-07-10 13:52:58 +02:00
Jan Christoph Uhde d536109760 propagate replication error messages (#5785) 2018-07-09 09:02:38 +02:00
Frank Celler c87d95f72b fixed wrong logging test for http-request-body 2018-07-05 11:35:30 +02:00
Michael Hackstein 131114292b Bug fix/internal issue 2658 (#5760) 2018-07-04 21:51:24 +02:00
Jan aae69eae5d
restrict translation of globally unique ids to names to 3.3 master servers (#5720) 2018-06-29 10:54:54 +02:00
Jan fdcb9df17c
honor "restrictType" and "restrictCollections" in replication again (#5685) 2018-06-28 19:14:26 +02:00
jsteemann 7121f2e1df increase truncate timeout from 3 to 120 seconds 2018-06-28 13:34:24 +02:00
jsteemann 33b2a79723 Revert "allow synchronous replication without returning the documents from the followers (#5690)"
This reverts commit cad6423cfe.
2018-06-28 13:34:04 +02:00
Tobias Gödderz 18f939ebcf [3.3] Bugfix: Distinct collect block could create an empty result block (#5709) 2018-06-28 13:26:59 +02:00
Frank Celler cb0aaa435f backport Scheduler from devel (#5533) 2018-06-28 13:26:04 +02:00
Jan cad6423cfe
allow synchronous replication without returning the documents from the followers (#5690) 2018-06-27 11:45:35 +02:00
Jan c9ebf4ec63
don't embed "ttl" key twice in options (#5678) 2018-06-26 12:32:29 +02:00
jsteemann 6e3cd7156a removed a wrong assertion 2018-06-26 00:04:00 +02:00
Jan 32725ad0c4
prevent an optimization from destroying variables (#5586) 2018-06-18 11:58:31 +02:00
Jan 3bbc89ee96
fixed AQL DOCUMENT lookup function for documents for shard collection… (#5609) 2018-06-15 09:16:23 +02:00
Dan Larkin-York a4c0e28571 Avoid memset on non-POD types for portability. (#5559) 2018-06-12 13:12:46 +02:00
Heiko fe0b88fb08 replication ui requested changes (#5562) 2018-06-08 11:19:41 +02:00
Heiko 51caa460f2 Feature/replication ui (#5282) 2018-06-07 15:54:27 +02:00
Kaveh Vahedipour 86557cf07c Feature 3.3/arangodoc (#5541) 2018-06-07 15:10:11 +02:00
Jan cd93485275
more eager "remove-filter-covered-by-index" rule (#5495)
make optimizer rule "remove-filter-covered-by-index" not stop after removing
a sub-condition from a FILTER statement, but pass the optimized FILTER
statement again into the optimizer rule for further optimizations.
This allows optimizing away some more FILTER conditions than before.
2018-06-01 14:41:52 +02:00
Jan 2d2257123f
allow accessing /_admin/status on follower (#5496)
in active failover mode too
2018-06-01 14:41:14 +02:00
Jan f07045bce6 fix cluster COLLECT optimization (#5504) 2018-06-01 10:41:39 +02:00
jsteemann 37d3030608 remove debug message 2018-05-29 14:18:15 +02:00
Jan 71a17e162c
potential fix for https://stackoverflow.com/questions/50496274/two-fu… (#5445) 2018-05-28 13:55:35 +02:00
Wilfried Goesgens 3614e9ae4e Bug fix 3.3/graph direction wrong to throw (#5384) 2018-05-25 19:25:06 +02:00
Jan 78c193d34e
Bug fix 3.3/validate from to consistently (#5438) 2018-05-24 09:56:03 +02:00
Jan 1e4436666d
Bug fix 3.3/issue 5400 (#5411) 2018-05-23 11:40:50 +02:00
Jan 7529d0bb36
fixed issue #5252 (#5426) 2018-05-23 08:30:34 +02:00
Kaveh Vahedipour b92b6f378f inception was ignoring leader's configuration (#5415) 2018-05-22 12:57:00 +02:00
Tobias Gödderz 6ca523f270 [3.3] Compile fix for homebrew (#5417) 2018-05-22 12:56:20 +02:00
Jan 0740cb91e2
Bug fix 3.3/fixes 1805 (#5392) 2018-05-18 18:10:52 +02:00
Tobias Gödderz a391088dbf [3.3] Fix inconsistent distributeShardsLike job (#5300) 2018-05-17 12:07:20 +02:00
Kaveh Vahedipour 67f6e23462 agency pool size had to be larger 1 (#5380) 2018-05-17 12:01:19 +02:00
Jan a9501529d2
Bug fix 3.3/fix upgrade (#5362) 2018-05-16 13:19:26 +02:00
Jan d25c696240
improve performance of some RocksDB CRUD operations (#5364) 2018-05-16 12:57:49 +02:00
Wilfried Goesgens 203f0e7c03 fix scoping of vpack object builder (#5351) (#5355) 2018-05-15 18:02:04 +02:00
Jan 731925080d
Feature 3.3/aql optimizations (#5140) 2018-05-15 14:41:07 +02:00
Simon 4f5defc9ea Fixing agency pool update (#5327) 2018-05-14 18:07:47 +02:00
Jan 2975715edf
fix AQL ZIP function with duplicate attribute names (#5335) 2018-05-14 11:12:26 +02:00
Jan ae73a9b475
Feature 3.3/mmfiles index lookup speedup (#5338) 2018-05-14 10:41:37 +02:00
jsteemann 5a31fa91f5 report missing cache hit information as 0 values, not as non-representable types 2018-05-11 14:47:35 +02:00
jsteemann 53230ea400 remove unnecessary return statements 2018-05-11 14:47:15 +02:00
Jan ab28867deb
Bug fix 3.3/make rest handlers indirect (#5322) 2018-05-11 13:52:08 +02:00
Jan 790fa27a67
fix valgrind issues (#5284) 2018-05-07 22:39:59 +02:00
Jan ea96faf534
added REST API endpoint GET /_admin/server/availability (#5250) 2018-05-03 16:50:51 +02:00
Jan Christoph Uhde f37f783a3a Fix LIKE pattern creation (#5240) 2018-05-03 13:15:56 +02:00
jsteemann ccd76f6fce cleanup 2018-04-29 19:54:02 +02:00
Michael Hackstein d83b44b3e6
fixes database.check-version (#5210)
* Fixed undefined behaviour when starting arangodb with --database.check-version true as done by our scripts.

* Implemented the database version check in c++ and removed v8 dependency. Also hard-code role to SingleServer in that case.
2018-04-27 15:30:56 +02:00
Michael Hackstein a9e446a83d
Added cleanup functions class that allows to execute functions on unexpected shutdown (like FATAL_EXIT). First use: delete the LOCK file. (#5218) 2018-04-27 15:30:00 +02:00
Simon 08b787d897 Fix follower to leader log message (#5212) 2018-04-27 15:20:38 +02:00
Simon c954841a4f Backport supervision for active failover job + testsuite (#5181) 2018-04-23 16:38:11 +02:00
Simon f2ef1c45fb Replication cleanup (#5106) 2018-04-23 11:04:46 +02:00
Kaveh Vahedipour 507418d9a4 stop supervision on demand (#5109)
* stop supervision on demand
* adding tests
* Correct an error message.
2018-04-20 11:58:47 +02:00
Jan b843dd6aec
port /_api/simple/by-example to cxx (#5147) 2018-04-19 14:46:32 +02:00
Michael Hackstein 27ac691447
Bug fix 3.3/drop smart collection restore (#5130)
* Added CHANGELOG

* Moved restore handler to use CollectionMethods like all other places.

* Replaced ensureIndex in restore case with helper method as well.
2018-04-18 12:14:43 +02:00
Jan 760aaca58e fix lookups by _id for smart graph edges (#5122)
* fix lookups by _id for smart graph edges

* updated CHANGELOG
2018-04-18 09:26:45 +02:00
Jan 2fe7e82af2
improve startup resilience in case there are datafile errors (#4974) 2018-04-13 12:08:41 +02:00
Simon fa9da5e356 Fixing agency prefix in Agency/Job.cpp (3.3) (#5060) 2018-04-13 11:03:52 +02:00
Jan 2139fb2018
Merge branch '3.3' into bug-fix-3.3/fix-geo-index-oom 2018-04-13 10:50:57 +02:00
Jan cda5da8a79
added option `--database.required-directory-state` (#5037) 2018-04-13 10:10:10 +02:00
Simon a2ecd83859 adding ttl option for the query registry (#5096) 2018-04-11 15:50:12 +02:00
Jan d500a503b1
simplification of fullcount code (#5074) 2018-04-10 17:25:08 +02:00
Michael Hackstein 5decb66d01
fix dump&restore of smart graphs (#5065)
* Added tests for dump-restore of SmartGraphs

* Arangosh will now expose isSmart and the smartGraphAttribute on properties

* RestReplicationHandler will now ignore smart-graph collections unless you execute it with force

* Added changelog

* Reactivated original mmfiles dump/restore test

* Skip hidden smart graph collections in arangodump

* Do not dump shadowCollections metadata of smart edge collections

* Cluster optimizer rules for soerted gather nodes now handle virtual edge collections correctly

* Added a dump/restore tests for smartgraphs in rocksdb as well

* Deactivated checks for writesExecuted statistics in dump/restore tests for smartgraphs mmfiles

* Really exclude shadowCollections

* Reduced loglevel

* Added tests

* Don't change single-server behaviour

* Fix tests for omitted shadowCollections and hidden collections

* Activated statistics in MMFIles dump test again and included isEnterprise in rocksdb dump test

* A modification node can now disableStatistics, which means it does not contribute to query->extras() this is only relevant in SmartGraph case so far.

* Added a test to dump&restore satellite collections

* Bugfix: restore satellite collections properly

* Added regression test for internal issue #2237

* Fix bug #2237

* Updated CHANGELOG

* Copied dump/restore tests to rockdsb

* Removed enterprise test

* Added inline comment for smart-edge collections in optimizer rules

* Removed duplicate CHANGELOG entry

* Simplified removal of shadowCollections
2018-04-10 17:21:03 +02:00
Kaveh Vahedipour c07a706948 supervision fix for internal issue #2215 backport to 3.3 (#5063)
* supervision fix for internal issue #2215 backport to 3.3
2018-04-10 15:29:27 +02:00
Kaveh Vahedipour 3d8eb7541c internal issue #2215 (#5043) 2018-04-10 12:00:48 +02:00
jsteemann baf2303c16 fix invalid "out of memory" message when using out-of-range coordinates for the geo index 2018-04-10 11:58:07 +02:00