1
0
Fork 0
Commit Graph

45346 Commits

Author SHA1 Message Date
Jan cf65562527 fix graph error message (#10042)
* fix error message

* updated CHANGELOG, fixed test
2019-09-27 15:10:19 +03:00
Max Neunhöffer b8502f8fa7 Add more strong references to pthread stuff. (#10045)
* Add more strong references to pthread stuff.

* Circumvent libgcc/libmusl mistake in multi-threaded detection.

* CHANGELOG.
2019-09-27 14:42:10 +03:00
Max Neunhöffer a08a4d3395 Fix a shutdown hanger because of a collection status lock. (#10032)
* Fix a shutdown hanger because of a collection status lock.

* CHANGELOG.
2019-09-27 14:32:42 +03:00
Dan Larkin-York 50b1f72b25 [3.5] Fix issue with cache allocation statistics. (#10029)
* Fix issue with cache allocation statistics.

* updated CHANGELOG
2019-09-27 14:31:36 +03:00
KVS85 db77840ef7 Merge more PRs for 3.5.1 2019-09-27 13:18:38 +02:00
KVS85 f2c5f27fe6
Fix check for nightly build 2019-09-18 14:00:05 +03:00
KVS85 f2ec70cf53 release version 3.5.1 2019-09-17 17:04:43 +02:00
KVS85 5fc6be0c9c Set CHANGELOG date for 3.5.1 2019-09-17 15:48:32 +02:00
KVS85 b79983d2e6
Add OPENSSL versions 2019-09-17 15:30:02 +03:00
KVS85 5e40f58084 Fix Windows client package 2019-09-17 01:52:26 +02:00
Kaveh Vahedipour 999e4b8873 [3.5] agency lock left behind (#10022)
* short timeout issue and discarded agency lock removal

* short timeout issue and discarded agency lock removal

* no hot backup in 3.5.0
2019-09-17 00:13:54 +03:00
Tobias Gödderz 0b1d5be33e Backported #9881 (#10019) 2019-09-16 17:35:42 +03:00
Heiko 7174ceaf69 fixed ui behaviour when replacing a foxx app (#9876)
* fixed ui behaviour when replacing a foxx app

* Bug fix/curb aardvark foxx cthulhu (#9867)

* Revert "fixed ui behaviour when replacing a foxx app"

This reverts commit 6092465e05d11c10e83e3424945d8bf9e8f3ddaa.

* Cleanup on aisle 3

* Typo

* Fixed param order

* Cleanup flags

* Actually use the queryParams

* currently not supported via grunt env

* changelog

* removed not needed view

* fixed wrong used function
2019-09-16 17:34:35 +03:00
Tobias Gödderz 83f0d800f1 [3.5] Bug fix/sort limit rule too lax (#10018)
* Added regression test for consecutive constrained sorts

* Bugfix: sort-limit rule skipped too many node types

* Added CHANGELOG entry

* Apply sort-limit rule before single document operations
2019-09-16 13:57:23 +03:00
Matthew Von-Maszewski 249899959f back port PR 9874 to 3.5. Add write amplification stat and option to disable statistics history. (#9947) 2019-09-16 12:57:11 +03:00
KVS85 4f857055e8
Preparation for separate VS 2019-09-16 09:46:57 +03:00
KVS85 71a19d7b65
Set rclone usage for oskar 2019-09-15 23:57:26 +03:00
Jan 935a35a275 naive attempt to not build arangobackup in community version (#10013)
* naive attempt to not build arangobackup in community version

* fix testing.js

* try to fix enterprise detection
2019-09-13 20:26:35 +03:00
Jan 351ca41553 validate collection when leasing an existing transaction (#9990)
* validate collection when leasing an existing transaction

* use WITH statement

* allow implicit read collections again

* simplify collection name validation

* re-implement it

* remove dead code

* remove unused method

* apply review comments

* whoops, deleted too many methods

* fixit
2019-09-13 20:03:55 +03:00
Tobias Gödderz aeba4bc2c6 Additional sort-limit tests (#10010) (#10011) 2019-09-13 19:10:43 +03:00
Max Neunhöffer 4656bd0a6a Fix a shutdown busy loop after main if two exceptions collide. (#9982) 2019-09-13 13:27:30 +03:00
Heiko e5da8b1cef Bug fix 3.5/arangosh gharial vertex deletion (#9926)
* typo in route

* unused function removed

* added general graph standalone and cluster tests, formatting

* removed fail, removed print

* changelog

* Update CHANGELOG
2019-09-13 13:15:53 +03:00
Tobias Gödderz 6f16c3deef [3.5] Make AQL's constrained heap play nice with fullCount (#10007)
* Make AQL's constrained heap play nice with fullCount (#9981)

* Update CHANGELOG
2019-09-13 12:28:28 +03:00
KVS85 e0e05903fb
Fix jslint 2019-09-12 22:25:58 +03:00
KVS85 6bd1879473 Add more stability to moving-shards-cluster.js 2019-09-12 18:31:11 +02:00
Jan c9de78c7c5 backport bugfixes from this week (#9985)
* backport bugfixes from this week

* use steady_clock, after 2 votes for it
2019-09-12 17:35:57 +03:00
Jan 8830aad557 Bug fix 3.5/allow not like (#9991)
* allow NOT LIKE, NOT =~ and !~ in grammar

* updated CHANGELOG

* added derive files
2019-09-12 16:59:40 +03:00
Jan c7b0e68026 disable the creation of TTL indexes on sub-attributes (#9995)
* disable the creation of TTL indexes on sub-attributes

* updated CHANGELOG
2019-09-12 16:42:56 +03:00
Frank Celler 393ffba276 fixed wrong defines 2019-09-12 14:46:23 +02:00
Heiko 86a35e93b6 always create statistics collections & indices & fishbowl (#9967)
* Squashed commit of feature-3.5/hotbackup_devel.

This puts hotbackup into 3.5.

* Port atomic-database-creation-2 to 3.5.

* Remove some wrongly ported code.

* Fix compilation.

* Fix a manual merge error.

* Remove a feature from the mocks which does not exist in 3.5.

* Add some code which was forgotten in manual merge.

* Fix a problem introduced in a manual merge.

* reuse function

* Address some whitespace issues that came up in review

* aardvark should not create the frontend collection

* create _frontend collection from c++

* recheckAndUpdate Callback in CollectionWatcher

* Wrong author ;)

* rm outdated todo

* Update lib/Basics/VelocyPackHelper.h

Co-Authored-By: Michael Hackstein <michael@arangodb.com>

* use logger unique id, use startup logger

* not needed

* optimized vector shardid method

* do not create _modules collection lazy anymre

* Formatting.

* Assert instead of if/TRI_ASSERT(false)

* Don't use exceptions as control structure

* Re-add READ_LOCKER that got lost in translation

* Fix audit log in case database creation fails early.

* legacy sharding

* Add CHANGELOG entry.

* Retry database cancellation indefinitely

* Do not use exceptions in UpgradeTask

* DropCollection is a FAST_LANE action and should not need much time or else retry.

* Remove superflous addition of LdapFeature

Proudly brought to you by ASAN tests

* Fixed check for distributShardsLike sharding on _system database

* Fixed compile issue on tests

* Removed assertion that seems to be not correct yet on devel.

* Sort out google cloud storage as remote. (#9918)

* Add successful method to ClusterCommResult.
* Improve error forwarding for cluster internal communication.

* Feature/hotbackup list retries (#9924)

* retry hot backup listing for 2 minutes in cluster before giving up

* Enable api by default.

* always create statistics collections & indices & fishbowl

* fix broken list of non existing id (#9957)

* Fix compilation after manual merge.

* Fix another compilation problem.

* Yet more fixes for compilation.

* More compilation fixes.

* Removed forgotten, illegal if.

* Removed obsolete include
2019-09-11 13:54:59 +03:00
KVS85 436cdf0c9d
Update CHANGELOG 2019-09-11 13:17:18 +03:00
Max Neunhöffer 328f46e3d6 This merges hotbackup and atomic-db-creation into 3.5. (#9968)
* Squashed commit of feature-3.5/hotbackup_devel.

This puts hotbackup into 3.5.

* Port atomic-database-creation-2 to 3.5.

* Remove some wrongly ported code.

* Fix compilation.

* Fix a manual merge error.

* Remove a feature from the mocks which does not exist in 3.5.

* Add some code which was forgotten in manual merge.

* Fix a problem introduced in a manual merge.

* reuse function

* Address some whitespace issues that came up in review

* aardvark should not create the frontend collection

* create _frontend collection from c++

* recheckAndUpdate Callback in CollectionWatcher

* Wrong author ;)

* rm outdated todo

* Update lib/Basics/VelocyPackHelper.h

Co-Authored-By: Michael Hackstein <michael@arangodb.com>

* use logger unique id, use startup logger

* not needed

* optimized vector shardid method

* do not create _modules collection lazy anymre

* Formatting.

* Assert instead of if/TRI_ASSERT(false)

* Don't use exceptions as control structure

* Re-add READ_LOCKER that got lost in translation

* Fix audit log in case database creation fails early.

* legacy sharding

* Add CHANGELOG entry.

* Retry database cancellation indefinitely

* Do not use exceptions in UpgradeTask

* DropCollection is a FAST_LANE action and should not need much time or else retry.

* Remove superflous addition of LdapFeature

Proudly brought to you by ASAN tests

* Fixed check for distributShardsLike sharding on _system database

* Fixed compile issue on tests

* Removed assertion that seems to be not correct yet on devel.

* Sort out google cloud storage as remote. (#9918)

* Add successful method to ClusterCommResult.
* Improve error forwarding for cluster internal communication.

* Feature/hotbackup list retries (#9924)

* retry hot backup listing for 2 minutes in cluster before giving up

* Enable api by default.

* fix broken list of non existing id (#9957)

* Fix compilation after manual merge.

* Fix another compilation problem.

* Yet more fixes for compilation.

* More compilation fixes.
2019-09-11 13:13:54 +03:00
Michael Hackstein 9e76d995d0 Fixed and enabled an accidentially disabled assertion (#9970) 2019-09-11 10:10:48 +03:00
Heiko e99a7eea78 Bug fix 3.5/smart join and smart graph creation ui (#9910)
* added proper UI support for collections using smartGraphAttribute or smartGraphAttribute

* make key selection more clear

* added awesome ' : ' div

* fixed smart doc creation logic

* changelog
2019-09-09 21:39:09 +03:00
Jan 068d422d59 Bug fix 3.5/fix transaction errors (#9928)
* don't make index selectivity estimate requests fail inside cluster
transactions

* improve logging, and don't make transactions more robust

don't make transaction operations fail immediately if they cannot
acquire the transaction lock instantly. it is somewhat expected that
sometimes the garbage collection comes in-between and acquires locks
for a short amount of time - this should not lead to failures in
other operations on the transaction

* fix a race for transaction leases

* fix test failure

* moved functionality into shutdownExecute
2019-09-09 21:37:46 +03:00
Matthew Von-Maszewski 916cb42b16 Bugfix 3.5: Add object counts to arangoimport latency (#9937)
* port PR 9856 from 3.4 to 3.5. Add object counts to latency reporting.

* address code review issues
2019-09-09 21:37:08 +03:00
Jan 949f85497c improve handling of FILTERs with constant expressions (#9942) 2019-09-09 21:35:35 +03:00
Jan ecd45a802a Harden database creation against spurious "duplicate name" errors (#9950)
that were caused by other parallel operations lazily creating required
system collections in the same database.
2019-09-09 21:34:17 +03:00
Jan 4feb615de7 handle K_SHORTEST_PATHS where it was forgotten (#9955) 2019-09-09 21:32:58 +03:00
Jan 1d92a22f76 make smart graphs transaction-aware (#9911)
* make smart graphs transaction-aware

* more debugging, fix test failure
2019-09-06 20:31:49 +03:00
Jan 7eb000fe98 avoid lookup plus sequent insert/emplace for the fast path (#9904)
* avoid lookup plus sequent insert/emplace for the fast path

additionally add transaction id and more location information to
error messages which were previously undistinguishable

* Revert "avoid lookup plus sequent insert/emplace for the fast path"

This reverts commit 11b27c338940a9fc203dbdb35713845c407a902d.

* revert most stuff, only leave improved logging there
2019-09-05 20:07:37 +03:00
Jan 0fc5ee1454 Automatically turn values for deprecated startup option parameters `--log.use-microtime` and `--log.use-local-time` into equivalent option values of the new, preferred option `--log.time-format`. (#9914) 2019-09-05 19:31:40 +03:00
Jan 0fefe62d35 restore _users collection at the very end only (#9899)
* restore _users collection at the very end only,

because updating documents in _users may change the credentials
for the arangorestore user itself, which may lead to all follow-up
requests by arangorestore being rejected with "authorized"/"forbidden"

* updated CHANGELOG
2019-09-05 19:29:47 +03:00
Dronplane 85814c05f1 Bug fix 3.5/internal issue #633 (#9902)
* Fix for internal issue #633 (#9884)

* Made ANALYZER BOOST and MIN_MATCH non deterministic to prevent premature calls

* Returned Deterministic flag. Added context function implementation for cons arguments calls.

* Fixed filter volatility detection

* Added assertion

* Fixed formatting.  Removed redundant checks.

* Applied review suggestion

Co-Authored-By: Jan <jsteemann@users.noreply.github.com>

* Added CHANGELOG record

* Update CHANGELOG
2019-09-05 12:21:29 +03:00
Michael Hackstein 5771502a83 Added cleanup for analyzer test and view test (#9908)
* Added cleanup for analyzer test and view test

* Update tests/js/client/shell/shell-analyzer-rest-api.js

Fixed wrong command usage
2019-09-04 20:21:22 +03:00
Jan ac221ae1b8 fix audit test (#9887)
* fix audit test

* fix compile error in community version

* try to harden view test
2019-09-04 19:24:25 +03:00
Kaveh Vahedipour 8e04c84380 [3.5] drop collection action timeout (#9894)
* DropCollection is a FAST_LANE action and should not need much time or else retry.

* DropCollection is a FAST_LANE action and should not need much time or else retry.

* Update CHANGELOG
2019-09-04 18:52:29 +03:00
KVS85 f25baf1ecb Fix rspec timeout in Windows with disableMonitor 2019-09-04 17:36:18 +02:00
Jan 2fe0527d25 check for duplicate server endpoints on cluster startup (#9863)
* check for duplicate server endpoints on cluster startup

* Update arangod/Cluster/ServerState.cpp
2019-09-03 11:49:08 +03:00
Jan f8c156a44f make graphs transaction-aware (#9855)
* make graphs transaction-aware

* simranification

* fix tests with mmfiles
2019-09-02 22:06:10 +03:00