Max Neunhoeffer
4e14d6ddb8
Merge branch 'json_agency_comm' of ssh://github.com/ArangoDB/ArangoDB into json_agency_comm
2016-05-03 15:27:03 +02:00
Max Neunhoeffer
416c493534
Cleanup stuff in ClusterInfo, invalidate caches when needed.
2016-05-03 15:24:49 +02:00
Kaveh Vahedipour
0f1e961f2d
removing debug output
2016-05-03 13:58:51 +02:00
Kaveh Vahedipour
bd0c60f5e8
removed debug output
2016-05-03 11:49:09 +00:00
Max Neunhoeffer
7c7394b0fb
Recheck Current/Version every 5 heartbeats.
2016-05-03 12:55:03 +02:00
Kaveh Vahedipour
3608d91f87
Corrected create database in coordinator
2016-05-03 10:06:20 +02:00
Kaveh Vahedipour
dab8accd5b
Merge branch 'devel' of https://github.com/arangodb/arangodb into json_agency_comm
2016-05-03 08:57:09 +02:00
Andreas Streichardt
36b3a50bb8
Remove current callback leftovers (dead anyway)
2016-05-02 18:46:27 +02:00
Kaveh Vahedipour
b791188f18
Merge branch 'devel' of https://github.com/arangodb/arangodb into json_agency_comm
2016-05-02 17:49:11 +02:00
Andreas Streichardt
0790b00737
hotfix for cluster startup
2016-05-02 17:45:39 +02:00
Kaveh Vahedipour
00ce93b8d0
Merge branch 'devel' of https://github.com/arangodb/arangodb into json_agency_comm
2016-05-02 16:14:37 +02:00
Andreas Streichardt
ae83410d40
Multithreading and V8 fixes
2016-05-02 14:18:23 +02:00
Andreas Streichardt
974ecdc208
Implement Current callback
2016-05-02 14:00:26 +02:00
Andreas Streichardt
18ea698038
Restructure code so that the installed versions are being returned by
...
the plan changer
2016-05-02 12:19:07 +02:00
Kaveh Vahedipour
86959d83a6
Merge branch 'devel' of https://github.com/arangodb/arangodb into json_agency_comm
2016-04-29 16:29:05 +02:00
Andreas Streichardt
e26d1e4a7d
Merge branch 'devel' of github.com:arangodb/arangodb into devel
2016-04-29 15:17:35 +02:00
Andreas Streichardt
b784084cbc
Fix uninitialised value
2016-04-29 15:17:19 +02:00
Max Neunhoeffer
017d4a56a7
Better logging.
2016-04-29 14:45:27 +02:00
Andreas Streichardt
6ef558765c
execute heartbeat logic at least once
2016-04-29 11:41:53 +02:00
Kaveh Vahedipour
7733e16392
UserVersion is a number
2016-04-29 10:45:27 +02:00
Kaveh Vahedipour
ee2115ceeb
remaining verbose output
2016-04-28 16:28:59 +02:00
Kaveh Vahedipour
e81e3e51e0
javascript side of jsonified agency
2016-04-28 15:15:55 +02:00
Kaveh Vahedipour
d886a85f31
Merge branch 'devel' of https://github.com/arangodb/arangodb into json_agency_comm
2016-04-28 10:47:10 +02:00
Kaveh Vahedipour
b8badcb8ce
one of db-servers went into recess after many news and drops
2016-04-28 08:46:21 +00:00
Kaveh Vahedipour
049cc8602e
careful with loops :(
2016-04-27 16:53:09 +02:00
Kaveh Vahedipour
4e2d86dc67
Merge branch 'devel' of https://github.com/arangodb/arangodb into json_agency_comm
2016-04-26 10:55:13 +02:00
Kaveh Vahedipour
1a30b0495d
continous
2016-04-26 10:55:09 +02:00
Jan Steemann
a0883fb0fc
fixed busy wait
2016-04-26 10:48:42 +02:00
Kaveh Vahedipour
d4fc6a1062
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2016-04-25 18:37:32 +02:00
Kaveh Vahedipour
0530603763
dirty yet
2016-04-25 18:37:28 +02:00
Andreas Streichardt
a889cf5710
Rework dispatchedPlanVersion...fix races
2016-04-25 16:40:35 +02:00
Jan Steemann
f93017d880
fix Visual Studio warning
2016-04-25 14:17:35 +02:00
Andreas Streichardt
c5cbc1ae7d
Fix cluster collection handling
2016-04-25 13:19:13 +02:00
Kaveh Vahedipour
d2a95f2022
dirty yet
2016-04-22 19:04:59 +02:00
Andreas Streichardt
46b6561d78
Create planned collection in one transaction
2016-04-22 11:21:31 +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
Andreas Streichardt
612c387c56
Optimize version increase stuff
2016-04-14 18:17:25 +02:00
Jan Steemann
5c17402536
reduce number of agency requests a bit
2016-04-14 11:40:21 +02:00
Andreas Streichardt
b77cc777ff
Kill remaining watchValues
2016-04-13 15:35:17 +02:00
Andreas Streichardt
4c27442bd9
Implement callbacks
2016-04-13 14:05:15 +02:00
Frank Celler
922753ef3d
WIP
2016-04-11 17:44:41 +02:00
Jan Steemann
9f8c24b1cd
Merge branch 'devel' of https://github.com/arangodb/arangodb into spdvpk
2016-04-06 15:43:27 +02:00
Frank Celler
6002ede1c4
Merge branch 'devel' of github.com:arangodb/arangodb into FMH
2016-04-03 21:46:30 +02:00
Andreas Streichardt
70d6f1259a
Finally cluster is working with the new agency
2016-04-01 17:07:28 +02:00
Frank Celler
873f226b5f
added SchedulerFeature
2016-04-01 12:52:28 +02:00
Frank Celler
af00417cf4
skeleton arangod
2016-03-25 15:14:43 +01:00
Jan Steemann
881761d2d5
Merge branch 'devel' of https://github.com/arangodb/arangodb into spdvpk
2016-03-24 17:05:43 +01:00
Andreas Streichardt
9ba72b4412
Properly update current collection
2016-03-24 16:55:15 +01:00
Jan Steemann
b393c3d9bb
Merge branch 'devel' of https://github.com/arangodb/arangodb into spdvpk
2016-03-09 09:42:10 +01:00
Frank Celler
dfa9047484
switch arangosh to new ApplicationFeatures and ProgramOptions
2016-03-08 23:32:43 +01:00
Jan Steemann
6eea757c01
simplifications
2016-03-04 19:40:24 +01:00
jsteemann
851d19a9d6
logging simplifications
2016-02-25 00:00:18 +01:00
Frank Celler
df0fe99d5e
fixed merge conflict
2016-02-24 18:47:27 +01:00
Frank Celler
6e851249e3
fixed superfluous _stop
2016-02-24 18:40:33 +01:00
Jan Steemann
97968b81dc
fixed potential undefined behavior
2016-02-24 18:28:46 +01:00
Frank Celler
a140ad9de2
added DETACHED state
2016-02-23 12:26:12 +01:00
Frank Celler
345712c36f
changed to new Thread interface
2016-02-17 22:19:37 +01:00
Jan Steemann
b7abf5a40d
attempt to fix Windows build
2016-02-01 12:04:28 +01:00
jsteemann
2d7323a560
fixed warnings shown by clang-3.7
2016-01-31 02:17:36 +01:00
jsteemann
ff21453255
logger transition: all files in arangod exception transactions.cpp
2016-01-29 23:28:44 +01:00
Jan Steemann
9046e1831b
clang-format
2016-01-27 13:43:46 +01:00
Jan Steemann
3fc862f0ef
changed locking macros
2016-01-26 15:39:12 +01:00
Michael Hackstein
191c2dc3a9
Merge branch 'devel' of github.com:arangodb/arangodb into vpack
2016-01-21 16:29:38 +01:00
jsteemann
6f0be080fa
unification of sub-thread naming
2016-01-21 00:51:51 +01:00
jsteemann
842384016d
namespace cleanup
2016-01-21 00:20:22 +01:00
Michael Hackstein
7f4980e87d
Cluster internal communication now uses more VPack instead of TRI_json_t
2016-01-19 11:33:43 +01:00
jsteemann
431900f17a
changed namespace from triagens to arangodb
2016-01-17 00:44:53 +01:00
Michael Hackstein
f3806171f5
Reduced occurences of TRI_json_t in Cluster Code
2016-01-15 15:32:47 +01:00
jsteemann
9f0576c65f
don't rely so much on namespace std being present
2016-01-08 01:05:06 +01:00
Jan Steemann
3ad20c0cae
auto-generated headers
2016-01-06 18:41:51 +01:00
Jan Steemann
a3b026d9d1
removed useless sections from code, unified include guards
2016-01-06 14:15:22 +01:00
Jan Steemann
f422576ee0
clang-format
2016-01-05 17:43:24 +01:00
jsteemann
a6cb463e06
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
2016-01-05 00:25:10 +01:00
Frank Celler
1065a1bd2c
added work monitor
2016-01-04 15:33:06 +01:00
Max Neunhoeffer
c7f00bfeda
Continue work on TODOs.
2015-12-23 14:40:04 +01:00
Michael Hackstein
1a33c10557
Removed TRI_json_t from Vocbase/auth and did some refactoring in the internals there. Bye Bye CORE_MEM_ZONE
2015-12-10 14:08:49 +01:00
Jan Steemann
eb8899d9ae
applied changes suggested by cppcheck
2015-12-02 10:17:14 +01:00
Max Neunhoeffer
21bc08715a
Fix heartbeat thread of DBserver, less sleeping.
2015-11-03 10:19:26 +01:00
Jan Steemann
41c388eab5
don't sleep in DBServer's HeartbeatThread::run() in case of plan changes
2015-10-30 11:35:18 +01:00
CoDEmanX
b4593a7e82
Change spelling of 'initialize' to American English (comments and log messages only)
2015-09-01 17:07:21 +02:00
Max Neunhoeffer
43a4ba0285
Delete a TRI_vector_t usage.
2015-08-17 12:43:10 +02:00
Jan Steemann
38cdc662ec
removed configure options `--enable-timing` and `--enable-figures`
2015-07-21 18:47:43 +02:00
Jan Steemann
343c9b4bea
added static helper methods for cluster state
2015-05-20 13:51:02 +02:00
Jan Steemann
a007a867ee
"privatized" TRI_vector_t internals.
...
This allows changing the internals of TRI_vector_t structs in order to make the struct smaller.
On 64 bits, the size of TRI_vector_t is reduced from 48 bytes to 28 bytes.
TRI_json_t does benefit from this, as its biggest component is a TRI_vector_t.
2015-05-05 10:31:02 +02:00
Willi Goesgens
bff0ee6e38
static const std::string not as const as thought - at least in windows.
2015-03-04 16:39:54 +01:00
Jan Steemann
20e7fe7a7a
the great rename: array => object, list => array
2014-12-18 21:07:06 +01:00
Jan Steemann
da10751030
do not spam dispatcher queue
2014-10-28 16:01:40 +01:00
Jan Steemann
13d240384f
less namespace pollution
2014-10-28 00:24:37 +01:00
Jan Steemann
1d1ce39d50
fixed warning
2014-10-02 15:35:43 +02:00
Jan Steemann
e28ad821b0
fixed spuriously occurring "database not found" error
2014-10-02 15:34:38 +02:00
Jan Steemann
506936dcdb
rename orgy
2014-09-13 02:35:13 +02:00
Frank Celler
9fa3d22d6c
towards new dispatcher interface
2014-08-18 23:37:32 +02:00
Frank Celler
4dcf5dc817
updated disclaimer
2014-06-20 16:40:35 +02:00
Jan Steemann
362838ae69
TRI_ASSERT
2014-06-06 11:25:19 +02:00
Max Neunhoeffer
04a3dfff7b
Fix logic of abort in handlePlanChangeCoordinator.
2014-05-29 00:32:13 +02:00
Max Neunhoeffer
283af09657
Fix startup race bug in cluster.
...
If a coordinator cannot get the users of a database, it just gives
up and immediately tries again in the next heartbeat.
2014-05-28 23:18:30 +02:00
Max Neunhoeffer
0b2544910e
Fix database order to do _system first in handlePlanChangeCoordinator
2014-05-28 15:16:57 +02:00
Jan Steemann
2e17f4bcd7
cppcheck
2014-05-09 00:21:17 +02:00
Jan Steemann
6e76f9d35f
dont log cluster connection problems on startup as errors, but just as info
2014-04-02 16:27:26 +02:00
Max Neunhoeffer
9d43383f1d
Fix automatic reload of user config on coordinators.
2014-03-07 11:37:16 +01:00
Max Neunhoeffer
ed46d0d3a8
Increase TTL value for heartbeat status in agency to 8.
2014-03-06 17:54:34 +01:00
Jan Steemann
b3b22a1f1c
changed authentication procedure
2014-03-06 16:37:00 +01:00
Max Neunhoeffer
cb8f0257a7
Give the server state in the agency a time to live.
2014-02-28 18:47:46 +01:00
Jan Steemann
460455d0ed
dont clear result
2014-02-26 16:31:23 +01:00
Jan Steemann
98ceb07b77
add initial user
2014-02-25 17:05:02 +01:00
Jan Steemann
018a8390ce
refactored create/drop database
2014-02-24 14:50:31 +01:00
Jan Steemann
7a0aac82e2
re-create database objects on coordinator now, and switch into them
2014-02-21 17:40:00 +01:00
Jan Steemann
82d84e92dd
more sleeping
2014-02-19 18:33:11 +01:00
Jan Steemann
6c4a9d45d7
fixed memleaks
2014-02-07 12:58:45 +01:00
Jan Steemann
4e008cfb3e
fixed furious heartbeat ranting
2014-02-06 16:05:08 +01:00
Jan Steemann
b4d9f10f17
fixed some database methods
2014-02-06 15:54:34 +01:00
Jan Steemann
4ee05d303c
invalidate caches
2014-02-06 14:14:52 +01:00
Jan Steemann
10eb807366
fixed HTTP CRUD operations
2014-02-05 17:19:45 +01:00
Jan Steemann
e906f68235
windows fixes
2014-01-27 17:46:15 +01:00
Max Neunhoeffer
9839719302
Fix remaining time in timeout.
2014-01-21 11:48:26 +01:00
Jan Steemann
8010963a94
handle plan change for create/drop database
2014-01-16 17:03:10 +01:00
Jan Steemann
a987647bd2
handle state changes
2014-01-16 14:52:40 +01:00
Jan Steemann
f193cc31ef
added diagnostic output for heartbeat
2014-01-16 11:39:40 +01:00
Jan Steemann
4a805062bb
changed internal APIs
2014-01-15 13:36:38 +01:00
Jan Steemann
56ab59dac6
watch for Plan changes
2014-01-14 16:43:44 +01:00
Jan Steemann
70ac8a4d1b
tried to fix http 400 (agency error 401)
2014-01-13 14:47:32 +01:00
Jan Steemann
0fdcd88770
changed internal structure of heartbeat value
2014-01-07 12:24:39 +01:00
Jan Steemann
22d18e24c5
renamed etcd keys
2014-01-02 15:45:58 +01:00
Jan Steemann
8070db37a2
changed heartbeat watch implementation
2014-01-02 13:36:26 +01:00
Max Neunhoeffer
df39a7fb58
Reactivate heartbeat.
2013-12-30 14:53:00 +01:00
Max Neunhoeffer
c9b2884def
Full round trip implemented but not yet working.
2013-12-23 16:19:59 +01:00
Jan Steemann
897ddca313
startup/shutdown modifications
2013-12-12 15:25:53 +01:00
Jan Steemann
5b0713af9c
added recursive watches and structured get
2013-12-12 11:16:41 +01:00
Jan Steemann
57223ecaba
failover handling for agency connections
2013-12-10 14:33:34 +01:00
Jan Steemann
b6e062030a
fixed invalid include
2013-12-10 12:50:39 +01:00
Jan Steemann
8708dc7e70
renamed sharding to cluster
2013-12-10 09:56:00 +01:00