Jan
1ace247273
Bug fix/scheduling et al ( #3161 )
...
* added V8 context lifetime control options `--javascript.v8-contexts-max-invocations` and `--javascript.v8-contexts-max-age`
* make thread scheduling take into account most of the tasks dispatched via the io service
2017-08-30 10:40:02 +02:00
Max Neunhöffer
2f874249bb
Bug fix/adjust agency comm timeouts ( #2765 )
...
* Take out 503 timeouts altogether.
* Overhaul of AgencyComm::sendWithFailover loop.
* Let performRequests optionally ignore 404 coll not found.
* Fix error message "database not found" when AgencyComm failed.
* Add log entries in Agency if locks are acquired too slowly.
* Reexecute the javascript cluster sync stuff even if there was no plan/current change...So failed sync jobs can retry later...
* Cover callbacks in Communicator by lock. This fixes https://github.com/arangodb/planning/issues/370
* Put in delay in waiting for leader in agency test.
* Schmutz logging to heartbeat topic.
* Add more lock time diagnostic in agent.
* Switch on agencycomm tracing in coordinator.
2017-07-13 00:44:28 +02:00
Frank Celler
bbe7484521
Feature/auth context ( #2704 )
...
* added read-only users
2017-07-02 23:15:57 +02:00
Andreas Streichardt
2e4f83fc08
Invalidate current coordinators on every 2nd heartbeatrun
...
needed for foxx resilience stuff
2017-05-11 18:35:33 +02:00
Kaveh Vahedipour
6ef775e52f
fix bug with ioService gone before hearbeatthread
2017-04-25 08:54:33 +02:00
Kaveh Vahedipour
2dbd179656
Fix ocasionally hangling shut down on mac
2017-04-21 11:49:22 +02:00
Simon Grätzer
3eb1723dec
Fixed edge index
2017-03-30 13:22:39 +02:00
Simon Grätzer
27c617fe10
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
...
# Conflicts:
# 3rdParty/V8/v8
# arangod/Transaction/Methods.h
# arangod/Utils/UserTransaction.h
# arangod/V8Server/v8-collection.cpp
2017-03-01 14:52:35 +01:00
Kaveh Vahedipour
4cc830b0df
merge from 3.1
2017-02-20 20:05:52 +01:00
Kaveh Vahedipour
7fbf9fb621
AgencyCallBacks registry and unregistry are more talkative than bool
2017-02-10 17:31:26 +01:00
Simon Grätzer
edab268572
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
...
# Conflicts:
# arangod/Aql/FunctionDefinitions.cpp
# arangod/Aql/Functions.h
# arangod/Utils/ExplicitTransaction.h
2017-02-10 15:21:24 +01:00
jsteemann
d024a6d00a
remove logging for non-topics
2017-02-10 09:32:50 +01:00
jsteemann
01d3ad67b1
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-02-08 00:59:16 +01:00
Max Neunhoeffer
883c11ea45
Handle the case that ClusterComm is already shut down gracefully.
...
This touches every single place where ClusterComm is being used.
2017-02-07 15:31:40 +01:00
Frank Celler
e3fe51faa8
better threads working handling
2017-02-06 16:32:55 +01:00
Simon Grätzer
13f19fe51b
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
...
# Conflicts:
# arangod/CMakeLists.txt
# arangod/RestServer/arangod.cpp
# arangod/Utils/ExplicitTransaction.h
# arangod/V8Server/v8-collection.cpp
2017-02-02 11:25:23 +01:00
jsteemann
2383548270
use initializer
2017-02-01 13:03:59 +01:00
Max Neunhoeffer
48be25bdde
Add diagnostics to see background jobs that do not run.
...
If a job is only executed more than 5 seconds later than it was
scheduled, an error is logged.
2017-02-01 09:36:33 +01:00
Max Neunhoeffer
460e27d31c
Log level down to debug for Schmutz-Startung.
2017-01-31 14:39:34 +01:00
Max Neunhoeffer
c4d5d982c7
Fix bugs of threads not announcing that they are busy.
2017-01-31 14:07:54 +01:00
Simon Grätzer
bcc1a83ae5
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-01-31 13:38:17 +01:00
Max Neunhoeffer
d8171651bf
Fix assert.
2017-01-31 09:03:48 +01:00
Max Neunhoeffer
d8d8ef9755
Add an assertion.
2017-01-31 09:03:41 +01:00
Max Neunhoeffer
9525f46b2b
Some cleanup of comments for better understandability.
2017-01-30 23:22:58 +01:00
jsteemann
16c19ad927
cppcheck
2017-01-30 23:02:05 +01:00
Max Neunhoeffer
af3c206d89
Try to solve sporadic shutdown blockage in heartbeat thread.
2017-01-30 22:32:05 +01:00
Simon Grätzer
40b3d1511c
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-01-30 20:39:36 +01:00
Max Neunhoeffer
61b353edc5
Fix fix of concurrently running Schmutzes.
2017-01-30 15:45:15 +01:00
Max Neunhoeffer
1aca50fd71
Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel
2017-01-30 14:03:04 +01:00
Max Neunhoeffer
fa296ebf40
Fix running multiple Schmutzes running concurrently.
2017-01-30 14:02:24 +01:00
Kaveh Vahedipour
6647fb1c14
no need to udate single host agencies' endpoints
2017-01-30 09:55:34 +01:00
Simon Grätzer
9829e931e3
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-01-30 01:50:09 +01:00
Max Neunhoeffer
f09ecd21b2
Logging level for background job debugging down to DEBUG.
2017-01-29 23:05:33 +01:00
Max Neunhoeffer
c62c521a43
Fix closure for background jobs in HeartbeatThread one more time.
2017-01-29 00:08:12 +01:00
Max Neunhoeffer
3ac470cbb2
Fix closure for background jobs in HeartbeatThread.
2017-01-28 23:57:40 +01:00
Max Neunhoeffer
5dee45a6c1
Delete boost::asio::io_service::strand.
2017-01-28 23:45:19 +01:00
Max Neunhoeffer
429ffcd43c
Count callbacks in _strand in HeartbeatThread and log.
2017-01-28 22:13:21 +01:00
Max Neunhoeffer
8b4ed89d14
More logging on level info.
2017-01-28 21:26:34 +01:00
Simon Grätzer
e857d9744c
Enabling async on shortest path
2017-01-19 12:38:47 +01:00
Simon Grätzer
c64f61f3ec
Fixing Heartbeat Thread
2017-01-11 14:46:31 +01:00
Simon Grätzer
20d32d05b2
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
...
# Conflicts:
# arangod/VocBase/LogicalCollection.cpp
2017-01-09 13:34:37 +01:00
Simon Grätzer
78135ed8b3
Lazy Loading & auto corrections
2017-01-09 12:53:47 +01:00
Kaveh Vahedipour
5b3d95298b
agent restart from persistence with complete set of new endpoints
2017-01-03 15:39:52 +01:00
Kaveh Vahedipour
9a778c7304
coordinators need to know all agency endpoints too through heartbeats
2016-12-23 12:08:53 +01:00
Kaveh Vahedipour
95076d053a
Bogus error message
2016-12-22 08:40:21 +01:00
Kaveh Vahedipour
8924cf7852
let's not count failed db servers in replication factor fix
2016-12-21 15:49:56 +01:00
Kaveh Vahedipour
2921ea9c95
trying to fix hanging db server on shutdown
2016-12-21 14:00:56 +01:00
Kaveh Vahedipour
5858caabbe
endpoint unifiedForm replaces localhost with 127.0.0.1
2016-12-21 09:43:33 +01:00
Kaveh Vahedipour
f5e836697a
heartbeat adds agents to agencycomm
2016-12-20 17:39:32 +01:00
Kaveh Vahedipour
1c9de86318
isWatch no longer needed after move to arangodb agency
2016-12-16 12:28:11 +01:00