1
0
Fork 0
Commit Graph

16686 Commits

Author SHA1 Message Date
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