Jan
46e98d7110
avoid string copies in several cases ( #10317 )
2019-10-25 10:47:04 +02:00
Jan
2e293b85ca
Bug fix/cppcheck issues ( #10105 )
2019-09-30 09:27:33 +02:00
Dan Larkin-York
a83c2323c9
Refactor ApplicationServer stack ( #9965 )
2019-09-25 17:31:59 +02:00
Max Neunhöffer
d6d362bd3b
Fix agency election lock step bug. ( #9351 )
...
* Fix agency election lockstep bug.
Reset the base point for the random election timeout to now whenever we have
cast a vote, be it for us or for some other server.
* CHANGELOG.
* Fix compilation.
2019-06-27 22:06:26 +02:00
Frank Celler
ac9f375fb5
big reformat
2018-12-26 00:54:03 +01:00
Kaveh Vahedipour
28754cbf15
Feature/schmutz plus plus ( #5972 )
...
- Schmutz now called "Maintenance" and completely implemented in C++
- Fix index locking bug in mmfiles
- Fix a bug in mmfiles with silent option and repsert
- Slightly increase supervision okperiod and graceperiod
2018-08-24 12:15:35 +02:00
Simran
34ec56d421
Feature/misc spelling corrections ( #5164 )
2018-07-13 13:06:20 +02:00
Kaveh Vahedipour
42f543fd10
constituent correctly persisiting _votedFor and _term ( #4248 )
2018-01-16 09:47:25 +01:00
Max Neunhöffer
7bae6980e8
Bug fix/agent lead hanger ( #4147 )
...
* Really enforce the hidden option --server.maximal-threads if given.
* Switch off --log.force-direct in scripts/startStandAloneAgency.sh
* Lower the timeout for sending AppendEntriesRPC to 150s.
* Erase _earliestPackage when becoming a leader.
* Challenge leadership in agent main loop.
* Use steady_clock for _earliestPackage.
* Change _lastAcked and _leaderSince to steady_clock as well.
* time difference calculations based on old readSystemClock to steadyClockToDouble
* All system_clock transitioned to steady_clock in Agent. Remaining system_clock are user input / output or timestamps
* Inception system_clock to steady_clock
2017-12-27 16:45:39 +01:00
Jan
bef52d7dc3
Bug fix/cleanup after cppcheck ( #3639 )
2017-11-10 13:53:28 +01:00
Max Neunhöffer
3c0ee6908b
Bug fix/lead to agent ( #3541 )
2017-11-09 11:10:09 +01:00
Max Neunhöffer
22e46978a6
Bug fix/sort out agency locks ( #3306 )
...
New locking concept in Agency. Ensure empty heartbeats can be sent, answered and processed without long locks. Adjust logging. Fix compaction bugs.
2017-09-27 15:22:30 +02:00
Max Neunhöffer
3d8e590bee
Adapt Raft timeouts dynamically and fix create collection timeout race
...
Various fixes.
2017-07-06 12:51:51 +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
Kaveh Vahedipour
4cc830b0df
merge from 3.1
2017-02-20 20:05:52 +01:00
Max Neunhoeffer
138dfdea64
Improve debugging output in election.
2016-12-20 09:34:30 +01:00
Frank Celler
de71768bd0
fixed timeouts
2016-10-19 13:21:26 +00:00
Max Neunhoeffer
33adc23910
Try to fix agency.
...
Various fixes:
- only call for an election if no leader has announced itself
- protect access to _cast and _votedFor
- and then some
2016-10-14 17:53:01 +02:00
Kaveh Vahedipour
85ea1d5ff9
clang-format
2016-09-06 10:01:33 +02:00
Kaveh Vahedipour
7c706ecdc8
weekend edition
2016-08-19 17:59:58 +02:00
Kaveh Vahedipour
0bdfdc7cb6
votes are processed correctly again
2016-08-19 05:11:52 +02:00
Kaveh Vahedipour
9cbffca282
accidentally commented out reportIn mutex_locker
2016-08-18 16:06:47 +02:00
Kaveh Vahedipour
1a23803238
multiagent gossip
2016-08-16 15:46:00 +02:00
Kaveh Vahedipour
4759b2a434
Agency compiling again
2016-08-11 12:05:53 +02:00
Kaveh Vahedipour
07bba4a9a9
bug fixes agancy backported from devel
2016-06-30 13:50:12 +02:00
Kaveh Vahedipour
e4556bb766
fixed seldom race in election pulled back from 3.0
2016-06-15 12:35:40 +02:00
Kaveh Vahedipour
ab593bfa94
error handling in rest handling and random generator in constituent
2016-06-14 14:51:48 +02:00
Kaveh Vahedipour
658a2a8f3d
clean up code, document
2016-06-14 12:00:34 +02:00
Frank Celler
9646f736fb
clang-format
2016-05-18 14:51:09 +00:00
Kaveh Vahedipour
724c5dd6c7
solaris' ineptness
2016-04-25 16:51:54 +00:00
Jan Steemann
c8c8625727
try to fix some undefined behavior on cluster startup
2016-04-25 15:31:23 +02:00
jsteemann
7db14d381a
unified include guards
2016-04-22 16:05:50 +02:00
Andreas Streichardt
ef06a12e5d
Merge branch 'devel' of github.com:arangodb/arangodb into devel
2016-04-21 17:40:54 +02:00
Andreas Streichardt
24afe7a6ac
Finally implement proper agent notification
2016-04-21 17:01:31 +02:00
Kaveh Vahedipour
5eed7c8b44
some wrong header declarations
2016-04-19 12:15:20 +00:00
Kaveh Vahedipour
87bc35068b
FHM merge from devel
2016-04-19 09:59:33 +00:00
Kaveh Vahedipour
d97d23b8df
naming and FMH merge perp
2016-04-19 07:59:51 +00:00
Frank Celler
007fe8e053
Merge branch 'devel' of https://github.com/arangodb/arangodb into FMH
...
Conflicts:
arangod/Agency/Constituent.cpp
arangod/Agency/RestAgencyHandler.cpp
arangod/Aql/Query.cpp
arangod/Aql/grammar.cpp
arangod/RestHandler/RestSimpleQueryHandler.cpp
arangod/RestServer/ArangoServer.cpp
js/client/modules/@arangodb/testing.js
2016-04-19 07:44:00 +02:00
Kaveh Vahedipour
3cf55c5e3e
cluster startup and supervision
2016-04-18 15:27:23 +02:00
Kaveh Vahedipour
76a0b2d41a
cluster startup and supervision
2016-04-18 13:08:49 +02:00
Kaveh Vahedipour
6ae8aa7c0d
replace sleep_for with wait
2016-04-18 10:46:26 +02:00
Frank Celler
dd44191a91
WIP
2016-04-15 21:03:53 -07:00
Frank Celler
cd91d3654e
Merge remote-tracking branch 'origin' into FMH
2016-04-15 19:01:38 -07:00
Kaveh Vahedipour
fa6e12efe4
option to turn off sync for wait on every persistence call
2016-04-13 19:40:19 +02:00
Kaveh Vahedipour
bf95261493
introducing cluster sanity checking to agency
2016-04-12 10:25:52 +02:00
Kaveh Vahedipour
c3c6dd14d5
clang binaries don't like being left with an undefined iterator. no way around fixing it.
2016-04-11 14:54:46 +02:00
Kaveh Vahedipour
67e705eb77
all internal http calls to agency database on vpack
2016-04-11 07:55:28 +00:00
Kaveh Vahedipour
153610c76f
corrected ttl for accepting integer seconds :)
2016-03-31 09:08:18 +02:00
Kaveh Vahedipour
0e49485c73
updating state to AQL
2016-03-30 16:18:12 +02:00
Kaveh Vahedipour
a11ed509a1
some consistency namign
2016-03-29 10:28:57 +02:00