1
0
Fork 0
Commit Graph

16952 Commits

Author SHA1 Message Date
Jan 304948f30d
when creating a new database with an initial user, set the database p… (#8185) 2019-02-18 16:16:23 +01:00
Jan fbc1e5b35f
use PutUntracked (#8126) 2019-02-13 16:04:27 +01:00
Simon 51734e363f Properly translate cluster comm errors (#8152)
(cherry picked from commit 9151921b4524f2775ae5c69cae3f49fa4f9d703b)
2019-02-12 18:07:43 +01:00
Jan e640e3f52a
issue #8137: NULL input field generates U_ILLEGAL_ARGUMENT_ERROR (#8139) 2019-02-12 17:56:38 +01:00
Jan 078e1d9b9d
fixed issue #8108 (#8111) 2019-02-05 15:50:47 +01:00
Kaveh Vahedipour e8d39666fd fixing failedserver/leader/follower chain for mishap (#8089)
* fixing failedserver/leader/follower chain for mishap
* change log mention
2019-02-05 13:55:19 +01:00
Jan 4ee7ff1932
yet some more replication tests adjustments (#8101) 2019-02-04 16:53:15 +01:00
Tobias Gödderz db70847ab1 [3.4] Sorted COLLECT: avoid nullptr deref when skipping and fix non-invalidated input variables (#8037)
* Added 2 regression tests

* Fixed test expected data

* Fix nullptr dereference

* Fix handling of non-invalidated input variables

* Try a less implicit fix

* Updated CHANGELOG
2019-02-04 16:38:26 +01:00
Jan 8a16a4b3ae update velocypack (#8075) 2019-01-31 17:31:54 +01:00
Jan 05bcb3d7d1
Bug fix 3.4/streaming cursors v8 issues (#8080) 2019-01-31 17:25:28 +01:00
Jan 675bb78552
more debugging for replication (#8062) 2019-01-30 21:23:00 +01:00
Jan 4a1f25ed46
use JobGuard when querying users from DB in cluster (#8057)
* use JobGuard when querying users from DB in cluster

* fix test crashes
2019-01-30 12:00:50 +01:00
Frank Celler 84802fdc0f Feature/maskings (#8006) 2019-01-28 15:04:23 +01:00
Simon 1c77bc37d6 Reduce timeout for write-lock (#8036) 2019-01-28 09:23:52 +01:00
Simran 79c3a34d6b Doc - Deprecate --server.jwt-secret startup option (3.4) (#7961) 2019-01-28 09:12:43 +01:00
Jan 75ab4ac3dc
Bug fix 3.4/misc issues (#8012)
* added missing return statements

* only spend up to 10 seconds for initially fetching the list of collections in arangosh

fetching the list of collections is a blocking operation, and the default timeout for this is very high.
If the server is blocked by whatever reason, then the shell is unusable until the collections list request returns.
To avoid this, the initial request is limited to 10 seconds, so the shell can be used afterwards.

* if an index cannot be used for sorting, its sort

cost was previously returned as 0. this will in fact favor
indexes that can be used for filtering but not for sorting
over indexes that can be used for both.

this change is to report the sort cost for indexes that
cannot be used for sorting to n * log(n), where n is the
number of documents that optimizer expects to come out of the
index after filtering
2019-01-28 08:55:06 +01:00
Jan 15852cb491
Bug fix 3.4/address jenkins fails (#7985) 2019-01-22 12:32:17 +01:00
Jan d394a6b988
fix scrambling of AstNodes that were in use multiple times (#7978) 2019-01-19 18:54:08 +01:00
Jan 3c828347dc
do not simplify non-deterministic conditions (#7927) 2019-01-19 18:52:17 +01:00
Jan 244eed0710
added "peakMemoryUsage" in query results figures, (#7981) 2019-01-19 18:50:55 +01:00
Simon 1f86b7a2b5 Fix stream cursor bug (#7958) 2019-01-16 13:27:57 +01:00
KVS85 dfad8906d9 Bug fix/active failover fix windows 3.4 (#7959)
* Backport active-failover fix for Windows into 3.4

* Backport stop/resume for Windows from devel

* Backport changes from devel into tests also

* Fix tests

* Remove forgotten whitespaces
2019-01-16 11:08:48 +01:00
Tobias Gödderz d48495c195 [3.4] Foxx queue jobs hanging after Foxxmaster crash (#7921)
* Fixed bug where the Foxxmaster doesn't reset jobs after a crash when it should, or a non-master coordinator removes jobs in progress during startup

* Added a regression test

* Removed foxxmaster test from greylist

* Updated CHANGELOG

* Fixed non-maintainer compile
2019-01-14 16:06:48 +01:00
Jan d5592def42
fix issue #7933: Regression on ISO8601 string compatibility in AQL (#7934) 2019-01-14 13:50:50 +01:00
Kaveh Vahedipour 7b37922f92 releveling logging in maintenance module (#7925) 2019-01-10 12:15:48 +01:00
Matthew Von-Maszewski 474f0cde31 Bug fix 3.4/scheduler empty reformat (#7872)
* added check for empty scheduler

* removed log, old is 1 not 0

* require running in this thread

* test

* added isDirect to callback

* signature fixed

* added drain

* added allowDirectHandling

* disabled for testing

* Add ExecContextScope object to direct call.

* try alternate initialization of ExecContextScope

* remove ExecContextScope, no help.  try _fifoSize as part of direct decision.

* strand management to minimize reuse of same strand per listen socket

* blind attempt to address Jenkins shutdown lock up.  may remove quickly.

* add filename and line to existing error log message

* Adjust queueOperation() to stop accepting items once isStopping() becomes true.

* revert previous check-in to MMFilesCollectorThread.cpp

* big reformat

* fixed merge conflicts

* Add CHANGELOG entry.
2019-01-08 20:39:42 +01:00
Kaveh Vahedipour 536f5f22a7 [3.4] fix create collection timeouts test agent (#7831)
* should not neglect the initial async request for read lock acquisition

* fixed nullptr

* correct timeout

* corrected error  handling in getReadLock

* reverted "test fix"

* should remove async request from ClusterCom
2019-01-08 17:02:24 +01:00
Lars Maier bc9f9ed14d Bug fix 3.4/jwt base64url encoded (#7904)
* Use base64url encoding and decoding for jwt header and body as specified in the rfc.

* Added changelog.
2019-01-08 16:55:17 +01:00
Jan 9c099ba5da
multiplex REPLICATION-APPLIER-STATE files for RocksDB engine (#7897) 2019-01-08 14:26:09 +01:00
Jan adf76491b0
added AQL function CHECK_DOCUMENT (#7841) 2019-01-04 15:33:20 +01:00
Jan a4a7867451
Bug fix 3.4/arangorestore add cleanup duplicate attributes (#7876) 2019-01-04 15:26:11 +01:00
Lars Maier e1dcad0153 Feature 3.4/jwt keyfile (#7864)
* Added jwt-keyfile option and warning for old option.
* CHANGELOG
* Add trimming to --auth.jwt-secret-keyfile
* Adjust some comments.
2019-01-02 21:45:18 +01:00
Jan a14f6dd573
prevent duplicate attributes being generated by AQL queries (#7836) 2019-01-02 12:37:47 +01:00
Jan 762c0fd7c6
fixed issue #7834 (#7845) 2019-01-02 11:09:06 +01:00
Frank Celler 9477af198b big reformat 2018-12-26 00:57:05 +01:00
Dan Larkin-York 05d158a689 Fix issue with geo iterator reset. (#7838) 2018-12-23 00:41:37 +01:00
Jan 7c42430f95
suppress a warning message about non-optimal MMFiles collection data structures while doing WAL recovery, not just while upgrading. (#7812) 2018-12-20 16:52:02 +01:00
Tobias Gödderz b8c2d0d01a [3.4] Fix heartbeat thread hanging during shutdown (#7678)
* Abort registering agency callbacks when stopping

* Reduce diff

* Reduce diff

* Added two nullptr checks
2018-12-20 16:40:58 +01:00
Simon 1498c08084 fix restrictCollections parameter on database level replication (#7808) 2018-12-19 18:00:10 +01:00
Jan b5e844fe33
fixed issue #7749 (#7797) 2018-12-19 14:17:54 +01:00
Jan 0574393d52
fixed issue #7757 (#7806) 2018-12-19 14:06:11 +01:00
Jan f1b0a803eb
do not use an internal error for JSON parse errors (#7800) 2018-12-19 12:54:20 +01:00
Jan f39c58e06c
fixed issue #7763 (#7796) 2018-12-19 09:56:05 +01:00
Andrey Abramov edb2ca4800
update ArangoSearch consolidation policy (#7801) (#7802) 2018-12-19 02:34:17 +03:00
Andrey Abramov 50bed56766
fix issue and add test (#7790) 2018-12-18 17:33:08 +03:00
Wilfried Goesgens 7fa0cdc41b Feature/drop before win7 support in compiler (#6681) (#7751) 2018-12-17 12:06:53 +01:00
Kaveh Vahedipour 9e83e1696d [3.4] allow for quicker start of actions when previusly completed (#7736)
* shard versioning
* one incompatible call fixed
2018-12-17 10:36:50 +01:00
Max Neunhöffer 1c4430afdf
Adjust two error codes (TRI_ERROR_SHUTTING_DOWN). (#7779) 2018-12-17 09:50:53 +01:00
Kaveh Vahedipour 92b7df5a1d [3.4] equalising devel and 34 (#7754)
* equalising devel and 3.4 in agency/cluster
* missing header
2018-12-17 09:06:35 +01:00
Michael Hackstein ddd5226d13
Feature3.4/improve edgeindex covered (#7750)
* Allow the RocksDB edge index to return the already covered opposite vertex.

* Updated tests
2018-12-12 22:03:47 +01:00
Michael Hackstein bc65e79b02
Bug fix 3.4/fix tombstones (#7758)
* fixes a rare situation where replication could require identical lock twice

* Updated changelog
2018-12-12 22:01:27 +01:00
Jan 3fa3170462
fix invalid handling of `_lastValue` in case of multiple coordinators (#7735) 2018-12-12 12:22:52 +01:00
Jan f43cc15bfc
fixed item 3 of issue #7009 (#7746) 2018-12-12 11:38:18 +01:00
Dan Larkin-York 6cc70cd615 [3.4] Ignore invaild geo coordinates when indexing. (#7723) 2018-12-11 09:24:50 +01:00
Jan e6983a35ed
backport missing changes to 3.4 (#7717) 2018-12-10 16:45:01 +01:00
Lars Maier b7313654da Someone (me) forgot to rename the field everywhere. (#7716) 2018-12-10 16:07:51 +01:00
jsteemann b64826065c fix LDAP tests 2018-12-10 15:57:21 +01:00
Kaveh Vahedipour 8557fdaf22 agency failed to start in log level trace (#7687) 2018-12-10 15:31:38 +01:00
Kaveh Vahedipour 1b75220a1b [3.4] Early sort out system collections for maintenance (#7589) 2018-12-10 15:16:35 +01:00
jsteemann f5f059e715 Merge branch '3.4' of https://github.com/arangodb/arangodb into 3.4 2018-12-10 13:35:13 +01:00
jsteemann 538a877c1f accept response code 201 (Created) as a valid response 2018-12-10 13:34:50 +01:00
Tobias Gödderz a1b925c655 Added tests for parseVersion (#7676) 2018-12-10 12:47:20 +01:00
Jan d894986cd9
do not optimize away sort clauses when it is unsafe to do so (#7694) 2018-12-07 16:23:13 +01:00
Jan 1a4a6e7d2b
minor fixes (#7691) 2018-12-07 16:22:32 +01:00
Jan 2f48d03c19
speed up remove ops for RocksDB engine (#7638)
* speed up remove ops for RocksDB engine

* add more tests and improve queries a bit for single remote AQL operations
2018-12-06 17:48:42 +01:00
Jan 677522991e
Feature/internal 3306 (#7683) (#7688) 2018-12-06 17:46:58 +01:00
Jan b43b600a33
try again in case of a conflict when updating users (#7615) 2018-12-06 16:36:05 +01:00
Max Neunhöffer 3a7df19189 Fix super user JWT token behaviour with non-ex. db. (#7656) 2018-12-05 16:50:41 +01:00
Heiko 8d171b2c51 parse version fix (#7652) 2018-12-05 13:01:24 +01:00
Heiko a94a402dde added MultiPolygon GeoJSON constructor function (#7634) 2018-12-04 17:54:34 +01:00
Dan Larkin-York 743ede87ea Disable warning about persistent IDs during upgrade procedure. (#7611) 2018-12-04 09:02:41 +01:00
jsteemann 0b9a8da7af fix segfault 2018-12-04 08:56:40 +01:00
Jan a228644f21 dont keep JS module directory (#7619) 2018-12-03 18:10:22 +01:00
Max Neunhöffer dd5c830f2f
Call license key check. (#7594)
* Call license key check.

* Add CHANGELOG entry.
2018-12-03 17:23:32 +01:00
jsteemann 405de24c54 improve debug messages 2018-12-03 16:40:48 +01:00
Jan 574d9c2d26
dont fail when restoring a cluster dump into a single server (#7596) 2018-12-03 16:18:27 +01:00
Lars Maier 4bf2302150 Do nothing in phaseTwo if leader has not been touched. (#7579)
* Do nothing in phaseTwo if leader has not been touched.

* Drop follower if it refuses to cooperate.

This is important since a dbserver that is follower for a shard will
after a reboot think that it is a leader, at least for a short amount
of time. If it came back quickly enough, the leader might not have
noticed that it was away.
2018-12-02 13:14:46 +01:00
Andrey Abramov de96a89ba7
treat all iresearch scores as float_t for 3.4 (#7573)
* treat all iresearch scores as float_t for 3.4

* cleanup

* attempt to fix tests

* another attempt to fix tests
2018-12-01 01:19:34 +03:00
Frank Celler a86fd3dd67 fixed init 2018-11-30 21:17:38 +01:00
Frank Celler 067606da3a
Bug fix 3.4/bad leader report current (#7574)
* Initialize theLeader non-empty, thus not assuming leadership.

* Correct ClusterInfo to look into Target/CleanedServers.

* Prevent usage of to be cleaned out servers in new collections.

* After a restart, do not assume to be leader for a shard.
2018-11-30 21:11:48 +01:00
Jan 836954b8e3
allow using UTF8 filenames for UUID directory (#7569) 2018-11-30 17:25:50 +01:00
Andrey Abramov 5d8c07286a ensure UnorderedRefKeyMap keys are valid after copying (#7549) (#7558) 2018-11-29 20:08:27 +01:00
Andrey Abramov 2c36657a9e improve logging in ClusterInfo::loadPlan (#7511) (#7532) 2018-11-29 20:08:11 +01:00
Dan Larkin-York dbd59e19cd [3.4] Persist and check default language selection (#7490) 2018-11-29 19:51:19 +01:00
Lars Maier 2ed283ef3c Fixing broken UI. (#7551) 2018-11-29 19:31:45 +01:00
Jan 2c3542d41e
fixed issue #7522 (#7554) 2018-11-29 19:26:42 +01:00
Simon 4132870e49 Document RocksDB exclusive option (#7517) (#7538) 2018-11-29 18:42:43 +01:00
jsteemann 67dc735664 Revert "fixed some asan search stuff (#7543)"
This reverts commit 4ac9fde1d4.
2018-11-29 17:27:15 +01:00
Jan b708edd059
fix assertion (#7526) 2018-11-29 15:43:06 +01:00
Tobias Gödderz f61ccd4047 Reload Foxx routes during startup (#7531) 2018-11-29 15:31:40 +01:00
Andrey Abramov e67c2cac06
avoid calling cluster related functions while instantiating views on … (#7509) (#7528)
* avoid calling cluster related functions while instantiating views on a db server

* minor cleanup
2018-11-29 17:18:34 +03:00
Heiko 4ac9fde1d4 fixed some asan search stuff (#7543) 2018-11-29 15:08:35 +01:00
Simon 933ca8a775 Bug fix/restore index refactor (#7470) (#7491)
(cherry picked from commit d0efd95a37)
2018-11-29 14:08:29 +01:00
Kaveh Vahedipour 3225a7b16d [3.4] Feature/engine version added to agent configuration (#7481)
* agents' is obtained from leader's configuration
* corrections in Supervision for advertised endpoints
* change log
* Updated Documentation for cluster/health.
* Unified naming convention.
* Fixed missing update of volatile fields.
* Set version in right order.
* Removed debug output.
* Fixed jslint - missing ;
2018-11-29 12:00:47 +01:00
Max Neunhöffer 804ac13db2
SynchronizeShard's potentially long running while loops yield for shutdown (#7523) 2018-11-29 11:47:16 +01:00
Max Neunhöffer b74358a3dd
Improve log messages. (#7520) 2018-11-29 11:30:43 +01:00
Jan f1086bac4f
added option `--rocksdb.enforce-block-cache-size-limit` (#7508) 2018-11-28 20:40:20 +01:00
Jan c0d05ce869
Bug fix 3.4/use lock for pregel stats (#7512) 2018-11-28 20:26:32 +01:00
Max Neunhöffer 10b6813f01
Fix index creation (port from devel). (#7443)
* Fix index creation in cluster.

Simplify and correct error handling logic in ensureIndexCoordinator.

* After index creation, wait until index appears.

We wait until the Supervision has removed the isBuilding flag and
the coordinator has reloaded the Plan.

* More index handling fixes.

* Explicitly remove isBuilding flag in coordinator (again).

* Fix order of arguments in REPLACE call.

* Take out debugging output again.

* Fix catch tests by holding mutex shorter.

* Better mutex handling in ClusterInfo.
2018-11-28 16:58:27 +01:00
Jan 2d4b38600f
prevent operations from overtaking each other (#7498) 2018-11-28 14:30:54 +01:00
Andrey Abramov 30fe53e34e
Bug fix/internal issue #502 (#7480) (#7487)
* update iresearch

* update iresearch
2018-11-27 23:53:27 +03:00
Simon 8ddb9a063b Micro-Optimize AQL CXX calls (#7486) 2018-11-27 20:22:18 +01:00
Vasiliy 3caed3eb9a issue 506.3: backport 3.4: issue 506.3: use camel-case configuration parameter names consistntly, add a configuration version property to iresearch view meta (#7476)
* issue 506.3: backport 3.4: issue 506.3: use camel-case configuration parameter names consistntly, add a configuration version property to iresearch view meta

* backport: ensure meta version is supported

* backport: hide 'version' property from non-persistence json
2018-11-27 18:35:34 +03:00
Vasiliy f701c6d681 issue 506.2: backport 3.4: add optimization to not reexecute a primary-key filter if a match was already found (#7461)
* issue 506.2: backport 3.4: add optimization to not reexecute a primary-key filter if a match was already found

* backport: explicitly check type of instance of the primary-key filter

* backport: return non-null prepared filter and convert check to assert
2018-11-27 18:29:41 +03:00
jsteemann 5fa0de04a9 Merge branch '3.4' of https://github.com/arangodb/arangodb into 3.4 2018-11-27 13:44:35 +01:00
jsteemann f907dcebbd increase shutdown time 2018-11-27 13:44:18 +01:00
Lars Maier 154d449061 Export Version and Engine in Cluster Health. Additionally export `versionString` in registered Servers. (#7463) 2018-11-27 09:15:38 +01:00
Dan Larkin-York 00c060c884 [3.4] Fix end condition (hasMore) for EnumerateViewNode. (#7278)
* Fix end condition (hasMore) for EnumerateViewNode.

* Fix crashes.

* Some more fixes.

* eliminate code duplication
2018-11-27 00:41:29 +03:00
Jan ffc823e1c8
Bug fix 3.4/backport optimizations (#7434) 2018-11-26 19:16:05 +01:00
Tobias Gödderz a83300dc29 Fix error handling in case ClusterCommResult.result == nullptr (#7355) 2018-11-26 16:22:43 +01:00
Vasiliy b0d11022b9 issue 506.1: backport 3.4: address issue with multiple identical document insertions on rocksdb recovery (#7453) 2018-11-26 17:17:47 +03:00
Max Neunhöffer 6bd61760f2
Fix moving of shard leaders. (#7446)
* Ungreylist move shard test.
* Move leader shard: wait until all but the old leader are in sync.
* Increate moveShard timeout to 10000 seconds.
* Add CHANGELOG.
* Fix compilation.
* Fix a misleading comment.
2018-11-26 15:05:56 +01:00
jsteemann 9658300f11 revert Scheduler changes 2018-11-26 09:54:41 +01:00
Simon 96346a12d0 switch default message for requireFromPresent (#7439) (#7450)
(cherry picked from commit f90b48f792)
2018-11-26 09:16:48 +01:00
Andrey Abramov 822e15e770
issue 153: ensure views are dropped in Agency when database is dropped in cluster, minor fixes (#7370) (#7451)
* issue 153: ensure views are dropped in Agency when database is dropped in cluster, minor fixes

* backport: add test to ensure views are dropped when database is dropped from plan, fix some issues in ClusterInfo

* optimize primary key lookups in ArangoSearch

* fix test

* Add JS tests

* temporary comment optimizations

# Conflicts:
#	arangod/Cluster/ClusterInfo.cpp
2018-11-26 00:33:58 +03:00
Michael Hackstein 8098bb4eed
Bug fix 3.4/syncing of followers (#7377)
* Added some DEBUG output for replication rest handler

* Some more debug logging.

* Increased the priority of the ReplicationHandler. This way we will not get stuck with locks that cannot be canceled. Also cancel the lock on the correct database.

* Added extensive log output for replication thins

* Added tombstones to RestReplicationHandler. In a very unlikely case the cancel of a lock can be executed BEFORE the code that actually registers the lock, in this case we will now write a tombstone and do not lock.

* Revert "Added extensive log output for replication thins"

This reverts commit 6d4e37ea1e59e3b3457336019cc7dbc4c979504d.

* Added extensive log output for replication things, now in ERR level instead of MAINTAINER only

* Now actually use hours for synchronization

* React to errors under soft lock if they show up.

* Added a retry loop to increase the read-lock timer.

* Added more timeing output in RocksDB collection internals to figure out why the followers are dropped

* Tweaked RocksDB options

* Revert "Tweaked RocksDB options"

This reverts commit 2bf9c43280beda4792c47d079387fe5154cdd896.

* Removed debug output

* Applied all requested changes by goedderz

* Deleted unused variable
2018-11-23 16:08:27 +01:00
Wilfried Goesgens d5f92f87c3 fix none reply 2018-11-23 11:29:00 +01:00
Wilfried Goesgens 4bbd6a02bb Bug fix/less exceptions (#7385) (#7415) 2018-11-23 11:15:36 +01:00
Wilfried Goesgens c50d346453 add alternative to ClusterInfo::getCollection() that doesn't throw (#7413)
* add alternative to ClusterInfo::getCollection() that doesn't throw (#7339)

* handle more potential nullptrs, fix try/catch scope
2018-11-23 11:15:25 +01:00
Wilfried Goesgens d4af8fe287 remove enterprise-gotos (#7375) (#7414) 2018-11-23 11:14:21 +01:00
Simon ebad3c3c83 Fix restore of views, add --view option (#7425) (#7427)
(cherry picked from commit c584527d79)
2018-11-23 09:11:33 +01:00
jsteemann 1b4eef270c make message a debug message instead of an error message 2018-11-22 18:46:42 +01:00
Jan b363372c63
Bug fix 3.4/remove shutdown assertion (#7387) 2018-11-22 15:36:06 +01:00
Jan 19dc2ca0b7
yet more micro optimizations (#7399) 2018-11-21 17:09:16 +01:00
Simon ef239cbe4e Make recovery more reliable (#7297) (#7367) 2018-11-21 16:51:38 +01:00
Jan Christoph Uhde 8441368954 disable RocksDB indexing for some secondary index operations (#7393) 2018-11-21 15:50:36 +01:00
Kaveh Vahedipour 860fa21219 Bug fix 3.4/index readiness (#6716)
* backport of test data generation for maintenance from devel
* 3.4 working
* fixing index use in cluster while still being built
* fixed broken views
* correct 200 for ensureIndex
* merge with 3.4
* agency comm to handle replace in array
* supervision changes
* cluster info's exsureIndex
* 3.4 ready
* timeout
* missing files from origin
* neunhoef complaints
* bogus entry
* no need to wait for current once again
* no longer necessary. done in IndexFactory now
* correct comments
* left overs
* dead code revived
* Move CHANGELOG entry to the right place.
2018-11-21 14:41:36 +01:00
Jan 637ffada86
fix assertion failures for MMFiles operationsQueue state on shutdown (#7389) 2018-11-21 09:33:38 +01:00
Dan Larkin-York a7c9374527 Hide internal link properties (#7209) 2018-11-20 18:00:14 +01:00
Jan a5f4fe4a22
dont update lastProcessedTick too early (#7381) 2018-11-20 17:54:30 +01:00
Jan d27c4cc113
Bug fix 3.4/aql speedup (#7378) 2018-11-20 16:08:16 +01:00
Simon 5124633e6a Faster index creation (#7348) 2018-11-20 13:41:01 +01:00
Jan eda236f968
AuthenticationFeature::isEnabled() is not doing what is expected (#7373) 2018-11-20 11:30:10 +01:00
jsteemann dcf6cde1f4 fix assertion 2018-11-19 14:48:22 +01:00
Tobias Gödderz 3d1c643e23 [3.4] MMFiles replication: get followers under lock (#7298)
* Fix resign order

* Fixed a typo

* Get followers later, add TODOs

* Added a callback parameter to collection insert methods

* Get followers under the lock if necessary

* Extracted the replication of inserts into a separate method

* Move shortcut into replicate method

* Added callbacks for remove, replace and update

* Added missing overrides

* Extracted replication code from modifyLocal and removeLocal

* Update followers under lock also during replace, update, remove

* Fix changes from the last commit for update/replace

* Update comments, add asserts

* Remove changes for document-level locks that will be done in another PR

* Unify replication

* Adapt log messages to the devel ones

* Move common methods from its descendants to TransactionCollection, fix Mock on the way

* More IResearch test / mock fixes

* Relax asserts for nested transactions

* Reformat

* Fix non-babies remove and modify replication
2018-11-19 13:03:07 +01:00
Dan Larkin-York 4210d9eab6 [3.4] Updates to collection versioning. (#7260) 2018-11-19 09:45:09 +01:00
Matthew Von-Maszewski 4362137ba4
Bugfix 3.4: Null pointer defense in Scheduler::post(callback) (#7285)
* defense against the dark arts (nullptr in _ioContext)

* move incQueued() so that we can imply race state of _ioContext.

* adjust to meet Jans expectations

* jsteeman noticed that queue count is not considered before shutdown ... bad

* add JobGuard object to manage working count.  should hold shutdown a tad longer.

* TEMPORARY HACK:  need to validate problem that is randomly occurring in Jenkins automation

* TEMPORARY HACK 2: trying to isolate an acceptable sequence.

* TEMPORARY HACK 3: trying to isolate an acceptable sequence.

* TEMPORARY HACK 4: so close ... seem to have all the moving parts isolated.  Come on Jenkin!

* shutdown now orderly finishes everything already in fifo queues and active on threads.  Then forces any late requests to execute on callers thread.
2018-11-16 12:20:00 -06:00
Max Neunhöffer c005e0b0f0
Improve error reporting in maintenance. (#7340)
* Improve error reporting from maintenance.
* Fix compilation.
* Tiny polishing fix.
2018-11-16 10:25:55 +01:00
Lars Maier ea7b476ab6 [3.4] Endpoints via _system (#7344)
* Allow accessing _api/cluser/endpoints as authenticated user via the _system database.
* Removed start.sh
2018-11-16 10:01:42 +01:00
Jan 812c9223fe
fix queries that refer to COLLECT variables from inside COLLECT (#7333) 2018-11-15 15:10:56 +01:00
Max Neunhöffer dafb0d1a06
supervision bug fix to start with clean transient store (#7323) 2018-11-15 11:24:53 +01:00
Andrey Abramov 2a1542fdc2
Feature/arangosearch pk endianness (#7306) (#7312)
* refactor arangosearch pks

* minor refactoring

* store PK as BigEndian since it leads to more compact index representation

* force iresearch to not to use libbfd

* fix tests
2018-11-14 15:56:40 +03:00
Max Neunhöffer 805f7a7621
Fix timeout in cluster operation in create and drop collections. (#7300)
* Fix loophole.
* Fix inquiry case of id not found: 404.
* Also handle correctly in AgencyComm.
* Fix agency tests.
* Fix error handling in dropCollectionOnCoordinator.
2018-11-14 10:02:26 +01:00
Jan ccc064433b
Bug fix 3.4/aql micro optimizations (#7286) 2018-11-13 11:55:04 +01:00
Jan 8bcb1a310c
fix failing non-deterministic query-stream test (#7296) 2018-11-13 11:37:09 +01:00
jsteemann 046dac4234 fix define name 2018-11-12 13:09:48 +01:00
jsteemann bce1f51b8c simplify conditions 2018-11-12 11:14:19 +01:00
Andrey Abramov 6b7ea6cb9b
Feature/arangosearch optimize documents reading (#7280) (#7284)
* optimize reading documents from arangosearch index

* simplify code

* get rid of useless interface

* even more simplifications

* update iresearch to commit 40128bf50cea3546313fbfd71e5a32bb88e418a2

* optimize PK reading

* cleanup

* minor refactoring

* address review comments

* micro optimization
2018-11-09 20:01:13 +03:00
Wilfried Goesgens ccc43cd932 Bug fix 3.4/remove enterprise goto (#7274)
* add more information when timeout failing the index creation tests

* rather use null-pointers than try/catch for control flow
2018-11-08 16:27:51 +01:00
Dan Larkin-York 8bd754b9ad [3.4] Fix nullptr dereference in SynchronizeShard. (#7267) 2018-11-08 14:12:33 +01:00
Dan Larkin-York 0b77f6f6cf Fix error message when adding link to non-existent collection. (#7269) 2018-11-08 14:26:45 +03:00
Andrey Abramov dd31bb1186
make ArangoSearch error messages more descriptive (#7257) 2018-11-07 21:03:04 +03:00
jsteemann 2befce946e properly initialize member 2018-11-07 15:49:57 +01:00
Andrey Abramov 4873ef79d5
Bug fix 3.4/internal issue #6289 (#7250)
* improve troubleshooting

* fix tests

# Conflicts:
#	arangod/IResearch/IResearchViewBlock.h
#	tests/IResearch/ExpressionContextMock.cpp
#	tests/IResearch/ExpressionContextMock.h
2018-11-07 16:43:08 +03:00
Simon 0d955554f2 Use shared_ptr for LogicalCollection (#7220) (#7244) 2018-11-07 10:43:08 +01:00
Simon f4a1f15964 Simplify dropDatabaseCoordinator & fix some bugs (#7211) (#7243) 2018-11-07 10:41:02 +01:00
Matthew Von-Maszewski d927e8ebeb
Bugfix 3.4: revert recently added condition variable in ClusterCommThread stop (#7239)
* remove recent _activeThreadCondition. it made things worse. moved all ClusterCommThread methods to end of file to ease review.

* attempt at avoiding Scheduler io_context being nullptr in late shutdown steps

* manually revert last change since bug is realy about devel branch not 3.4 branch
2018-11-06 13:43:51 -06:00
Jan 2f9f168656
try not to throw so many exceptions from Supervision (#7226) 2018-11-06 18:00:45 +01:00
Tobias Gödderz a194326688 Restore /_api/view to return internal view names again (#7221) 2018-11-06 11:41:43 +01:00
Dan Larkin-York e5243f9254 [3.4] Upgrade old MMFiles collections for compatibility with ArangoSearch (#7133) 2018-11-06 11:12:54 +01:00
Matthew Von-Maszewski d4c8b43024
test to verify communication thread has fully exited before saying ClusterComm is stopped. (#7232) 2018-11-05 16:31:33 -06:00
Vasiliy 1ba23cd39b issue 496.5: backport 3.4: minor API cleanup and error reportin enhancements, update iresearch to commit d69f7bd184e009da7bf0a478efd34a0c85b74291 (#7217)
* issue 496.5: backport 3.4: minor API cleanup and error reportin enhancements, update iresearch to commit d69f7bd184e009da7bf0a478efd34a0c85b74291

* add workaround for shell-collection-rocksdb-noncluster.js::testSystemSpecial test failure

* fix typo
2018-11-05 16:17:41 +03:00
Matthew Von-Maszewski 1c3672be75
revert accidental check-in of thread delete constant edit (#7208) 2018-11-04 10:36:36 -05:00
Vasiliy d644561f1f issue 496.4.1: backport 3.4: move StorageEngine-specific flag out of the genric API and closer to the storage engine (#7213)
* issue 496.4.1: backport 3.4: move StorageEngine-specific flag out of the genric API and closer to the storage engine

* address merge issue
2018-11-04 16:52:54 +03:00
Simon cf86d9bbc8 Fix a crash in DBServerAgencySync (#7204) 2018-11-03 20:19:04 +01:00
Simon 9c53d045be Server stream cursor (#7186) (#7210) 2018-11-03 20:17:52 +01:00
Jan 8f1ce5b396
fix issues found by codescan (#7198) 2018-11-02 18:53:34 +01:00
Simon 1d2389dff1 Bug fix 3.4/missing vocbase release (#7203) 2018-11-02 16:25:49 +01:00
Jan eb3deb578f
smaller changes for replication (#7201) 2018-11-02 15:47:49 +01:00
Jan 5ea7d20863
add error checking (#7199) 2018-11-02 15:23:01 +01:00
Jan 452c70acdd
fix premature replicatin context deletion in case the context has no iterators (#7187) 2018-11-02 12:14:19 +01:00
Vasiliy 850919178f issue 496.3: backport 3.4: move more coordinator-related logic out of TRI_vocbase_t, rename some arangosearch view configuration parameters, remove some consolidation policies, update iresearch to revision 6fd9760d81b136f769e277ea5b8f53996ed7a1ca (#7167)
* issue 496.3: backport 3.4: move more coordinator-related logic out of TRI_vocbase_t, rename some arangosearch view configuration parameters, remove some consolidation policies, update iresearch to revision 6fd9760d81b136f769e277ea5b8f53996ed7a1ca

* address merge issue

* backport: remove code causing nullptr access

* invalidate payload for each field in FieldIterator before setting a value

* address compilation issues
2018-11-01 23:12:39 +03:00
Jan 98e4f26922
add separate option `--query.slow-streaming-threshold` (#7182) 2018-10-31 19:01:22 +01:00
Jan 023ca6dc33
Bug fix 3.4/patch slave collection count (#7156) 2018-10-31 17:20:46 +01:00
Simon f2f4a0fdaf Truncate Fix (Nr 6) (#7176) 2018-10-31 16:32:00 +01:00
Max Neunhöffer 42fd0825ab
Fix timeouts for write operations from coordinator to leader. (#7081)
* Improve logging on coordinator when doing `arangorestore`.

* Return more error information in `mergeResults`.

* Longer timeout for communication coordinator -> leader for writes.

This is taking into account possible write stops from followers needed
to get in sync.

* Fix compilation.

* Get rid of numbers in exception log messages.

* Fix compilation.

* Fix indentation.
2018-10-31 14:39:48 +01:00
Andrey Abramov 8225003861
[3.4] arangosearch speedup removals (#7158)
* Feature/arangosearch speedup removals (#7134)

* speedup document removals and optimize data model

* fix invalid constexpr

* reduce number of heap allocations for removals (#7157)
2018-10-31 15:54:16 +03:00
Jan aa385c2bbc
increase the maximum allowed number of collections in an AQL query (#7155) 2018-10-31 10:08:32 +01:00
Vasiliy 2458705607 issue 496.2: backport 3.4: allow customization of segment size limits on arangosearch view creation, minor code cleanup (#7141)
* issue 496.2: backport 3.4: allow customization of segmentsize lmts on arangosearch view creation, minor code clanup

* backport: fix incorrect condition
2018-10-30 23:41:15 +03:00
Simon f2602cb96f Remove unused bindings (#7142) 2018-10-30 19:41:45 +01:00
Matthew Von-Maszewski 87c4d99eea Bugfix 3.4: Allow libcurl time to retry DNS request (#7126)
* open up connect limit to allow one DNS retry

* add CHANGELOG entry for dns retry fix

* update warning message wording

* Add lock line that was missed in recent scheduler merge
2018-10-30 18:39:48 +01:00
Michael Hackstein b280142efa
Revert "fixes some misbehaviour within the coordinator agency callbacks (#7104)" (#7150)
This reverts commit 9ee7a0e955.
2018-10-30 16:48:56 +01:00
Heiko 9ee7a0e955 fixes some misbehaviour within the coordinator agency callbacks (#7104)
* fixes some misbehaviour within the coordinator agency callbacks

* changelog
2018-10-30 16:47:37 +01:00
Jan f7fd02695c
fix path to node_modules after copying files (#7087) 2018-10-30 13:50:42 +01:00
Simon c073b9dbbe Make ensureIndexOnCoordinator more robust (#7110) (#7130) 2018-10-30 11:25:06 +01:00
Simon 9271a11441 RocksDB replication thread safety (#7088) (#7131) 2018-10-30 11:24:17 +01:00
Vasiliy e6a6025818 backport: switch scope of responsibility between a TRI_vocbase_t and a LogicalView in respect to view creation/deletion (#7106)
* backport: switch scope of responsibility between a TRI_vocbase_t and a LogicalView in respect to view creation/deletion

* backport: ensure arangosearch links get exported in the dump

* backport: ensure view is created during restore on the coordinator

* Updates for ArangoSearch DDL tests, IResearchView unregistration and known issues

* Add fix for internal issue 483
2018-10-30 12:50:29 +03:00
Simon c644adc7da Fix undefined behaviour (#7109) 2018-10-29 18:59:51 +01:00
Jan 889cee0dae
speed up query string parsing (#7116) 2018-10-29 14:42:39 +01:00
Tobias Gödderz e9388ab710 [3.4] Stop curl from trying to POST stdin (#7097)
* Stop libcurl from trying to POST stdin

* Stop relocking every iteration in wait

* Remove unimplemented function

* Restrict setting of empty POSTFIELDS to POST requests

* Revert locking change
2018-10-29 14:41:23 +01:00
Michael Hackstein e05880895a
Bug fix 3.4/shorter foot in door (#7084)
* Implement `syncCollectionCatchup` in DatabaseTailingSyncer.

First stab, might not even compile.

* Fixed a typo.

* Fix a typo and a compilation problem.

* Further compilation fix.

* Implement two stage catchup.

* Two small corrections.

* Unified error messages in Synchronize shard job.

* Improved a code comment.

* Fixed autocasting bool->double and double->bool issue. That is truely one of the best features ever invented... </irony>

* Renamed doHardLock => toSoftLockOnly and inverted default value

* Merged soft/hard foot logic with Transaction splits

* Use scopeguards to cancel readlocks
2018-10-26 16:16:52 +02:00
Simon 78132bc2e5 Next try at truncate (#7090) (#7096) 2018-10-26 15:06:36 +02:00
Jan fac788bb89
fix nullptr access to usermanager object (#7094) 2018-10-26 12:59:00 +02:00
Max Neunhoeffer 015275a724
Emergency fix to compile on gcc 8. 2018-10-26 11:13:56 +02:00
Jan b0bff0a7da
potentially fix failing Windows catch test (#7080) 2018-10-26 10:11:02 +02:00
Max Neunhöffer 8564a08bbb
Try to fix timeout in drop collection. (#7058)
* Try to fix timeout in drop collection.
* Fix compilation.
2018-10-25 16:51:16 +02:00
Heiko e1480cfd11 Bug fix 3.4/agency loop wrong credentials (#7072)
* arangod now exits when used wrong credentials during the startup process

* changelog
2018-10-25 14:17:20 +02:00
Michael Hackstein 94a793fe61
Removed incorrect skipping of Batches in RocksDB Tailing syncer (#7021)
* Removed incorrect skipping of Batches in RocksDB Tailing syncer. This caused issues, whenever one transaction was spiltted.

* Added a test for Splitting a large transaction in RocksDB

* Reactivated skipping in RocksDB Wal Tailing (reverts initial fix)

* Actually include lastScannedTick in CollectionFinalize. Proper fix, kudos to @jsteemann.

* Fixed healFollower task in split-large-transaction test
2018-10-25 14:13:40 +02:00
Jan 6eeb9eab86
backport some replication debugging from devel (#7069) 2018-10-25 14:08:26 +02:00
Jan 2d0fce0fec
add option `--rocksdb.total-write-buffer-size` (#7024) 2018-10-25 13:12:27 +02:00
Jan b903f1f8ff
Bug fix 3.4/fix catch test issues (#7045) 2018-10-25 12:49:00 +02:00
jsteemann f0cc698872 try to fix "caught exception during statistics processing: Expecting Object" errors that may happen right after upgrading from 3.3 2018-10-25 11:24:17 +02:00
jsteemann 435c014a15 Merge branch '3.4' of https://github.com/arangodb/arangodb into 3.4 2018-10-25 00:00:00 +02:00
jsteemann 5e6a267296 remove unneeded string value 2018-10-24 23:59:51 +02:00
Simon e87b42a0c3 Silence tsan warnings (#7051) 2018-10-24 23:58:47 +02:00
Matthew Von-Maszewski a1af2e305f Bugfix 3.4: update Scheduler thread logic based upon testing (#7056) 2018-10-24 22:49:28 +02:00
Simon 6eb9e38b08 Better agency pool update (#7036) 2018-10-24 16:23:10 +02:00
Vasiliy 52e2c97693 backport missed changes (#7016) 2018-10-24 15:43:45 +03:00
Jan 613d9a3811
fix release-3.4 issue 109 (#7030) 2018-10-23 22:59:11 +02:00
Simon 3e5f90dcd3 Truncate index extimate fix (#7017) 2018-10-23 18:06:55 +02:00
Simon 8b19d40136 Properly compare velocypack objects in Agency operations (#6922) 2018-10-23 11:52:22 +02:00
Matthew Von-Maszewski 43016cf04f Bugfix 3.4: address concerns from prior scheduler PR (#7005) 2018-10-23 11:30:45 +02:00
Tobias Gödderz 183f9194f1 [3.4] Fixed optimize-traversals and added a regression test (#6975)
* Fixed optimize-traversals and added a regression test

* Updated CHANGELOG
2018-10-23 09:46:59 +02:00
Andrey Abramov dc98852dda
Bug fix 3.4/internal issue #2921 (#7008)
* issue 494: update iresearch to changeset 6ff909851c760c2111dca5074ab17d35114bee97 (20181022)

* issue 2921: make error message more detailed (#7004)

* issue 2921: make error message more detailed

* upgrade iresearch

# Conflicts:
#	arangod/RestHandler/RestViewHandler.cpp

* fix compilation

* and another fix
2018-10-23 02:41:25 +03:00
Jan 4e7f56a532
attempt to fix truncation (#7002) 2018-10-22 16:44:21 +02:00
Jan 169fb8edb7
do not copy node_modules directory on startup (#6946) 2018-10-22 16:43:26 +02:00
Jan 3d01c09ea2
Bug fix 3.4/fix array sorting (#6988) 2018-10-22 12:30:47 +02:00
jsteemann 2b86d9a0e4 Merge branch 'bug-fix-3.4/increase-setup-timeout' of https://github.com/arangodb/arangodb into 3.4 2018-10-22 09:43:33 +02:00
Andrey Abramov 2b46285b3b
Feature/backport arangosearch 3.4 (#6985)
* issue 485.1: reduce scope of lock in FlushFeature (#6943)

* issue 493.1: update iresearch to changeset 15f561dee5865ead83663ef056d7bbcc38636fb2 (#6947)

* issue 493.2: trigger termination of long-running consolidation on shutdown request

* Feature/update iresearch 2 (#6984)

* update iresearch sources

* another update

* update iresearch

* fix segfault in log message

* update iresearch

* update iresearch

* update iresearch

* remove noexcept

* improve logging

* update iresearch
2018-10-20 13:24:29 +03:00
jsteemann 6b971f50a3 increase query setup timeout 2018-10-19 17:41:09 +02:00
Jan 1002928b5f
fix https://github.com/arangodb/release-3.4/issues/99 (#6951) 2018-10-19 15:26:23 +02:00
Simon c0455e9c60 Add engine specific collection APIs (#6962) 2018-10-19 15:23:55 +02:00
Michael Hackstein 9599eb9b9f
Bug fix 3.4/sync replication allow soft and hard lock (#6864)
* First attempt to not block the thread that requires the EXCLUSIVE sync-up lock

* Fixed insertion of query into registry in rest replication handler.

* Removed unnecessary / false asserts as suggested in review. Fixed code comments.

* Replaced auto with a correct type as suggested in review

* Added a helper function to validate if a query is in use in the registry

* Fixed logic bug in usage of query registry

* Fixed compile issue

* Implemented optional 'doHardLock' parameter in the replication acquire read-lock call. A hard-lock guarntees to stop all writes, a soft-lock may not.

* Fixed compile issue

* Automaticly transfrom int -> bool in initializerlist sucks...

* Inverted boolen logic bug hidden due to int->bool beeing logically inverted.

* Today it seems that bools are too complicated for my brain.

* Removed failure point, didn't write a test for it, and it is hard to write it in the current test environment. Need to find a better solution in future

* Applied chenges required by @goedderz in review

* Renamed doHardLock => toSoftLockOnly and inverted default value
2018-10-19 14:11:34 +02:00
Michael Hackstein 875185e6c1
Bug fix 3.4/sync repl release thread (#6784)
* First attempt to not block the thread that requires the EXCLUSIVE sync-up lock

* Fixed insertion of query into registry in rest replication handler.

* Removed unnecessary / false asserts as suggested in review. Fixed code comments.

* Replaced auto with a correct type as suggested in review

* Added a helper function to validate if a query is in use in the registry

* Fixed logic bug in usage of query registry

* Fixed compile issue

* Automaticly transfrom int -> bool in initializerlist sucks...

* Inverted boolen logic bug hidden due to int->bool beeing logically inverted.

* Today it seems that bools are too complicated for my brain.

* Removed failure point, didn't write a test for it, and it is hard to write it in the current test environment. Need to find a better solution in future

* Applied chenges required by @goedderz in review
2018-10-19 13:48:22 +02:00
Lars Maier d7863b4583 Bug fix 3.4/cluster comm threads start stop (#6939)
* Start ClusterComm threads in `ClusterFeature::start`. Stop ClusterComm threads in `ClusterFeature::stop`.

* Do not free objects in `Scheduler::shutdown`. Let the `unique_ptr` do their job. Stop ClusterComm threads in `ClusterFeature::stop`, but free instance in `ClusterFeature::unprepare`.

* `io_context` may contains lambdas that hold `shared_ptr`s to `Tasks` the required a functional `VocBase` in their destructor.

* Clean up.
2018-10-19 13:12:51 +02:00
Lars Maier def04788c5 Fixed bad token generation when username is empty. (#6967) 2018-10-19 12:52:12 +02:00
Simon c2b6fb99ba Propper commit Sequence Numbers (#6958) 2018-10-18 18:25:34 +02:00
Jan 18de63c7c8
Feature 3.4/medium priority (#6910) 2018-10-18 17:08:39 +02:00
Jan fa235feeb2
attempt to fix https://github.com/arangodb/release-3.4/issues/96 (#6953) 2018-10-18 12:41:13 +02:00
Jan 19e2dd87bd
Replace engine equality feature (#6931) (#6950) 2018-10-17 20:34:19 +02:00
Heiko b5ff5080ff merge conf. (#6882) 2018-10-17 15:57:39 +02:00
Jan 13a9a0c12b
Bug fix 3.4/use proper log topic for replication test messages (#6920) 2018-10-17 15:40:59 +02:00
Matthew Von-Maszewski a9ce39f85c Bugfix 3.4: Merge scheduler changes by Michael & Frank into recent overlapping code changes (#6928)
* manual recreation of bug-fix-3.4/scheduler-high-low within recent Scheduler changes.

* restore Documentation that was unintentionally deleted
2018-10-16 22:51:00 +02:00
Dan Larkin-York fa6680a252 [3.4] Fix issues with ArangoSearch link permissions in cluster mode (#6726) 2018-10-16 20:43:01 +02:00
Andrey Abramov 6b6e4f6279
issue 485: ensure LogicalDataSource::drop() is called on vocbase drop (#6895) (#6923)
* issue 485: ensure LogicalDataSource::drop() is called on vocbase drop

* add missed change

* backport: address race between make(...) and async job

* add another missed change

* backport: ensure recursive lock reports itself as locked correctly

* backport: address test failure on mmfiles

* backport: remove redundant lock already held by async task

* backport: reset reader before unlinking directory
2018-10-16 21:06:47 +03:00
Dan Larkin-York 315af8e99f Suppress startup warning about no user table. (#6903) 2018-10-16 14:31:41 +02:00
Simon dd15298721 Do not delete ticks before counters (#6890) 2018-10-16 09:30:38 +02:00
Jan d8043d6589
handle "rev" parameter (#6897) 2018-10-16 09:19:12 +02:00
Jan d6ae3a339c
prefer an index if more index attributes cover a filter condition (#6902) 2018-10-16 09:12:55 +02:00
Jan e5cefefd66
Bug fix 3.4/suppress statistics errors (#6891) 2018-10-15 17:34:08 +02:00
Simon 7eda6768ab Refactor stuff, add async batch extension task (#6875)
* Refactor stuff, add async batch extension task

* fix compilation
2018-10-15 11:43:45 +02:00
Matthew Von-Maszewski 25bc48e548 minimum fixes to clear scheduler timeout problem. (#6878) 2018-10-15 09:06:15 +02:00
Andrey Abramov 4ef4e1119a
backport new arangosearch to 3.4 (#6874)
* backport new arangosearch

* backport tests

* backport another test

* backport changes in cmake
2018-10-13 01:27:31 +03:00
jsteemann f8de7d0756 fix yet another prompt issue 2018-10-12 19:12:18 +02:00
Jan 9b7258a4d1
added several query optimizations (#6781) 2018-10-12 17:41:45 +02:00
Kaveh Vahedipour 1c612ff5b0 fixed hyperventing agent 3.4 (#6777)
* fixed hyperventing agent
2018-10-12 17:02:52 +02:00
Matthew Von-Maszewski 887822afa6 Bug fix 3.4: libcurl threading changes (#6829)
* enable the ability to push results processing to threads
* have ClusterComm push libcurl response processing to Scheduler threads
* tuning changes from Matthew and Michael
* give new defaults to minimum thread count
* create multiple ClusterCommThreads, each with own Communicator object
* put PR notes in change log
* correct speling
* Also drain V8 queue.
* Add prio V8 to switch in canPostDirectly.
* Accept --server.minimal-threads even if maximal threads is not set.
* Reactivate stopping of threads.
2018-10-12 17:00:55 +02:00
Jan 4dd0f2d265
tobiasle (#6860) 2018-10-12 15:34:35 +02:00
Simon 010b54c81e Allow WAL logger to split up transactions (#6800) 2018-10-12 15:15:55 +02:00
Jan 3a552cbc4f
Bug fix 3.4/fixes 111018 (#6844) 2018-10-12 12:49:43 +02:00