Kaveh Vahedipour
69d946e8c9
reformat
2016-09-12 10:38:36 +02:00
Kaveh Vahedipour
fb1a729c1b
more robust network independance in RAFT election cycle
2016-09-09 16:02:58 +02:00
Kaveh Vahedipour
e0de07b403
more robust network independance in RAFT election cycle
2016-09-09 15:59:58 +02:00
Kaveh Vahedipour
16a35ee15a
multi-host agency in tests
2016-09-09 14:46:54 +02:00
Kaveh Vahedipour
64da7d0fc7
testing constutuent shutdown correctness
2016-09-08 17:47:52 +02:00
Kaveh Vahedipour
3135fcb5dd
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2016-09-08 17:40:40 +02:00
Kaveh Vahedipour
33c2692c50
optimising agency handover
2016-09-08 17:39:50 +02:00
Michael Hackstein
adf2601e73
Merge branch 'devel' of github.com:arangodb/arangodb into generic-col-types
2016-09-08 16:26:57 +02:00
Kaveh Vahedipour
df4dabc019
minor
2016-09-08 15:27:27 +02:00
Kaveh Vahedipour
998a635fd6
running agent?
2016-09-08 14:08:20 +02:00
jsteemann
c488375e36
Merge branch 'devel' of https://github.com/arangodb/arangodb into generic-col-types
2016-09-08 12:53:36 +02:00
Kaveh Vahedipour
4704892a17
restructuring agent wakeup
2016-09-08 12:49:24 +02:00
jsteemann
34f7e27d6c
Merge branch 'devel' of https://github.com/arangodb/arangodb into generic-col-types
2016-09-08 09:27:53 +02:00
Frank Celler
e394653cae
silenced cppcheck warning
2016-09-08 08:43:22 +02:00
Frank Celler
52b1541f46
silenced warning in maintainer-mode
2016-09-08 08:41:58 +02:00
jsteemann
8ef63acf55
Merge branch 'devel' of https://github.com/arangodb/arangodb into generic-col-types
2016-09-07 15:24:51 +02:00
Kaveh Vahedipour
beb46cc1a0
cppcheck warnings
2016-09-07 15:11:10 +02:00
Andreas Streichardt
8f318b526f
Merge branch 'devel' into generic-col-types
2016-09-07 14:28:37 +02:00
Kaveh Vahedipour
2c7231a7d5
hiding .agency configuration from unauthorized access
2016-09-07 14:18:10 +02:00
Kaveh Vahedipour
43125c2a10
fixed an issue with the way std::chrono::duration is defaulted with respoect to units in different compilers
2016-09-07 13:59:30 +02:00
Kaveh Vahedipour
ae2cc90c1a
constituent starting anyway without inception
2016-09-07 12:21:16 +02:00
jsteemann
028b5f8ece
Merge branch 'devel' of https://github.com/arangodb/arangodb into generic-col-types
2016-09-07 12:07:06 +02:00
jsteemann
dfca849325
Merge branch 'devel' of https://github.com/arangodb/arangodb into generic-col-types
2016-09-07 12:06:43 +02:00
jsteemann
195b8a549a
removed unused variables
2016-09-07 12:05:56 +02:00
Kaveh Vahedipour
288f42c531
constituent starting anyway without inception
2016-09-07 11:52:21 +02:00
jsteemann
9611f30796
Merge branch 'devel' of https://github.com/arangodb/arangodb into generic-col-types
2016-09-07 11:44:49 +02:00
Kaveh Vahedipour
57453c96c5
Logging in cluster. No votes in constituent before vocbase != nullptr
2016-09-07 11:09:33 +02:00
Kaveh Vahedipour
a37d073813
a candidate of a leader could ask a strarting up agent for a vote before it having a vocbase.
2016-09-07 11:02:15 +02:00
jsteemann
e1c847b0f6
Merge branch 'devel' of https://github.com/arangodb/arangodb into generic-col-types
2016-09-07 09:52:38 +02:00
Kaveh Vahedipour
78ecf6bc53
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2016-09-07 09:50:46 +02:00
Kaveh Vahedipour
f5cb4e7e1e
replaced sleep_for by wait in inception phase
2016-09-07 09:50:36 +02:00
Andreas Streichardt
ee0312e65a
Fix double lock during shutdown
2016-09-07 09:45:57 +02:00
jsteemann
c14c6ab025
removed unused variables
2016-09-07 08:56:48 +02:00
jsteemann
8a4b51cb92
fixed compile error
2016-09-07 08:53:35 +02:00
jsteemann
faf66d084c
Merge branch 'devel' of https://github.com/arangodb/arangodb into generic-col-types
2016-09-07 08:52:14 +02:00
jsteemann
f5a595f464
Merge branch 'devel' of https://github.com/arangodb/arangodb into generic-col-types
2016-09-07 08:52:07 +02:00
Jan Steemann
b59cc6f379
removed superfluous methods
2016-09-07 08:42:52 +02:00
Frank Celler
2a89f6b725
removed log
2016-09-06 23:26:32 +02:00
Frank Celler
845de0b021
moved to destructor, beginShutdown should not wait
2016-09-06 23:22:10 +02:00
Frank Celler
5a14ab5a12
silence warning
2016-09-06 23:20:56 +02:00
Kaveh Vahedipour
c0ec149752
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2016-09-06 18:14:22 +02:00
Kaveh Vahedipour
b4d5afa7c9
testing constutuent shutdown correctness
2016-09-06 18:14:16 +02:00
Andreas Streichardt
ecc571b299
Merge branch 'devel' of github.com:arangodb/arangodb into devel
2016-09-06 17:13:40 +02:00
Andreas Streichardt
6786049442
Fix exception
2016-09-06 17:13:26 +02:00
Kaveh Vahedipour
a9ce21c80e
minor
2016-09-06 16:52:03 +02:00
Andreas Streichardt
7b4a383877
Fix resilience tests
2016-09-06 16:49:54 +02:00
Andreas Streichardt
6396ac4dc7
Implement removeServer job
2016-09-06 16:49:25 +02:00
jsteemann
aa64e86d72
fixed invalid read
2016-09-06 15:41:31 +02:00
jsteemann
0970715708
properly set response code on redirect
2016-09-06 15:41:15 +02:00
jsteemann
e9bad5eee7
fix error after merge
2016-09-06 14:44:31 +02:00
jsteemann
b718f67ff6
Merge branch 'devel' of https://github.com/arangodb/arangodb into generic-col-types
2016-09-06 14:40:51 +02:00
Kaveh Vahedipour
f2d8dbe175
agency tests wait for leadership to be established
2016-09-06 14:13:57 +02:00
Kaveh Vahedipour
64887d6a86
agency tests wait for leadership to be established
2016-09-06 14:10:54 +02:00
jsteemann
6ddf8bab54
Merge branch 'devel' of https://github.com/arangodb/arangodb into generic-col-types
2016-09-06 11:22:14 +02:00
Kaveh Vahedipour
85ea1d5ff9
clang-format
2016-09-06 10:01:33 +02:00
Kaveh Vahedipour
030d3f146e
minor
2016-09-06 09:55:52 +02:00
Kaveh Vahedipour
51b6888549
new agency operators REPLACE and ERASE
2016-09-05 18:08:23 +02:00
Andreas Streichardt
f9fea70c3e
readd method
2016-09-05 15:50:41 +02:00
Kaveh Vahedipour
9808a55a33
some cleaning up
2016-09-05 15:12:46 +02:00
Kaveh Vahedipour
b1d645b841
We can handle dying dbservers during collection creation
2016-09-05 14:06:53 +02:00
jsteemann
df808cd665
Merge branch 'engine-vs-velocystream' of https://github.com/arangodb/arangodb into generic-col-types
2016-09-05 11:51:09 +02:00
jsteemann
cf1023eb98
Merge branch 'devel' of https://github.com/arangodb/arangodb into generic-col-types
2016-09-05 11:42:58 +02:00
Kaveh Vahedipour
682a99a063
Added missing classes
2016-09-05 11:15:47 +02:00
Kaveh Vahedipour
f066ff9920
looks good for dangling creation of shards
2016-09-05 11:03:37 +02:00
Kaveh Vahedipour
f0023d70e1
half way through unassumed leadership
2016-09-02 17:38:49 +02:00
jsteemann
4492409d5f
Merge branch 'devel' of https://github.com/arangodb/arangodb into generic-col-types
2016-09-02 15:23:15 +02:00
jsteemann
1823cff3a9
removed TRI_collection_t
2016-09-02 14:54:13 +02:00
Kaveh Vahedipour
e669de0f70
removed bug into failedserver
2016-09-02 14:39:15 +02:00
Kaveh Vahedipour
b3b7d7c907
failed servers are excluded from new shard creation
2016-09-02 12:37:53 +02:00
Kaveh Vahedipour
3603a6d63d
failed server entry in target and plan increase until resolution
2016-09-02 09:28:08 +02:00
jsteemann
3ac79c8132
Merge branch 'devel' of https://github.com/arangodb/arangodb into generic-col-types
2016-09-01 15:08:42 +02:00
Kaveh Vahedipour
6239a5fbc5
minor reorganisation
2016-09-01 13:45:15 +02:00
jsteemann
68ae8d2945
Merge branch 'devel' of https://github.com/arangodb/arangodb into generic-col-types
2016-09-01 12:02:50 +02:00
Jan Steemann
9591882cee
don't throw
2016-09-01 11:26:09 +02:00
jsteemann
e6e5aacd05
fix after merge
2016-09-01 10:50:11 +02:00
jsteemann
fb04340937
Merge branch 'devel' of https://github.com/arangodb/arangodb into generic-col-types
2016-09-01 10:47:44 +02:00
Kaveh Vahedipour
51da548a6b
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2016-09-01 07:37:00 +00:00
Kaveh Vahedipour
804c30803f
RAFT read bug in leader isolation
2016-09-01 09:35:17 +02:00
Kaveh Vahedipour
48099cf067
merging back into jepsen impl
2016-09-01 07:22:30 +00:00
Kaveh Vahedipour
a19314f27e
geez
2016-09-01 07:20:22 +00:00
Kaveh Vahedipour
4f98c4dd49
RAFT read bug
2016-09-01 09:18:44 +02:00
Jan Christoph Uhde
c98f83ede3
fix RestSimpleHandler
2016-08-31 18:52:58 +02:00
Jan Christoph Uhde
69318fc56c
Merge branch 'devel' of github.com:arangodb/arangodb into obi-velocystream-try-merge-devel
...
* 'devel' of github.com:arangodb/arangodb:
fixed issue with leadership in minority
Set host_arch by CROSS_COMPILING
agency configuration persisted to state machine
2016-08-31 18:23:31 +02:00
jsteemann
fa21e70256
Merge branch 'devel' of https://github.com/arangodb/arangodb into generic-col-types
2016-08-31 17:59:54 +02:00
Kaveh Vahedipour
6c57f4eb67
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2016-08-31 15:24:28 +00:00
Kaveh Vahedipour
2550dd22e0
fixed issue with leadership in minority
2016-08-31 17:23:48 +02:00
Kaveh Vahedipour
676e5b1329
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2016-08-31 08:34:21 +00:00
jsteemann
a04934ce50
Merge branch 'engine-vs-velocystream' of https://github.com/arangodb/arangodb into generic-col-types
2016-08-31 09:25:09 +02:00
Jan Christoph Uhde
ed111a39a1
Merge branch 'devel' into obi-velocystream-try-merge-devel
...
* devel: (24 commits)
minor fixes
fix effect that on second install we will complain about mismatching passwords
only test for cleaning up 3rdparty if we're parametrized to do so.
fix CMake so it finds the PythonInterpreter even with oder versions
hexify corrupted markers
Fix comments
fixed cluster start
issue #2022 : double max allowed request body size, cap --batch-size value in arangoimp
fixed issue #2023 : added replicationFactor to docs
improve the perf script
fix perfsetupscript
clean up perf script
add SYSTEM flag to boost includes to avoid warnings
Adding Foxx access to agency
Adding Foxx access to agency
fix compile warning
Add missing windows library.
fix windows compile problems.
Fix syntax error in windows client installer.
If we have relative paths that are working, make them absolute so they still work after CWD's of arangod
...
Conflicts:
arangod/Agency/AgentConfiguration.cpp
arangod/GeneralServer/HttpCommTask.cpp
arangod/RestServer/DatabaseFeature.cpp
arangod/VocBase/datafile.cpp
2016-08-30 22:04:31 +02:00
Kaveh Vahedipour
c8178239e1
agency configuration persisted to state machine
2016-08-30 14:41:28 +02:00
jsteemann
2134afaa83
renamed method
2016-08-30 10:36:34 +02:00
Michael Hackstein
82edb8707a
Merge branch 'generic-col-types' of github.com:arangodb/arangodb into generic-col-types
2016-08-30 10:12:36 +02:00
jsteemann
bd590fb62d
Merge branch 'devel' of https://github.com/arangodb/arangodb into generic-col-types
2016-08-30 08:18:34 +02:00
Michael Hackstein
7cf7b89c6d
Removed more usage of VocbaseCollectionInfo and replaced it by LogicalCollection. It's getting better now. State still not green.
2016-08-29 18:44:34 +02:00
Kaveh Vahedipour
c53428ce89
minor fixes
2016-08-29 17:13:33 +02:00
Kaveh Vahedipour
b94f17fb21
minor timing
2016-08-26 15:30:26 +00:00
Kaveh Vahedipour
d7334c5616
minor timing
2016-08-26 15:29:41 +00:00
jsteemann
37258adb57
Merge branch 'devel' of https://github.com/arangodb/arangodb into generic-col-types
2016-08-26 16:37:25 +02:00
Kaveh Vahedipour
fb6e651525
Adding Foxx access to agency
2016-08-26 16:28:42 +02:00
Kaveh Vahedipour
e07543c2e2
Adding Foxx access to agency
2016-08-26 16:25:03 +02:00
jsteemann
22b1b7b7e7
added unload() functionality for indexes (untested)
2016-08-26 14:00:03 +02:00
jsteemann
4b53310189
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-vs-velocystream
2016-08-26 13:42:40 +02:00
Kaveh Vahedipour
b409a1ff25
Adding Foxx access to agenc
2016-08-26 13:35:39 +02:00
jsteemann
257aefc5c5
fix agency shutdown
2016-08-25 14:06:08 +02:00
jsteemann
c6efe26198
cppcheck
2016-08-25 14:04:23 +02:00
jsteemann
667dc8af49
fix agency shutdown
2016-08-25 14:04:11 +02:00
jsteemann
07055384b8
Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache
2016-08-24 17:34:59 +02:00
Andreas Streichardt
89ebeefbb9
Proper shutdown
2016-08-24 13:51:23 +02:00
root
c7f8046e48
raft bug. leader ship cannot be rendered to higher term and lower index.
2016-08-24 09:26:34 +00:00
jsteemann
6fc162d5a1
fix compile errors after merge
2016-08-24 09:44:05 +02:00
jsteemann
f92815b09b
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-vs-velocystream
2016-08-24 09:38:06 +02:00
Jan Christoph Uhde
5be5030983
Merge branch 'obi-velocystream-enums' into engine-vs-velocystream
...
* obi-velocystream-enums:
clean up - remove enumToEnum magic
finish ResponseCode enum
finish ProtocolVersion, ProtocolType and ConnectionType
finish ContentType enum
preapre move of ContentTypes
finish RequestType enum
prepare replacement of request types
even more error messages
slightly better error messages
better exceptions form event loop
mark len constexpr
Conflicts:
arangod/Agency/Inception.cpp
2016-08-23 16:01:58 +02:00
Kaveh Vahedipour
be51564141
updated agency pool
2016-08-23 15:57:13 +02:00
Jan Christoph Uhde
1febeadfd7
finish ResponseCode enum
2016-08-23 15:46:42 +02:00
Kaveh Vahedipour
fb8173b1ec
rest handler now timeouts when no leadership established and reports 503
2016-08-23 15:38:32 +02:00
Jan Christoph Uhde
d3654d99d8
finish RequestType enum
2016-08-23 14:49:29 +02:00
Andreas Streichardt
a9253c7ba5
Coorect agency path (no more / duplicates)
2016-08-23 14:03:41 +02:00
Andreas Streichardt
47a0f8602a
Better shutdown handling
2016-08-23 12:51:38 +02:00
jsteemann
5f06a5c025
Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache
2016-08-23 12:13:08 +02:00
jsteemann
405a66a269
fix default value for compactionStepSize
2016-08-23 12:08:10 +02:00
jsteemann
817fa1cdf4
Merge branch 'engine-vs-velocystream' of https://github.com/arangodb/arangodb into readcache
2016-08-23 12:04:31 +02:00
Andreas Streichardt
374f24fbd7
Remove implicit cast
2016-08-22 11:05:19 +02:00
Kaveh Vahedipour
bb70ed3b8f
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2016-08-19 18:00:21 +02:00
Kaveh Vahedipour
7c706ecdc8
weekend edition
2016-08-19 17:59:58 +02:00
Mark
3bd5c27c0c
changes for Visual Studio
2016-08-19 17:22:57 +02:00
Andreas Streichardt
66e1bf7e4a
Introduce --agency.my-address
2016-08-19 16:20:10 +02:00
jsteemann
ff45c3fd07
Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache
2016-08-19 15:19:51 +02:00
Kaveh Vahedipour
168431b6ba
dumb warnings
2016-08-19 14:29:57 +02:00
Kaveh Vahedipour
761b986312
warnings and correct handling of pool size
2016-08-19 14:19:56 +02:00
Kaveh Vahedipour
4570320a5b
dumb warnings
2016-08-19 13:44:01 +02:00
Michael Hackstein
96f11c7e9f
Merge branch 'engine-vs-velocystream' of github.com:arangodb/arangodb into generic-col-types
2016-08-19 12:26:07 +02:00
Kaveh Vahedipour
b865f3a41c
pool size default
2016-08-19 11:13:25 +02:00
jsteemann
c5f151da5c
Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache
2016-08-19 11:01:15 +02:00
Kaveh Vahedipour
4177f6bef0
gossipping logs move from debug to trace
2016-08-19 10:59:26 +02:00
Kaveh Vahedipour
93995eba84
agency startup changed to bootstrapping
2016-08-19 10:45:52 +02:00
Kaveh Vahedipour
fc67a7783f
shutdown fixed
2016-08-19 10:26:57 +02:00
Kaveh Vahedipour
d8cb8a33ac
pushing corrected unittest script and cluster startup scripts
2016-08-19 09:49:44 +02:00
Kaveh Vahedipour
d54c090a01
missing source file added
2016-08-19 08:41:19 +02:00
Kaveh Vahedipour
b3ba9be57f
we have a bootstrapping agency
2016-08-19 06:05:33 +02:00
Kaveh Vahedipour
0bdfdc7cb6
votes are processed correctly again
2016-08-19 05:11:52 +02:00
Kaveh Vahedipour
11776faa54
correct persistence after agency activation
2016-08-18 18:23:20 +02:00
Kaveh Vahedipour
15d2e9285c
it seems as if the bootstrap is good to go
2016-08-18 17:24:32 +02:00
jsteemann
d7b2141da0
Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache
2016-08-18 16:22:00 +02:00
Kaveh Vahedipour
9cbffca282
accidentally commented out reportIn mutex_locker
2016-08-18 16:06:47 +02:00
Kaveh Vahedipour
aee9548308
Merge branch 'devel' of https://github.com/arangodb/arangodb into agency-startup
2016-08-18 15:55:51 +02:00
Kaveh Vahedipour
1940642c2c
AgentConfiguration needed to handle its own read/write locks
2016-08-18 15:55:38 +02:00
Kaveh Vahedipour
6edc1ff5fa
AgentConfiguration needed to handle its own read/write locks
2016-08-18 15:54:42 +02:00
Michael Hackstein
d3ba488271
Merge branch 'engine-vs-velocystream' of github.com:arangodb/arangodb into generic-col-types
2016-08-18 12:38:07 +02:00
Andreas Streichardt
e7dd194129
Wow...tried waiting for cluster members to shutdown...forgot to set bool flag...fail
2016-08-18 12:25:25 +02:00
jsteemann
53e567f28f
Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache
2016-08-18 11:30:07 +02:00