1
0
Fork 0
Commit Graph

44434 Commits

Author SHA1 Message Date
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
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
Jan 0c9290ea1b
fix a query abort error in smart joins if both collections were (#9533) 2019-07-22 14:55:20 +02:00
jsteemann c65cac4e5c updated CHANGELOG 2019-07-22 09:46:46 +02:00
Dan Larkin-York 07344d7694 Fix typo and restructure to match. (#9530) 2019-07-22 09:45:07 +02:00
Jan 2d9ee2281c
fix leak in thread shutdown (#9527) 2019-07-22 09:40:04 +02:00
Jan 1a812b4b4f
Bug fix 3.4/fix races in collection creation (#9504) 2019-07-19 13:29:24 +02:00
Matthew Von-Maszewski d8955bbb29
Bugfix 3.4: Import would not report communication errors (#9499)
* arangoimport was neither reporting nor stopping on communications errors.  Add reporting of impacted lines for CSV imports.

* add fix notes to CHANGELOG

* correct warning from Windows build about size_t to int conversion
2019-07-18 13:45:09 +02:00
Tobias Gödderz 94a84b6233 [3.4] Fix query snippet responsibility for views (#9460)
* Fix query snippet responsibility for views

Select one snippet per node id, instead of parent query id

* Updated CHANGELOG

* Fixed compile error
2019-07-18 10:59:53 +02:00
Jan 83227cb7a1
prevent duplicate actions from popping up (#9453) 2019-07-16 10:02:59 +02:00
Max Neunhoeffer 1baba16dad
Add hot_backup to testing black list. 2019-07-15 11:49:11 +02:00
Matthew Von-Maszewski 4ef47fc7bd BugFix 3.4: Some error results have messages that are not reporting (#9455) 2019-07-11 13:16:15 +02:00
KVS85 5b5c5c4c49
Rename permissions_server suite (#9442) 2019-07-10 16:39:32 +03:00
Max Neunhöffer 75f0a63549
Various error reporting fixes plus Maintenance Current fix. (#9398)
* Cleanup new logging.
* Hand on error message from getLocalCollections.
* Better behaviour if a database was announce but has vanished since.
* Fix catch tests.
* Switch on maintenance debugging output.
* Fix maintenance reporting bugs.
* CHANGELOG.
* No error if follower cannot be dropped.
* Improvement to avoid copying.
* Add preconditions to FollowerInfo agency operations.
* Adjust timeouts.
* Use isEqualString instead of compareString.
* Fix Windows compilation.
2019-07-05 13:38:44 +02:00
Jan 3cedbe4a67
replace potentially unsafe binary comparisons with logical ones (#9380) 2019-07-04 14:56:38 +02:00
Simon 5eb4951d29 use a lock when calling unload (#9367) 2019-07-03 16:21:00 +02:00
Jan c655a89db6
make sure all errors are prefixed with ERROR_ @fceller @kvs85 (#9383) 2019-07-02 18:06:52 +02:00
Lars Maier 8bd34fd1e3 [3.4]Precs to check if collection exists (#9283)
* Adding preconditions for jobs to check that the collection still exists.

* Make it compile.

* Fixed tests.
2019-07-01 13:26:01 +02:00