1
0
Fork 0
Commit Graph

44451 Commits

Author SHA1 Message Date
KVS85 0952837c2a release version 3.4.8 2019-09-04 22:23:36 +02:00
Kaveh Vahedipour 36d7e3628b DropCollection is a FAST_LANE action and should not need much time or else retry. (#9897) 2019-09-04 14:48:50 +02:00
Jan ea5106ff60 Bug fix 3.4/babies unknown shard (#9872)
* release version 3.4.8

* [3.4] fix agency lockup when removing 404-ed callbacks (#9839)

* fix non-deterministic occurrences of "document not found" in sharded
collections with custom sharding and multi-document lookup

* updated CHANGELOG

* fix error code handling

* Update CHANGELOG
2019-09-03 23:58:14 +03:00
Kaveh Vahedipour 694799be5b url instead path (#9879)
* [3.4] fix agency lockup when removing 404-ed callbacks (#9839)

* typo
2019-09-02 17:37:23 +03:00
Kaveh Vahedipour 3f554f15d1 [3.4] fix agency lockup when removing 404-ed callbacks (#9839) 2019-09-02 16:13:37 +02:00
KVS85 8e37de426d Prepare for 3.4.8 2019-08-29 11:52:05 +02:00
KVS85 62b0ef6704
Update CHANGELOG 2019-08-27 16:24:37 +03:00
Jan 0935bb898e issue #9794: Limit with offset results in an infinite query that can't be cancelled (#9819) 2019-08-27 16:23:21 +03:00
sleto-it 543faec428 Update CHANGELOG (#9556) 2019-08-27 11:23:29 +02:00
Dan Larkin-York 4a0383849f [3.4] Minimize unnecessary dropping of followers due to poorly set synchronous replication timeouts (#9811)
* Minimize unnecessary dropping of followers due to poorly set synchronous replication timeouts.

* Add changelog entry.

* Add setIntroducedIn version.
2019-08-27 11:45:37 +03:00
KVS85 eedf5548a7
Update CHANGELOG 2019-08-27 11:36:42 +03:00
Dronplane 12ec3f63d1 Bug fix 3.4/issue #9795 (#9807) 2019-08-27 10:32:36 +02:00
Frank Celler ed41809dba use LDAP_PATH instead of fixed one (#9812) 2019-08-27 10:22:29 +02:00
Jan 0360c251cc Bug fix 3.4/multi bugs (#9791)
* add whitespace to make error message more readable

* Don't retry persisting follower information

for collections/shards already dropped.
The previous implementation retried (unsuccessfully in this case)
for up to 2 hours, occupying one scheduler thread.
2019-08-26 15:50:56 +03:00
Kaveh Vahedipour 59b78a1ec4 [3.4] back port of agency call back cleanup (#9723)
* back port of agency call back cleanup
* storecallback missing
* revert callback bodies to API specification
* array needs be inside so that multiple unobserves to same key are possible
2019-08-23 10:12:11 +02:00
Jan e49e3e8063 show query string length and cacheability in explain output (#9769) 2019-08-22 14:24:23 +03:00
Lars Maier 6f4eb0e89f [3.4] Move Shard Bug 4567124 (#9741)
* Fixed abort in moveshard in the case new leader is not in Current.
* Updated Changelog.
* Fixed special case if to server is follower.
2019-08-20 11:39:45 +02:00
Jan eb5f4241a5 issue #9654 (#9752) 2019-08-19 23:18:57 +03:00
sleto-it e737795f7b Update CHANGELOG (#9680) 2019-08-19 22:58:34 +03:00
Wilfried Goesgens 4febe0ecd2 Bug fix 3.4/fix arangosh documentation paste (#9744)
* fix pasting from the documentation

* CHANGELOG

* Update CHANGELOG
2019-08-19 17:58:43 +03:00
Lars Maier 562ee69ca4 [3.4] Backported TakeoverLeadership action. (#9732)
* Backported TakeoverLeadership action.
* Fix a LOG_DEVEL.
2019-08-16 17:31:02 +02:00
Max Neunhöffer 6720427b72
Fix an agency bug found in Windows tests. (#9729)
* Fix agency bug found in Windows tests.
* CHANGELOG.
2019-08-16 12:16:11 +02:00
Matthew Von-Maszewski 38b9ec80b8
Bugfix 3.4: Clean up rocksdb getStatistics() (#9703)
* clean up basic rocksdb statistics.  More clean-up needed.

* add rocksdb throttle value to statistics

* update comments about rocksdb properties

* rename function per PR comments
2019-08-13 13:10:45 -04:00
Kaveh Vahedipour 5c8aee1b67 Bug fix 3.4/node corrections (#9417)
* op:set should have new, some operators should not create non existing keys
* this is the proper direction
* observe/unobserve have no business in Node
* normalization of URI
* agency test added for observe / unobserve
* more tests
* Fixed catch tests.
2019-08-13 15:15:45 +02:00
Jan 49ad6fd290
fixed issue #9679 (#9683) 2019-08-12 14:59:22 +02:00
Jan fdbf2eb1e8
various replication improvements: (#9674)
- better debuggability (more log details)
- shorter minimum wait delay in active failover
- fixed too early pruning of WAL files on leaders
2019-08-12 10:44:50 +02:00
Lars Maier 6b04e3de03 Ported ResignLeadership to 3.4 (#9669)
* Ported ResignLeadership to 3.5

* Added http route.
2019-08-09 16:41:13 +02:00
Dronplane 592063c503 Bug fix 3.4/data loss in view (#9658)
* Added full index iterator utilization in case of some documents was not found in collection

* Added index operations reversal in case of insertion failure in rocksdb

* Removed singleop optimization as rollback possible even for such operations (in case of index operation failure on insert)

* Added tests for insert rollback in views

* Added catch tests for view block

* Added changelog entry

* fixed jslint errors

* fixed linux build

* Added test for update

* Fix CHANGELOG sequence

* Add line

* Added reverts for update and remove failures

* Cleanup in test. Added throwing error in case of failed reversal

* fixed typo

Co-Authored-By: Simran <Simran-B@users.noreply.github.com>

* fixed build

* Applied review comments

* Applied review comments
2019-08-09 17:30:17 +03:00
Lars Maier d8bc3685d3 [3.4] Fast Leader Change (#9642)
* Intermediate state.

* Finished.
2019-08-09 14:02:04 +02:00
Lars Maier 508abc311e Fail the FailedLeader Job if the new leader fails. (3.4 port) (#9640) 2019-08-09 14:00:55 +02:00
Jan 3219e63381
less copying in ClusterInfo::loadPlan() (#9650) 2019-08-08 10:04:36 +02:00
Simran 4bb2e53b6d
Documentation 3.4/example generation improvements (#9557)
* Documentation 3.5/example generation improvements (#9498)

* Documentation/switch example generation to rocksdb (#9478)

* improve the formatting of the batch request documentation

* split to linewise, check whether we have a json and format it.

* Add missing asterisk

* Minor fixes / improvements

* jslint is your friend. (#9509)

* Update examples

* Fresh Swagger
2019-08-07 14:59:03 +02:00
Jan e19c478192 Bug fix 3.4/re add overcommit memory 2 warning (#9643)
* re-add overcommit_memory=2 warning

* updated CHANGELOG
2019-08-06 08:21:37 -04:00
Jan ab847839df
Bug fix 3.4/reduce arangosearch rwlock waits (#9622) 2019-08-02 14:26:17 +02:00
Jan d64ad7ac0b
attempt to fix load_balancing tests in slow test environments (#9627) 2019-08-02 14:18:50 +02:00
Jan f95281471c
fix lagging agency callbacks (#9621) 2019-08-02 11:43:04 +02:00
KVS85 df7e768af4 upgrade Starter 0.14.12 2019-08-01 16:22:32 +02:00
Jan Christoph Uhde 5b2e3f041b disable-foxx 3.4 (#9593) 2019-07-31 10:58:42 +02:00
KVS85 615f957938 Upgrade arangosync 0.6.5 2019-07-30 17:03:13 +02:00
Simran 5552081df0
Bug fix/fix swagger datatype (#9603)
* Bug fix/fix swagger datatype (#9045)

* remove http so https arangos will work

* verify that query parameters are proper swagger data types, fix offending documentation files

* return the actual type - not the list of available ones

* check formats

* there is no uint64 in swagger

* Fresh Swagger
2019-07-30 13:40:02 +02:00
KVS85 cc9aa74e1a
Fix ArangoSearch view creation errors (#9598) 2019-07-29 20:42:57 +03:00
Jan Christoph Uhde 6211a5fc4f nested collect backport 3.4 (#9590)
* stop optimization for nested collects (#9484)

* Update CHANGELOG
2019-07-29 19:42:50 +03:00
Wilfried Goesgens 8169df9a05 do away with fancy exit codes, they don't work reliable (#9580) 2019-07-29 17:11:12 +02:00
Wilfried Goesgens 823cc1d8ee don't keep the memory stats in the collections to save disk space (#9583) 2019-07-29 08:45:51 +02:00
Wilfried Goesgens 19887387d1 Feature 3.4/add js isolate mem statistics (#9570) 2019-07-26 17:51:53 +02:00
KVS85 1c8874fc6a Fix MACOSX_DEPLOYMENT_TARGET absence case (#9572) 2019-07-25 19:33:51 +02:00
Jan 51921c4129
fixed a bug in RTRIM implementation, fixed issue #9558 (#9564) 2019-07-25 13:04:21 +02:00
Matthew Von-Maszewski 0eb450f96d
ENCRYPTION file sometimes not cleaned up then causes encrypted test to fail. Now cleaned up. (#9559) 2019-07-24 11:10:06 -04:00
KVS85 4f4453d50f Backport of MACOSX_DEPLOYMENT_TARGET from devel (#9555) 2019-07-24 15:42:29 +03:00
Jan 950aefe6b8
Bug fix 3.4/temporary directory fixes (#9550)
* added startup error for bad temporary directory setting

if the temporary directory (--temp.path) setting is identical to the database directory (--database.directory)
this can eventually lead to data loss, as temporary files may be created inside the temporary directory, causing
overwrites of existing database files/directories with the same names.
Additionally the temporary directory may be cleaned at some point, and this would lead to an unintended cleanup
of the database files/directories as well.
Now, if the database directory and temporary directory are set to the same path, there will be a startup error
warning about potential data loss (though in ArangoDB 3.4 allowing to continue the startup - in 3.5 and higher
we will abort the startup).
2019-07-24 12:46:27 +02:00