1
0
Fork 0
Commit Graph

240 Commits

Author SHA1 Message Date
Wilfried Goesgens 4ad2ff1f75 Bug fix 3.4/cleanup view (#10590)
* cleanup after test

* Update upgrade-data-views-msv3.2.1.js

* Update upgrade-data-views-msv3.2.1.js

* Update upgrade-data-views-msv3.2.1.js
2019-11-29 14:14:23 +01:00
Jan 9b5d75071d make replication timeouts configurable via startup options (#10472)
* make replication timeouts configurable via startup options

The following options are available (for active failover
and master-slave replication):

    --replication.connect-timeout
    --replication.request-timeout

Values can be specified in seconds. If these options are used, they will
be used for replication requests, overriding any hard-coded defaults or
explicitly configured timeouts.

Additionally, this change increases the default request timeout
for replication from 10 minutes to 20 minutes.

* do *not* change timeouts

* make tests work again
2019-11-19 19:45:40 +03:00
Jan 69747bc86f Bug fix 3.4/disallow subqueries in prune (#10266)
* backport of #10231

* added derived files
2019-10-16 19:19:57 +03:00
Iurii Popov 3e7879600d Bug fix 3.4/issue #10090 (#10211)
* Fixed repeatable seek to the same document (#10164)

* Fixed repeatable seek to the same document

* Fix. Multiple conjuncts in conjunction.

* Add tests for issue #10090 (#10203)

* Add tests for issue #10090

* Remove spaces

* Added CHANGELOG for the issue #10090.

* Fixed doc_limits error

* Fixed approx_ error
2019-10-10 18:27:49 +03:00
Jan 6bbcb1c934 fixed issue #10193 (#10196) 2019-10-09 16:39:57 +03:00
Jan b4e56f4285 Bug fix 3.4/fix parsing unterminated strings (#10157)
* fix parsing of unterminated string literals

* added CHANGELOG entry

* added generated file
2019-10-09 16:35:29 +03:00
Jan 4477bd1ed1 Bug fix 3.4/issue 10078 (#10083)
* fixed issue #10078: FULLTEXT with sort on same field not working

* added test

* simplify the implementation
2019-09-27 16:59:42 +03:00
Jan e502feeea6 fixed issue #10062: AQL: Could not extract custom attribute (#10066) 2019-09-27 16:58:58 +03:00
Tobias Gödderz 78fad805b5 [3.4] Bug fix 3.4/allow agency ops in active failover (#9960)
* Backported #9881

* Fixed changelog

* Fixed merge
2019-09-19 11:45:49 +03:00
KVS85 227a92dd3a
Fix jslint 2019-09-12 22:27:35 +03:00
KVS85 3b8b727d0e Add more stability to moving-shards-cluster.js 2019-09-12 18:34:08 +02:00
Heiko 4298098f56 Bug fix 3.4/arangosh gharial vertex deletion (#9927)
* typo in route

* unused function removed

* merge

* changelog

* removed fail, removed print
2019-09-11 13:00:42 +03:00
Dronplane ccfa517178 Bug fix 3.4/internal issue #633 (#9916)
* Ported fix for internal issue #633

* fixed indentation

* Another indent fixed

* Update CHANGELOG
2019-09-11 12:58:24 +03:00
Jan 34481860a9 cover more cases of "unique constraint violated" issues during replication (#9828)
* release version 3.4.8

* cover more cases of "unique constraint violated" issues during
replication

* add more testing
2019-09-11 12:48:08 +03:00
Tobias Gödderz 4ada35f20c [3.4] Bug fix 3.4/add shard id to replication client identifier (#9466)
* Bug fix/add shard id to replication client identifier (#9366)

* Fixed compile (but not linker) errors

* Backported ReplicationClientProgressTracker

* Fixed compile errors, fixed hash function

* No longer use SyncerId for real asynchronous replication

* Updated docu

* Try to fix compile error on windows

* Fixed a bug

* Removed old code

* Fixed CHANGELOG entry
2019-09-11 12:45:57 +03: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
Dronplane 12ec3f63d1 Bug fix 3.4/issue #9795 (#9807) 2019-08-27 10:32:36 +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
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
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
Jan d64ad7ac0b
attempt to fix load_balancing tests in slow test environments (#9627) 2019-08-02 14:18:50 +02: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
Jan 51921c4129
fixed a bug in RTRIM implementation, fixed issue #9558 (#9564) 2019-07-25 13:04:21 +02:00
Matthew Von-Maszewski 015f59f0b9
Feature 3.4: Use ManagedDirectory class to add gzip and encryption to import/export (#9472)
* preview code I dropped on jackie today.  only supports document collections.

* saving work in progress

* update arangoexport to fully use ManagedDirectory object (arangoimport still needs work).

* migrate remainder of import to using ManagedDirectory objects

* correct spelling within activateEncryption(): encription to encryption

* forgot to fix up graphExport for managed directory.  luckily unittest noticed.

* add test read of gzip json file

* add readGzip to our fs object

* add TRI_SlurpGzipFile function

* add code to bridge javascript fs.readGzip to TRI_SlurpGzipFile

* correct the return type used by JS_ReadGzip

* add gzip test for jsonl type export

* add remain gzip versions of existing export tests

* add import tests of gzip files

* activate encryption in enterprise to enable fs.readDecrypt()

* bug fix: allow encryption to enable in empty directory if EncryptionFeature active.

* add JS_ReadDecrypt to enterprise build.  Current used for unit tests.

* enterprise build needs EncryptionFeature added to build to support TRI_SlurpDecryptFile()

* add TRI_SlurpDecryptFile() to aid in unit test of encrypted stuff

* missing newline at end of file.

* add fs.readDecrypt when available

* add test of encrypted json array export

* correct progress meter when gzip involved

* move from using ManagedDirectory::File to ManagedDirectory::readableFile calls

* create version of readableFile that uses file descriptor as param
2019-07-23 14:58:34 -04:00
Heiko 5d5eb23e7f Bug fix/gharial 3 4 edge from and tos verification (#9263)
* attempt to apply PR: pull/#9177

* changelog
2019-06-21 14:43:43 +02:00
Jan 0c62f96cee
fix failing agency test (#9238) 2019-06-08 23:24:31 +02:00
Kaveh Vahedipour a46fc0690b fix agency's ttl handling in object assignments (#9180) 2019-06-08 22:23:05 +02:00
Jan 2de2d92054
remove archived RocksDB WAL files on agent servers (#9230) 2019-06-08 19:40:07 +02:00
jsteemann c20a5f5ec2 Revert "add limits test (#9197)"
This reverts commit 9c123a638c.
2019-06-08 15:51:27 +02:00
Max Neunhöffer 68926032d0
Fix yet another agency test with clientid. (#9159) 2019-06-07 10:31:03 +02:00
Jan Christoph Uhde 9c123a638c add limits test (#9197) 2019-06-06 12:07:49 +02:00
Jan Christoph Uhde 19190dc963 add shardKeyAttribute to pregel start parameters (#9157) 2019-06-05 14:27:26 +02:00
Tobias Gödderz a25c0fa1b0 [3.4] Wait for replication before inserting (#9153)
* Increased timeouts, added a little more helpful error messages for assertions (#9135)

* Wait for replication before inserting documents

Un-greylist repair-distribute-shards-like-spec
2019-05-31 18:41:23 +03:00
Kaveh Vahedipour 75f0a51d67 [3.4] fix clientid register in state (#9065)
* fix flientid register in state

* remove the log erase locations

* iterator check

* also clear considered

* emplaces also handled

* don't add if clientId empty

* move semantics for log_t

* forward log_t into deque. bail out also as follower, when log_t cannot be emplaced

* whitespaces

* change log

* fix agency test for leadership change during long transactions with clientId

* log_t was as good as it gets

* white spaces

* add clientIds the inc/dec test

* client id for inc/dec test

* Fix a typo in a message.

* Add a comment for better readability.

* Fix agency test.

* Take debugging out.

* Activate another old agency test.

* Fix client id.

* Consistent behaviour across branches.
2019-05-29 21:43:45 +02:00
Simon 87977d1228 Pregel segmented buffers (#9109) 2019-05-28 18:21:56 +02:00
jsteemann 82eb569738 fix jslint warning 2019-05-27 17:58:47 +02:00
Tobias Gödderz bdc031f3e6 [3.4] Bugfix of DFS path uniqueness implementation (#9098)
* Backport of https://github.com/arangodb/arangodb/pull/9041

* Use 3.4-compatible getResponsibleShard
2019-05-27 15:04:23 +03:00
Simon e1fdc04193 Bug fix 3.4/jobs indexes (#9099) 2019-05-27 11:43:05 +02:00
KVS85 d9c0566a90 Mark all timecritical and nondeterministic as greylisted (#9048) 2019-05-24 11:52:28 +02:00
jsteemann 764280df8c make test more robust 2019-05-21 18:34:00 +02:00
Jan 7ef180c71e
fix crash (#9059) 2019-05-21 18:32:46 +02:00
Jan ac5d7efcb0
fix handling of initial `null` values in AQL function `MIN` (#9052) 2019-05-21 17:32:45 +02:00
Jan 8925edc131
fix crash in async request handling when request queue is full (#9029) 2019-05-17 16:28:43 +02:00
Simon 30e785537a Bug fix 3.4/pregel gr (#9007) 2019-05-15 18:38:22 +02:00
Simon f20e3713d2 prgl switcheroo (#8995) 2019-05-14 17:18:08 +02:00
Jan c6f2fc5eb3
fix sortedness of sorted results returned by RETURN DISTINCT (#8934) 2019-05-09 20:10:43 +02:00
Simon aae758fe53 fix issues with pregel (#8948) 2019-05-09 18:58:27 +02:00
KVS85 26ade91a95 Small speedup of setup in dump suite (3.4) 2019-05-07 23:50:09 +02:00
Simon 185c8724a3 Pregel various fixes (#8879) 2019-05-07 09:53:18 +02:00