jsteemann
567e4bc21e
fix typo
2017-06-01 13:05:35 +02:00
Simon Grätzer
36503af230
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
...
# Conflicts:
# arangod/RocksDBEngine/RocksDBReplicationTailing.cpp
2017-05-24 18:38:34 +02:00
Simon Grätzer
2f2d07ab9a
Multihreaded import
2017-05-24 18:37:45 +02:00
Andreas Streichardt
ab2dcfb844
Merge branch 'devel' of github.com:arangodb/arangodb into devel
2017-05-24 14:33:22 +02:00
Andreas Streichardt
f2670f8040
Extract compareServerList and make it reuseable
2017-05-24 14:13:51 +02:00
Max Neunhoeffer
ff12815b2e
Correct a typo in a variable name, improve comments.
2017-05-24 09:53:40 +02:00
jsteemann
a4fde59fd2
some refactoring
2017-05-23 13:18:51 +02:00
Kaveh Vahedipour
6fa966c71b
More robust registration of Callback
2017-05-18 16:17:59 +02:00
Kaveh Vahedipour
94cf025b34
check first time when ClusterComm is accessed, if not stopping
2017-05-18 11:48:41 +02:00
Kaveh Vahedipour
8f8ebbcb03
agents wait for inception thread to finish before unprepare
2017-05-18 09:13:01 +02:00
Kaveh Vahedipour
c998e37462
Inception should not fatally exit, when in shutdown
2017-05-17 11:54:11 +02:00
jsteemann
2930ab6b57
cppcheck
2017-05-15 22:39:16 +02:00
Andreas Streichardt
9472ab821c
Fix rolling back of indices
2017-05-15 15:48:01 +02:00
Kaveh Vahedipour
414db971cf
allow for deleting array position in agency kv-store
2017-05-15 12:22:15 +02:00
Kaveh Vahedipour
243d646f9e
avoid nullptr in Inception
2017-05-12 16:35:33 +02:00
Andreas Streichardt
8558cb85c9
warning on windows
2017-05-11 13:41:20 +02:00
Andreas Streichardt
8aba218278
AgencyFeature needs ClusterFeature because of ClusterComm
...
(there was a core when doing the resilience tests)
2017-05-11 13:40:43 +02:00
Andreas Streichardt
fe59502848
Fix server health
2017-05-11 12:20:15 +02:00
Andreas Streichardt
439203dc3b
Better logging
2017-05-11 12:20:15 +02:00
Andreas Streichardt
48874fbab9
Fix abort conditions of FailedLeader
2017-05-10 18:30:37 +02:00
Kaveh Vahedipour
bd2bca840d
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-05-10 17:50:52 +02:00
Kaveh Vahedipour
de77b5ec7a
getting rid of exceptions in supervision
2017-05-10 17:50:31 +02:00
Andreas Streichardt
c071ebe6ca
change to sleep_until so older windows are pleased (and is a better fitting method anyway)
2017-05-10 17:12:46 +02:00
Kaveh Vahedipour
9b89555f74
agency response to ttl'ed values also corrected for deep trees
2017-05-09 12:49:17 +02:00
Kaveh Vahedipour
675e6599af
ttls are considered, when key-value store read is invoced
2017-05-08 12:05:10 +02:00
Kaveh Vahedipour
1635ec3679
attempt at fixing occasional fatal errors accessing clustercomm instance on shutdown
2017-05-05 16:28:35 +02:00
Kaveh Vahedipour
323d35559a
broke devel and fixed
2017-05-05 16:15:28 +02:00
Kaveh Vahedipour
e3aada55e1
osx fix on funny fail
2017-05-05 16:00:27 +02:00
Kaveh Vahedipour
e2b5f334a2
this should be last we have seen of the funny fail rotation bug
2017-05-05 10:15:44 +02:00
jsteemann
0cad04bdb3
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-05-04 15:09:39 +02:00
Kaveh Vahedipour
7c7dd66198
Node changes missing
2017-05-04 14:41:06 +02:00
Kaveh Vahedipour
b0e7ce40f0
avoid exceptions in supervision main thread when running without cluster
2017-05-04 14:37:03 +02:00
jsteemann
6c3eba939a
fix copy&paste error
2017-05-04 13:18:13 +02:00
Kaveh Vahedipour
1b85142c56
expanding agent pool
2017-05-03 17:51:06 +02:00
Kaveh Vahedipour
0218607819
expanding agent pool
2017-05-03 17:50:33 +02:00
Kaveh Vahedipour
ae9f69fe9f
expanding agent pool
2017-05-03 17:46:08 +02:00
Kaveh Vahedipour
9beb6467b3
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-05-03 17:40:41 +02:00
Kaveh Vahedipour
54c1183a38
expanding agent pool
2017-05-03 17:40:33 +02:00
Max Neunhoeffer
9df8b5835b
Sort out race for update in configuration collection in Agency.
...
This only came up in the RocksDB engine, since only there can two write
operations report a conflict if transactions are running concurrently.
2017-05-03 15:37:43 +02:00
Max Neunhoeffer
1684676924
Agency improvement: track ongoing transactions for inquire.
2017-04-28 17:24:30 +02:00
Max Neunhoeffer
09ff77cce2
Make Windows VS compiler a bit happier.
2017-04-28 17:18:37 +02:00
Kaveh Vahedipour
311bda2af7
erroneous .25 wait before each agency transaction
2017-04-28 14:37:46 +02:00
Kaveh Vahedipour
e7797d292e
fixed shard ordering in Job::clones with consequences for unit tests
2017-04-27 13:37:47 +02:00
Kaveh Vahedipour
68efba18e8
keep agencyPrefix, when non set
2017-04-26 15:32:26 +02:00
Simon Grätzer
d228a94462
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
...
# Conflicts:
# arangod/Replication/InitialSyncer.cpp
2017-04-26 11:06:09 +02:00
Max Neunhoeffer
63d51b9ae4
Port 3.1 fixes to devel, support setting the agencyPrefix again.
2017-04-26 10:03:20 +02:00
jsteemann
4289105eb3
fix shutdown issue
2017-04-25 16:09:01 +02:00
Kaveh Vahedipour
bc8f08189b
searching for the shutdown problem on mac
2017-04-25 11:53:55 +02:00
Kaveh Vahedipour
7766c44aaa
all agency threads shutdown in their destructors if not stopping yet
2017-04-25 09:34:08 +02:00
jsteemann
9cdf52c6e9
remove dead code
2017-04-24 21:42:13 +02:00
Kaveh Vahedipour
262bb4faac
avoid warnings for time being
2017-04-24 16:49:26 +02:00
Kaveh Vahedipour
ccc388a940
more dictributeShardsLike code mergedfrom 3.1
2017-04-24 15:13:40 +02:00
Kaveh Vahedipour
c099c6daa9
more dictributeShardsLike code mergedfrom 3.1
2017-04-24 15:12:38 +02:00
Kaveh Vahedipour
a211e5ee83
ipv4 is so yesterday
2017-04-24 11:08:04 +02:00
Kaveh Vahedipour
09a6888d14
attempt at fixing shutdown bug on mac os x
2017-04-24 10:45:54 +02:00
jsteemann
ea8496f1a5
cppcheck
2017-04-21 20:19:36 +02:00
Andreas Streichardt
7322e3bff3
Allow seeding of randomgenerator for tests
2017-04-21 18:08:49 +02:00
Kaveh Vahedipour
1f81ce28b0
merge in cpp & js from 3.1.18 yet to do tests
2017-04-21 15:41:05 +02:00
Jan Christoph Uhde
95007fe28e
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api-arango-result
...
* 'engine-api' of https://github.com/arangodb/arangodb : (46 commits)
Merged RocksDBPathBasedIndex into RocksDBVPackIndex.
fix handling of externals
fix toArray()
fix returning documents
Added hash-, skip list, persistent indexes
harmonize filtering - filter on full filename.
mini modifications
standardize starting of servers for replication tests
Edge index compliant with design doc
another fix for #2404
Moved „removeLargeRange“ method to commons
Added length byte to IndexValue keys.
fixed issue #2404
Added drop to primary index
Added drop() to indexes
Fixes a coordinator crash in Clustered Traversal. In case of failover during query planning.
Fixed edge index
Expand on CORS documentation
Let ArangoDB handle the allow-credentials header
make the authentication tests run on directories
...
2017-03-30 19:46:17 +02:00
Jan Christoph Uhde
b83ae2ab82
refactor some code to make use of arangodb::Result
2017-03-30 09:39:21 +02:00
Simon Grätzer
cd9e9a13cf
Path based enumerator
2017-03-29 17:33:02 +02:00
jsteemann
2aa2fd65a4
more startup
2017-03-24 14:20:51 +01:00
jsteemann
8e51e3ba50
fix slow queries
2017-03-22 11:20:07 +01:00
Kaveh Vahedipour
a87fb6d71e
restructured the leadership takeover
2017-03-17 15:44:58 +01:00
Max Neunhoeffer
428b6aa67f
Port thread fixes from 3.1 to devel.
2017-03-16 13:53:40 +01:00
Kaveh Vahedipour
5e01e89e7a
oops
2017-03-13 14:53:04 +01:00
Kaveh Vahedipour
870eef2f52
backport of 3.1 bug fixes and resilience improvements
2017-03-13 13:35:19 +01:00
Michael Hackstein
046793815c
Merge branch 'engine-api' of github.com:arangodb/arangodb into engine-api
2017-03-09 16:37:51 +02:00
jsteemann
645889949c
move engine-specific V8 functions into storage engine
2017-03-09 12:59:44 +01:00
Michael Hackstein
90b4876d3c
Moved WriteMarker code Vocbase => MMFilesEngine. Also removed the decission to write a marker out of Vocbase-API
2017-03-09 11:12:39 +01:00
Kaveh Vahedipour
51b63027fe
should not overimplement LoggerStream. allows unified behaviour of std::cout and LOG_TOPIC(.,.)
2017-03-01 11:51:27 +01:00
jsteemann
cf5d20ddee
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-02-28 17:02:42 +01:00
jsteemann
b6a265068a
fix velocypack-over-HTTP responses
2017-02-28 17:01:59 +01:00
jsteemann
a420093f2d
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-02-27 17:25:51 +01:00
jsteemann
666b2f8da9
renaming
2017-02-27 14:38:27 +01:00
jsteemann
ba9283f43f
remove logically dead code
2017-02-27 12:02:34 +01:00
jsteemann
0e6df4833f
removed unused variable
2017-02-24 17:38:33 +01:00
Kaveh Vahedipour
b1299ec3b9
fixes from 3.1.11 in agency/state
2017-02-21 17:44:27 +01:00
Kaveh Vahedipour
4cc830b0df
merge from 3.1
2017-02-20 20:05:52 +01:00
jsteemann
a743ec4320
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into devel
2017-02-15 16:55:35 +01:00
Andreas Streichardt
8de9941df5
Also remove from includes
2017-02-15 16:18:41 +01:00
Andreas Streichardt
c8302bc50d
Remove useless methods
2017-02-15 16:16:16 +01:00
Michael Hackstein
71a004492a
Merge branch 'devel' of github.com:arangodb/arangodb into engine-api
2017-02-15 14:35:34 +01:00
Andreas Streichardt
43692a97a2
Fixed unused variable
2017-02-15 14:10:44 +01:00
jsteemann
e8a9d1347e
attempt to fix build with picky compilers
2017-02-15 13:59:03 +01:00
jsteemann
df3a3eff9f
refactoring
2017-02-15 10:26:05 +01:00
Kaveh Vahedipour
37472ddcdc
revisited the appendEntries API
2017-02-14 15:18:07 +01:00
Kaveh Vahedipour
05250b6c7b
back port of bug fixes in 3.1
2017-02-14 15:07:51 +01:00
jsteemann
b3ac54d065
remove global namespace include
2017-02-13 13:03:33 +01:00
Kaveh Vahedipour
27c35dd782
WFS set
2017-02-13 12:02:33 +01:00
Kaveh Vahedipour
0a03034d15
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-02-13 10:48:43 +01:00
Kaveh Vahedipour
a86ae11d76
fixed wrong logic in FailedLeader job
2017-02-13 10:48:31 +01:00
Max Neunhoeffer
c5d79c5a85
Fix Supervision bug in failedFollower.
2017-02-13 09:57:47 +01:00
Max Neunhoeffer
dad4f34f7a
Fix a wrong log message.
2017-02-10 17:44:18 +01:00
Kaveh Vahedipour
7fbf9fb621
AgencyCallBacks registry and unregistry are more talkative than bool
2017-02-10 17:31:26 +01:00
Kaveh Vahedipour
76e5dec3d7
agent with less traffic
2017-02-10 17:03:15 +01:00
Kaveh Vahedipour
dabdb8febb
size_t is correct
2017-02-10 13:10:46 +01:00
Kaveh Vahedipour
06c1f70bac
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-02-10 11:26:03 +01:00
Kaveh Vahedipour
29d73b2e9c
sendAppendEntries does resonable estimation of follower time needs leading to less frequent spamming of followers
2017-02-10 11:25:55 +01:00
jsteemann
d024a6d00a
remove logging for non-topics
2017-02-10 09:32:50 +01:00
Max Neunhoeffer
298b9ffc3b
Add AQLFeature.
2017-02-09 11:57:51 +01:00
Kaveh Vahedipour
e9651ae65c
compaction thread tested and functional
2017-02-08 16:01:15 +01:00
Kaveh Vahedipour
3ee7a8d595
compaction thread tested and functional
2017-02-08 14:18:46 +01:00
Max Neunhoeffer
0a9c235530
Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel
2017-02-07 15:32:30 +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
Andreas Streichardt
8349f56e40
Properly check return valiue
2017-02-07 15:15:56 +01:00
Kaveh Vahedipour
a1650d6b76
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-02-07 14:16:33 +01:00
Kaveh Vahedipour
b931aa967a
new compaction thread for agency
2017-02-07 14:16:22 +01:00
jsteemann
d503a4d354
added reactor type
2017-02-07 12:41:41 +01:00
Kaveh Vahedipour
8d66d69f83
supervision handles coordinator demise correctly
2017-02-07 11:29:37 +01:00
Kaveh Vahedipour
9ca79d216a
checking agency failures for high catchup data
2017-02-06 15:49:55 +01:00
Kaveh Vahedipour
f846c0fd0f
backports from 3.1
2017-02-06 09:26:37 +01:00
Kaveh Vahedipour
f3cb1307a5
3.1 fixes backported to devel
2017-02-03 10:48:25 +01:00
jsteemann
fa917937c4
do not use namespaces in header files
2017-02-01 13:41:31 +01:00
jsteemann
8b62579789
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-01-31 10:04:56 +01:00
Kaveh Vahedipour
b7b8a6cf88
lowering log output in agencycomm
2017-01-31 09:37:47 +01:00
jsteemann
6598828449
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-01-31 00:33:42 +01:00
jsteemann
ba398494d0
make option hidden
2017-01-30 16:01:12 +01:00
jsteemann
1294cf6128
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-01-30 12:53:19 +01:00
Kaveh Vahedipour
6647fb1c14
no need to udate single host agencies' endpoints
2017-01-30 09:55:34 +01:00
jsteemann
09851cdf75
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-01-27 16:37:32 +01:00
Kaveh Vahedipour
3f3633bd2c
supervision to proper preconditioning of jobs on plan
2017-01-27 15:29:22 +01:00
jsteemann
f37a2d8014
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-01-27 12:11:57 +01:00
Kaveh Vahedipour
ab22ffa8ee
shard jobs should check for the plan to be the same as expected
2017-01-27 11:27:45 +01:00
jsteemann
f0d4770879
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-01-27 11:16:37 +01:00
Kaveh Vahedipour
c803d52f51
startLocalCluster handles port offset so that multiple clusters can be started on same machine
2017-01-27 09:33:42 +01:00
jsteemann
0cb7d416d0
moved transaction collections into their own files
2017-01-26 16:51:57 +01:00
jsteemann
df7fee7d32
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-01-26 16:25:22 +01:00
Kaveh Vahedipour
53a7e2b316
resilienceMove will do more reporting in cleanouts
2017-01-26 16:12:51 +01:00
jsteemann
2709504d74
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-01-26 15:21:08 +01:00
Kaveh Vahedipour
f06fdf9e0f
getDBServers response changed for aardvark frontend. needed reflection in resilienceMove tests
2017-01-26 12:37:59 +01:00
Kaveh Vahedipour
2eab5bf5bc
proper shutdown procedure in agent
2017-01-26 10:24:23 +01:00
Kaveh Vahedipour
5bccc799a9
proper shutdown procedure in agent
2017-01-26 10:20:38 +01:00
Kaveh Vahedipour
618955369a
_sent in AgencyCommResult assigned too late?
2017-01-26 09:40:02 +01:00
Kaveh Vahedipour
6ec875bf92
_sent in AgencyCommResult assigned too late?
2017-01-26 09:34:58 +01:00
jsteemann
6df6c874fd
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-01-25 16:31:21 +01:00
Kaveh Vahedipour
d4a3dac65a
Agent handles beginShutdown of inception fully
2017-01-25 14:09:34 +01:00
jsteemann
00b1632ece
factored out AccessMode from transaction.h
2017-01-25 11:57:21 +01:00
Max Neunhoeffer
27e975c016
Let AgencyComm timeout early, if server is already stopping.
2017-01-24 14:43:17 +01:00
Kaveh Vahedipour
3a034f5817
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-01-24 12:52:35 +01:00
Kaveh Vahedipour
c4bff477a6
wrong persistence of status
2017-01-24 12:52:31 +01:00
Max Neunhoeffer
e11c7c96c1
Please static analyis.
2017-01-24 12:30:07 +01:00
Kaveh Vahedipour
344bcd8ea6
AgencyComm evaluates fully sent requests properly.
2017-01-24 09:17:15 +01:00
Kaveh Vahedipour
f45d775106
AgencyComm evaluates fully sent requests properly.
2017-01-24 09:14:28 +01:00
Kaveh Vahedipour
95a165d5f4
inquiring about 503 and 0
2017-01-23 16:35:50 +01:00
Kaveh Vahedipour
8d70132c9d
handling agency comm failures
2017-01-23 11:16:23 +01:00
Kaveh Vahedipour
bc30fbe1ef
handling agency comm failures
2017-01-23 11:14:25 +01:00
Kaveh Vahedipour
cfbdaff0a8
Back in add follower
2017-01-23 09:39:32 +01:00
Kaveh Vahedipour
b123779e87
fixing inquiry
2017-01-23 09:15:47 +01:00
Kaveh Vahedipour
cad69aef1b
trying new inquiry in ClusterInfo
2017-01-23 09:10:36 +01:00
Kaveh Vahedipour
c1e270991e
testing uint?
2017-01-23 09:09:34 +01:00
Kaveh Vahedipour
327fd2b32e
trying new inquiry in ClusterInfo
2017-01-21 10:28:41 +01:00
Kaveh Vahedipour
7fd5de5bd7
trying new inquiry in ClusterInfo
2017-01-21 10:19:04 +01:00
Kaveh Vahedipour
fc2d36ccb1
Dealing with 412 in ClusterInfo
2017-01-20 18:58:07 +01:00
Kaveh Vahedipour
163e0158dc
before cppcheck enthusiasts start slacking :)
2017-01-20 15:22:30 +01:00
Kaveh Vahedipour
d2760f4ef1
pushing avoidServers property
2017-01-20 15:15:03 +01:00
Kaveh Vahedipour
bbb45ca397
Correct depiction of servers health status
2017-01-20 09:17:04 +01:00
Kaveh Vahedipour
40c6e2b48c
unobserve should not create entries in agency, if empty before
2017-01-20 08:06:27 +01:00
Max Neunhoeffer
427c8e4553
Merge branch 'devel' into schmutz-ng
2017-01-19 14:53:46 +01:00
Kaveh Vahedipour
67cd7deaaa
ClusterInfo enjoys clientIds
2017-01-19 14:51:29 +01:00
Max Neunhoeffer
7e4f45ec5c
Fix server list comparison.
2017-01-19 14:20:00 +01:00
Kaveh Vahedipour
54ccffc0ee
agencycommresult with clientids
2017-01-19 14:11:09 +01:00
Kaveh Vahedipour
c3f7a0b774
inquire in agency interface adjusted
2017-01-19 13:26:55 +01:00
Kaveh Vahedipour
1967853619
inquire in agency interface adjusted
2017-01-19 13:26:13 +01:00
Kaveh Vahedipour
41a7a81591
inquire in agency interface adjusted
2017-01-19 13:22:06 +01:00
Kaveh Vahedipour
8441da1be1
inquire in agency interface adjusted
2017-01-19 13:21:15 +01:00
Jan Christoph Uhde
3ab9377e6b
fix: build error on GCC (disambiguate query)
...
GCC complained about usage before type deduction
2017-01-19 12:30:04 +01:00
Kaveh Vahedipour
3639e2ad5b
inquire in agency interface adjusted
2017-01-19 11:33:01 +01:00
Max Neunhoeffer
370cb09d89
Merge branch 'devel' into schmutz-ng
2017-01-19 10:32:43 +01:00
Kaveh Vahedipour
eb661f95f2
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-01-18 17:26:54 +01:00
Kaveh Vahedipour
f47b3b3c9d
transient heartbeats
2017-01-18 17:26:45 +01:00
jsteemann
73da10a7e7
remove unused variable
2017-01-18 13:50:07 +01:00
Kaveh Vahedipour
aaee2f9e61
transient heartbeats
2017-01-18 13:43:33 +01:00
Kaveh Vahedipour
ea7e16979a
agency bug in precondition and log handling fixed
2017-01-18 11:07:30 +01:00
Kaveh Vahedipour
54dbf0a814
inquire interface and clientids
2017-01-17 17:33:12 +01:00
Kaveh Vahedipour
2d21b62007
agency compaction leaves last compaction-keep-size indices behind for reference
2017-01-17 12:15:18 +01:00
Andreas Streichardt
7b13a56b91
Merge branch 'devel' into schmutz-ng
2017-01-16 16:15:09 +01:00
Kaveh Vahedipour
6283da5da8
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-01-16 15:43:47 +01:00
Kaveh Vahedipour
879102117d
more replicationTest
2017-01-16 15:43:32 +01:00
Andreas Streichardt
10d3bd2200
Merge branch 'devel' into schmutz-ng
2017-01-16 15:22:17 +01:00
jsteemann
5566e6bb8f
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-01-16 14:48:18 +01:00
jsteemann
cdabaa931f
renaming
2017-01-16 14:48:13 +01:00
Kaveh Vahedipour
a75b3624de
resilience move ok again?
2017-01-16 12:09:21 +01:00
Kaveh Vahedipour
91e19fb271
arangod/Agency/Supervision.cpp
2017-01-16 11:57:31 +01:00
Kaveh Vahedipour
a6c48619b7
fix broken vacillant interface
2017-01-16 10:26:17 +01:00
Kaveh Vahedipour
272324c506
towards clientids in agency transactions
2017-01-16 09:54:55 +01:00
Max Neunhoeffer
f35e3a7aaf
Merge branch 'devel' into schmutz-ng
2017-01-16 09:54:09 +01:00
Andreas Streichardt
2a72d3edd1
Carrot fix for duplicate keys and invalid json
2017-01-13 18:30:19 +01:00
Andreas Streichardt
191f399ce2
Move AgencyCallback stuff to cluster so it is (hopefully) clear that this
...
is being used within the cluster and not within the agency.
2017-01-13 18:08:27 +01:00
Andreas Streichardt
9e721e77f6
Finally fix the useless "Expecting item" error
2017-01-12 16:26:55 +01:00
Kaveh Vahedipour
169cf88c0b
too short timeouts for load situations
2017-01-11 08:58:31 +01:00
Kaveh Vahedipour
f34796b432
move resilience should now be correct as a test
2017-01-10 17:30:09 +01:00
Kaveh Vahedipour
d30458b011
Supervision should not exit of empty plan collection
2017-01-10 16:53:24 +01:00
Kaveh Vahedipour
331d074ebe
more information from ClusterInfo's dropCollectionCoordinator
2017-01-10 16:25:00 +01:00
Kaveh Vahedipour
90c18e4914
waitFor will report more paranoid
2017-01-10 13:53:31 +01:00
Kaveh Vahedipour
fffba306a1
waitFor will report more paranoid
2017-01-10 13:51:31 +01:00
Kaveh Vahedipour
150ff8a1e3
waitFor will report more paranoid
2017-01-10 10:38:18 +01:00
Kaveh Vahedipour
59dc050070
missing prototypes
2017-01-09 10:38:53 +01:00
Kaveh Vahedipour
55985ed5de
missing prototypes
2017-01-09 10:38:34 +01:00
Andreas Streichardt
466f932701
First steps to low level replication debugging
2017-01-06 17:19:07 +01:00
jsteemann
7359ac44b2
more style cleanup
2017-01-05 10:52:03 +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
67b53bb91b
no need considering reportIn for updating endpoints
2017-01-03 09:40:03 +01:00
Kaveh Vahedipour
449800d922
agent id is in configuration part
2017-01-03 09:35:33 +01:00
Kaveh Vahedipour
466d645545
it is probably a must to continue if leader cannot be reached
2017-01-03 09:26:45 +01:00
Kaveh Vahedipour
202f0636df
nolock swap active member in agent configuration not needed
2017-01-03 09:01:53 +01:00
Kaveh Vahedipour
bd28896b69
do not resend inception message, if their leaderId and id are the same
2017-01-03 08:43:27 +01:00
Kaveh Vahedipour
c5c41a666c
agency updates new agent addresses and ports
2017-01-02 19:15:20 +01:00
Kaveh Vahedipour
f380ebae31
remove deceased agents from AgencyComm
2017-01-02 18:50:26 +01:00
Kaveh Vahedipour
9d5a5537ce
remove deceased agents from AgencyComm
2017-01-02 17:12:00 +01:00
Kaveh Vahedipour
a2ee40d4f3
restarting agents inform rest of their new endpoints
2017-01-02 15:58:38 +01:00
Kaveh Vahedipour
839654d095
collections and current version
2016-12-30 13:56:25 +01:00
Kaveh Vahedipour
55ffd4c55f
collections and current version
2016-12-30 13:54:55 +01:00
Kaveh Vahedipour
ab6678eb1f
need to fix tests first
2016-12-29 16:25:30 +01:00
Kaveh Vahedipour
3b62ab4b12
doubling the wait interval in agency comm is way too peeimistic
2016-12-29 16:10:14 +01:00
Kaveh Vahedipour
ba31d0e4a5
waitinterval should be reset after redirects from agency
2016-12-29 15:28:07 +01:00
Kaveh Vahedipour
e9f465d13b
read/write/transact interface lifted up to js
2016-12-28 15:37:05 +01:00
Kaveh Vahedipour
5db9ec52ec
investigation into agency comm errors
2016-12-28 11:45:57 +01:00
Kaveh Vahedipour
ce2b221615
investigation into agency comm errors
2016-12-28 11:44:09 +01:00
Kaveh Vahedipour
c2f5fb3237
number of max retires is creating the problems?
2016-12-28 11:02:01 +01:00
Kaveh Vahedipour
ce687562f2
less rigid expectation on smooth operations through agency comm under worst case scenarios.
2016-12-28 10:32:20 +01:00
Kaveh Vahedipour
a3e2eaa8ed
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2016-12-28 10:06:26 +01:00
jsteemann
bab9ea38d1
changed copy&paste error message
2016-12-27 18:43:19 +01:00
Kaveh Vahedipour
3c487165b8
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2016-12-23 16:34:10 +01:00
Max Neunhoeffer
fc52c04bf4
Improve debug messages in Agency.
2016-12-23 14:25:03 +01:00
Max Neunhoeffer
2b26224c95
Adding _term to log message.
2016-12-23 14:15:48 +01:00
Max Neunhoeffer
ba29e21a0c
Improve a debug message.
2016-12-23 14:09:01 +01:00
Kaveh Vahedipour
fcdc7601f3
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2016-12-23 14:06:34 +01:00
Max Neunhoeffer
b6ad88d7f8
Do not getUniqueIds when not leading.
2016-12-23 14:02:44 +01:00
Max Neunhoeffer
4580bf1083
Fix bug which triggered an election too many.
2016-12-23 14:02:33 +01:00
Kaveh Vahedipour
ca580170bf
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2016-12-23 13:28:12 +01:00
Kaveh Vahedipour
770a49d8ca
supervision should only collect unique ids in leadership
2016-12-23 13:27:59 +01:00
Max Neunhoeffer
a6998744f1
Repair failover loop of AgencyComm.
2016-12-23 13:18:32 +01:00
Max Neunhoeffer
d37e887eb9
Merge conflict.
2016-12-23 12:11:44 +01:00
Kaveh Vahedipour
3532fd6af5
endopint needs clearing after failure in agencycomm
2016-12-23 11:47:06 +01:00
Kaveh Vahedipour
cf5ae36a14
agency more verbose for fixing cluster tests in jenkins
2016-12-23 11:10:22 +01:00
Kaveh Vahedipour
facd58b8b5
replication factor is enforced after failedleader to add new follower
2016-12-22 13:12:16 +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
12e54902df
agency's supervision must wait grace period after becoming leader before acting on db server failure
2016-12-21 11:17:41 +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
1dead04c6a
proper handling of hidden key-value-store data
2016-12-20 16:44:43 +01:00
Max Neunhoeffer
985ccaeb70
Get rid of Supervision::wakeUp().
2016-12-20 10:19:24 +01:00
Max Neunhoeffer
138dfdea64
Improve debugging output in election.
2016-12-20 09:34:30 +01:00
Max Neunhoeffer
47297624ce
Further rearrangement in election loop.
2016-12-20 09:24:19 +01:00
Kaveh Vahedipour
dcc015f37a
max's criticism
2016-12-20 08:54:53 +01:00
Kaveh Vahedipour
27e4b170cf
assuming leadership separated in a preparation part and in a action part
2016-12-19 17:42:07 +01:00
Kaveh Vahedipour
034961142a
constituent does elections more efficiently
2016-12-19 17:19:58 +01:00
Kaveh Vahedipour
0e29e93816
race condition in agency when leader impaired
2016-12-19 15:00:32 +01:00
Kaveh Vahedipour
3068b8ecb5
votes properly accounted for
2016-12-19 09:10:26 +01:00
Kaveh Vahedipour
0d3c1b16d9
faily confident about sendWithFailover
2016-12-16 17:55:10 +01:00
Kaveh Vahedipour
1312c59b6e
1st stage of fixing sendWithFailover
2016-12-16 15:23:24 +01:00
Kaveh Vahedipour
dd0146a54d
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2016-12-16 12:26:38 +01:00
Kaveh Vahedipour
0df8e4e2cd
isWatch no longer needed after move to arangodb agency
2016-12-16 12:26:27 +01:00
jsteemann
b4df6577c0
don't copy responses around
2016-12-16 11:00:18 +01:00
Kaveh Vahedipour
043c0bd92f
cannot depend on Slice.getDouble
2016-12-15 15:32:09 +01:00
Kaveh Vahedipour
8251cd46e1
cannot depend on Slice.getDouble
2016-12-15 15:23:45 +01:00
Kaveh Vahedipour
ebee9b6752
fixed MoveShard after cppcheck-frenzy
2016-12-15 11:44:36 +01:00
Kaveh Vahedipour
4919a65ee8
fixed MoveShard after cppcheck-frenzy
2016-12-15 11:35:40 +01:00
Kaveh Vahedipour
14ac7a168a
correct rordering of agent list in redirect
2016-12-15 10:56:43 +01:00
Kaveh Vahedipour
22f8eab6ea
short review and c++11 cosmetics
2016-12-15 08:46:40 +01:00
Kaveh Vahedipour
84fa31a39d
agencycommanager ran in locks when ::redirect called ::failed
2016-12-14 17:27:46 +01:00
Kaveh Vahedipour
84415bb508
insecure access to front
2016-12-14 13:56:21 +01:00
Kaveh Vahedipour
486e544732
failed agent problem in AgencyComm resolved
2016-12-14 12:32:32 +01:00
Kaveh Vahedipour
a7f88840e7
Fixed redirect issues in AgencyComm
2016-12-14 12:12:00 +01:00
Kaveh Vahedipour
842d1030f0
Fixed dangling UUID problem in missing database directory
2016-12-13 15:36:19 +01:00
jsteemann
5320c65bce
cppcheck
2016-12-12 15:55:53 +01:00
jsteemann
b96897e296
fixed some issues detected by coverity build tool
2016-12-12 15:41:54 +01:00
Kaveh Vahedipour
ec249e0d06
moveShard jobs running
2016-12-12 10:31:14 +01:00
Kaveh Vahedipour
ec18efc80e
moveShard jobs running
2016-12-12 10:29:41 +01:00
jsteemann
e9322eea8d
cppcheck
2016-12-12 10:10:58 +01:00
jsteemann
4f46fbe239
cppcheck
2016-12-12 09:09:08 +01:00
jsteemann
090e8c2a59
fix memleak
2016-12-09 17:17:20 +01:00
Kaveh Vahedipour
2b9c018817
fixed resilience
2016-12-09 16:35:32 +01:00
Kaveh Vahedipour
eddecc0a4c
clones method in Jobs more useful
2016-12-09 09:29:00 +01:00
jsteemann
404e04baa4
fix art
2016-12-08 17:36:42 +01:00
jsteemann
350da367bd
fixes for Visual Studio
2016-12-08 17:32:46 +01:00
Andreas Streichardt
fbcae1382f
Remove useless logging
2016-12-08 15:21:40 +01:00
Kaveh Vahedipour
62c3240f8d
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2016-12-08 15:12:11 +01:00
Kaveh Vahedipour
c6ef45b64d
AddFollower to handle multiple followers at the same time
2016-12-08 15:12:05 +01:00
Andreas Streichardt
76c0789e3c
Distribute satellites across cluster
2016-12-08 15:11:22 +01:00
Kaveh Vahedipour
2fadea8332
AddFollower tests
2016-12-07 16:42:35 +01:00
Kaveh Vahedipour
b930b23fc2
AddFollower jobs for newly arrived db server to satisfy replication factors
2016-12-07 16:20:47 +01:00
Kaveh Vahedipour
b20de61ae8
Useful logging in failure mode of inception's persistence
2016-12-07 14:29:48 +01:00
Kaveh Vahedipour
9bf7d3fb5b
Useful logging in failure mode of inception's persistence
2016-12-07 12:12:49 +01:00
Kaveh Vahedipour
3b4266962a
Fatal error exit missing
2016-12-07 12:06:38 +01:00
Kaveh Vahedipour
47463a2f1c
Agency startup redone after revisit of design document
2016-12-07 11:56:41 +01:00
Kaveh Vahedipour
30a0243e3d
redirects to myelf should be hinstory
2016-12-06 18:05:05 +01:00
Andreas Streichardt
0c97df2527
Fix compilation
2016-12-06 17:20:28 +01:00
Kaveh Vahedipour
0d3020434a
redirects to myelf should be hinstory
2016-12-06 17:18:00 +01:00
Kaveh Vahedipour
51b279346b
redirects to myelf should be hinstory
2016-12-06 17:10:15 +01:00
Kaveh Vahedipour
3a1a9c898c
correct handling of distributeShardsLike in FailedFollower
2016-12-05 15:44:53 +01:00
Kaveh Vahedipour
77c8c51865
FailedFollower and Windows build problmes
2016-11-30 15:39:10 +01:00
Kaveh Vahedipour
575a671fac
AddFollower added to supervisionm
2016-11-29 17:29:44 +01:00
Kaveh Vahedipour
5c3f5f8013
AddFollower added to supervisionm
2016-11-29 17:28:17 +01:00
Kaveh Vahedipour
7587053ffc
some minor warnings
2016-11-29 13:13:25 +01:00
Kaveh Vahedipour
acf8a12c53
more reliable RAFT timing\?
2016-11-29 12:52:10 +01:00
Kaveh Vahedipour
8bf05ecf8c
Some verbosity in RAFT startup
2016-11-29 11:06:08 +01:00
Kaveh Vahedipour
7ce3e24d91
Agent handles gossip callbacks for configuration updates
2016-11-29 10:12:02 +01:00
Kaveh Vahedipour
3518fb1319
AgencyComm: validation defined in transactions
2016-11-28 16:09:55 +01:00
jsteemann
e81a3c1ec1
fix issues found by cppcheck
2016-11-25 17:26:42 +01:00
Kaveh Vahedipour
029ff44bb0
Merge back FMH to devel
2016-11-25 16:03:13 +01:00
jsteemann
15487d49ba
use make_unique
2016-11-25 15:35:54 +01:00
Kaveh Vahedipour
4a95e82fa6
ShortName for servers in new ugly UUID world
2016-11-25 15:25:51 +01:00
Kaveh Vahedipour
41e1ba144f
general transactions in agency comm
2016-11-25 09:24:41 +01:00
kvahed
64db982815
broken agency fixed. the list of active agents failed to fill.
2016-11-24 15:43:38 +01:00
kvahed
29b9d9836b
Agent configuration raised version number regardless of actual change
2016-11-24 14:20:08 +01:00
Max Neunhoeffer
4f23998bb9
Wait with Inception gossip until maintenance mode is off.
2016-11-24 13:34:28 +01:00
Kaveh Vahedipour
d6a2e921db
new transact api for agency
2016-11-23 17:58:17 +01:00
Kaveh Vahedipour
f0e1168e5a
Merge remote-tracking branch 'origin/devel' into FMH
2016-11-22 17:48:36 +01:00
Andreas Streichardt
63a173f002
Delete all shard move jobs when server is healthy again
2016-11-22 14:13:09 +01:00
Kaveh Vahedipour
15ac51ab6a
Agency kv-store handles missing '/' upfront
2016-11-18 10:30:22 +01:00
Kaveh Vahedipour
ffe7f9f3ad
merged in devel
2016-11-16 14:59:53 +01:00
jsteemann
68c15ebc9e
do not url-decode paths eagerly
2016-11-15 15:46:21 +01:00
Kaveh Vahedipour
1c3e8c1205
Supervision gracePeriod shorter
2016-11-07 10:12:13 +00:00
Kaveh Vahedipour
62492195e9
Recapsulating MUTEX in key value Store
2016-11-04 11:42:08 +01:00
Kaveh Vahedipour
8185588bb2
double percision conserved for timeout in AgencyComm
2016-11-03 16:47:38 +01:00
Kaveh Vahedipour
95c177c30c
Waiting for leader election in AgencyComm::sendWithFailover
2016-11-03 14:24:45 +01:00
Kaveh Vahedipour
ea4bdd2793
min RAFT timeout estimation a little more conservative
2016-11-03 12:21:36 +01:00
Kaveh Vahedipour
9e170e8021
version update after return statement
2016-11-03 11:18:50 +01:00
Kaveh Vahedipour
266ee69535
less noisy inception: only updated configurations are gossipped. avoid multiple reports
2016-11-03 10:27:43 +01:00
Kaveh Vahedipour
cdd9550637
less noisy inception: only updated configurations are gossipped. avoid multiple reports
2016-11-03 10:23:48 +01:00
Max Neunhoeffer
6890860dd3
Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel
2016-11-02 09:38:11 -07:00
Max Neunhoeffer
25d687e32a
Add debug messages in gossip calls in agency.
2016-11-02 09:37:04 -07:00
Kaveh Vahedipour
e9450e21c2
don't override raft timeout cmd line inpute
2016-11-02 15:57:49 +01:00
Kaveh Vahedipour
c71d9e287e
do not override command line RAFT timings with estimates
2016-11-02 15:44:54 +01:00
Kaveh Vahedipour
c8511619a6
Gossipping premature stop
2016-11-02 12:01:24 +01:00
Kaveh Vahedipour
134eed9c99
less high frequent gossipping
2016-11-02 11:39:23 +01:00
Kaveh Vahedipour
8b99d8995a
Fix unfinished gossips
2016-11-02 11:36:57 +01:00
Kaveh Vahedipour
9a6f605f2f
fixed small double / long conversion
2016-10-31 17:00:55 +01:00
Kaveh Vahedipour
7aef1aed6d
well tested auto adaptation
2016-10-31 15:47:35 +01:00
Kaveh Vahedipour
69131a2fd3
well tested auto adaptation
2016-10-31 14:35:15 +01:00
jsteemann
9d9b4871ba
fixes for Visual Studio
2016-10-31 12:16:39 +01:00
Kaveh Vahedipour
e8876df3f3
RAFT timings to mean rather than max
2016-10-31 10:25:00 +00:00
Kaveh Vahedipour
0821a8e3e3
RAFT timings to mean rather than max
2016-10-31 10:20:43 +00:00
Kaveh Vahedipour
a538ace158
RAFT auto-timing warnings
2016-10-31 11:19:38 +01:00
Kaveh Vahedipour
a820bb3661
RAFT auto-timing warnings
2016-10-31 11:19:01 +01:00
Kaveh Vahedipour
5656ac8643
RAFT auto-timing warnings
2016-10-31 11:17:34 +01:00
Kaveh Vahedipour
50a275cc8d
RAFT timings to mean rather than max
2016-10-31 09:44:33 +00:00
Kaveh Vahedipour
0e15a305d2
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2016-10-31 10:01:33 +01:00
Kaveh Vahedipour
cc8270a897
Proposal for auto adaption of agency's RAFT timings
2016-10-31 10:01:26 +01:00
jsteemann
5d8a8f5402
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2016-10-31 09:59:30 +01:00
jsteemann
cfc9ecd198
fix Visual Studio complaints
2016-10-31 09:59:18 +01:00
Kaveh Vahedipour
9bcdf9ed66
Proposal for auto adaption of agency's RAFT timings
2016-10-31 09:43:39 +01:00
Kaveh Vahedipour
7640da52a4
RAFT timeout estimation output
2016-10-30 11:27:59 +01:00
Kaveh Vahedipour
a238184b5a
RAFT timeout estimation output
2016-10-30 11:11:28 +01:00
Kaveh Vahedipour
fe89200ef1
timeouts 1000 too large
2016-10-30 11:01:13 +01:00
Kaveh Vahedipour
8a1bc6b783
RAFT timeout update broken?
2016-10-30 10:54:28 +01:00
Kaveh Vahedipour
ebcf245ebd
Adaptive RAFT timing in agency
2016-10-28 19:13:17 +02:00
jsteemann
aea2b31025
removed unused variable
2016-10-28 16:42:58 +02:00