Andreas Streichardt
eeb1e769da
loadPlan() instead of loadDatabases()
2016-05-03 18:36:08 +02:00
Max Neunhoeffer
416c493534
Cleanup stuff in ClusterInfo, invalidate caches when needed.
2016-05-03 15:24:49 +02:00
Michael Hackstein
1e92fd3485
Merge branch 'devel' of github.com:arangodb/arangodb into spdvpk
2016-04-14 08:28:28 +02:00
Andreas Streichardt
b77cc777ff
Kill remaining watchValues
2016-04-13 15:35:17 +02:00
Michael Hackstein
12d973504c
Fixed babies creation in cluster with undefined keys.
2016-04-08 10:53:11 +02:00
Michael Hackstein
6847d3f4a7
Preperation to create documents on coordinator with baby awareness.
2016-04-07 10:27:01 +02: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
jsteemann
279fb105e2
cppcheck
2016-03-09 22:57:49 +01:00
Jan Steemann
0c2fdb9fb9
less dependency on document-collection.h
2016-03-04 20:53:17 +01:00
Jan Steemann
337fc4bca4
remove std::mutex
2016-03-03 17:47:46 +01:00
jsteemann
1823ae4fd2
removed unused forwards and functions
2016-02-25 00:48:06 +01:00
Max Neunhoeffer
1065486a77
First version of getting shards in sync working.
2016-02-13 23:04:20 +01:00
Max Neunhoeffer
88074e52cc
Activate _docColls.
2016-02-10 08:38:08 +01:00
Max Neunhoeffer
dc63cb3874
Merge branch 'devel' into ClustUp2
2016-02-09 15:52:36 +01:00
Max Neunhoeffer
fb17ac372b
Report new follower to agency.
2016-02-09 15:51:58 +01:00
Jan Steemann
3b1c3cd37d
prevent compile warning with clang
2016-02-04 19:31:44 +01:00
Michael Hackstein
e0f0a6f1a8
Merge branch 'devel' of github.com:arangodb/arangodb into vpack
2016-01-29 14:18:05 +01:00
Michael Hackstein
436c377cb5
Merge branch 'devel' of github.com:arangodb/arangodb into vpack
2016-01-29 14:01:53 +01:00
Max Neunhoeffer
238937128a
Merge branch 'devel' into ClustUp2
2016-01-29 13:59:11 +01:00
Max Neunhoeffer
dcf4ed8bca
Sort out FollowerInfo.
2016-01-29 13:56:37 +01:00
Frank Celler
175e1e6b51
moved low level mutex in Mutex class
2016-01-27 15:31:02 +01:00
Max Neunhoeffer
6ff1538000
Change namespace.
2016-01-27 15:21:40 +01:00
Jan Steemann
9046e1831b
clang-format
2016-01-27 13:43:46 +01:00
Max Neunhoeffer
887e571a26
Merge branch 'devel' into ClustUp2
2016-01-26 18:01:42 +01:00
Michael Hackstein
969ac75d19
Removed all TRI_json_t references from v8-vocindex and all it's surroundings
2016-01-26 13:27:21 +01:00
Michael Hackstein
a6f58ce14d
Use forward declarations for VelocyPack instead of all includes everywhere
2016-01-24 14:29:31 +01:00
Michael Hackstein
191c2dc3a9
Merge branch 'devel' of github.com:arangodb/arangodb into vpack
2016-01-21 16:29:38 +01:00
jsteemann
842384016d
namespace cleanup
2016-01-21 00:20:22 +01:00
Michael Hackstein
3c6ac9f38f
Removed all TRI_json_t inputs to AgencyComm and replaced them by VPack. This commit stil has an error s.t. indexes cannot be dropped in Cluster. WIP.
2016-01-20 12:53:55 +01:00
jsteemann
431900f17a
changed namespace from triagens to arangodb
2016-01-17 00:44:53 +01:00
Max Neunhoeffer
b0283077db
Merge branch 'devel' into ClustUp2
2016-01-11 11:41:36 +01:00
Max Neunhoeffer
dd364a9d20
Fix merge.
2016-01-11 11:38:10 +01:00
Max Neunhoeffer
e7eae3a73a
Merge branch 'devel' into ClustUp2
2016-01-11 11:01:45 +01:00
Jan Steemann
687d6133f0
comments reformatting
2016-01-11 09:52:39 +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
Max Neunhoeffer
e81af6274a
Add replicationFactor and replicationQuorum.
2015-12-28 14:47:27 +01:00
Max Neunhoeffer
79b5175212
Add followerInfos in ClusterInfo.
2015-12-28 14:31:16 +01:00
Max Neunhoeffer
5f3a1fbdb2
Merge branch 'devel' into vpack
2015-12-22 14:18:34 +01:00
jsteemann
13fb41c6b0
removed useless flag
2015-12-22 14:15:02 +01:00
Jan Steemann
2b3f3f997b
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
2015-12-17 10:59:30 +01:00
Michael Hackstein
ef3889363f
Adapted cluster communication to class version of TRI_col_info_t
2015-12-16 11:42:02 +01:00
Max Neunhoeffer
1a0687a07a
Fix move constructor and move assignment operator for CollectionInfo.
2015-12-16 10:41:11 +01:00
Jan Steemann
65ede56176
make constructor explicit
2015-12-16 10:08:48 +01:00
Max Neunhoeffer
7641feeb88
Fix ClusterComm library w.r.t. pointers.
2015-12-14 11:22:30 +01:00
Max Neunhoeffer
ea72850aeb
Fix bug in client tests.
2015-12-09 23:13:26 +01:00
Michael Hackstein
acadb089ee
Merge branch 'devel' of github.com:arangodb/arangodb into vpack
2015-12-09 10:29:13 +01:00
Max Neunhoeffer
c309c47981
Unuse std::atomic_load<shared_ptr> because gcc 4.9 does not have it.
2015-12-09 09:32:01 +01:00
Max Neunhoeffer
a0f6a3c9db
Merge branch 'devel' into ClustUp1
2015-12-08 23:21:46 +01:00
Max Neunhoeffer
6cedb210df
First try to fix deadlock problem. Tests not yet tried.
2015-12-08 18:54:05 +01:00
Jan Steemann
76d5f57af0
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
2015-12-08 18:23:06 +01:00
Max Neunhoeffer
4e523a19ed
Merge branch 'devel' into ClustUp1
2015-12-08 17:02:14 +01:00
Jan Steemann
14a7269278
make parameter explicit
2015-12-08 12:58:51 +01:00
Michael Hackstein
b78145f73f
Added some VelocyPack helper functions for Coordinators
2015-12-07 14:24:21 +01:00
Max Neunhoeffer
c11bdf9319
Two bug fixes.
2015-12-07 13:43:49 +01:00
Max Neunhoeffer
60df924ac1
Change data structures for collections in Agency.
...
Snapshot, compiles, untested, needs new VelocyPack.
2015-12-04 15:08:47 +01:00
Max Neunhoeffer
a926c7570a
Cleanup ClusterInfo library w.r.t. Current/Collections.
2015-12-04 15:08:47 +01:00
hkernbach
6d25ac57e9
Merge branch 'devel' of github.com:arangodb/arangodb into JHMH
2015-12-01 11:25:58 +01:00
jsteemann
37f72fa721
micro optimizations
2015-11-30 19:37:58 +01:00
Michael Hackstein
ceddc4d7f4
Added a convenience check to evaluate if a collection uses default shardKeys
2015-11-30 13:26:42 +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
d0cfab6248
Try to sort out ClusterInfo protection for good.
2015-08-03 15:07:59 +02:00
Max Neunhoeffer
e8b4e510d8
Some reordering and better comments.
2015-08-03 10:17:34 +02:00
Max Neunhoeffer
67a983af73
Yet more unordered_maps.
2015-08-03 09:42:04 +02:00
Max Neunhoeffer
387e3e5701
More unordered_maps.
2015-08-03 09:18:33 +02:00
Max Neunhoeffer
41ab436378
Change some maps to unordered_maps.
2015-08-03 08:58:46 +02:00
Jan Steemann
9afd8974b7
split big lock
2015-07-31 16:56:26 +02:00
Jan Steemann
b347f3021c
nullptr
2015-07-30 22:33:43 +02:00
Jan Steemann
e8205e5dc0
use new and delete for TRI_server_t
2015-07-21 11:57:04 +02:00
Jan Steemann
39cf9c527c
micro optimizations
2015-06-01 14:56:01 +02:00
Jan Steemann
a9f2769ffa
now compiles and links
2015-05-23 04:31:13 +02:00
Max Neunhoeffer
a3923c9eaf
Fix configurability of indexBuckets.
2015-05-18 01:39:54 -07: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
Jan Steemann
c8338b9416
added ArangoClusterInfo.getServerName
2015-03-09 16:56:00 +01:00
Jan Steemann
22200118e1
added method getCoordinators()
2015-03-06 14:02:16 +01:00
Jan Steemann
9ff4e7922d
thread-safety
2015-03-04 18:10:21 +01:00
Jan Steemann
20e7fe7a7a
the great rename: array => object, list => array
2014-12-18 21:07:06 +01:00
Jan Steemann
13d240384f
less namespace pollution
2014-10-28 00:24:37 +01:00
Jan Steemann
c93c952c05
fixed from/to-handling in cluster
2014-10-20 12:32:08 +02:00
Jan Steemann
87afcf5e8d
the great rename
2014-09-13 00:10:11 +02:00
Max Neunhoeffer
a6d57d2c8a
Fix DBserver bug with CollectionNameResolver and local collections.
2014-09-10 15:50:41 +02:00
Max Neunhoeffer
390f0fe605
Implement distributeShardsLike
2014-08-01 17:05:04 +02:00
Frank Celler
4dcf5dc817
updated disclaimer
2014-06-20 16:40:35 +02:00
Jan Steemann
f7049b8922
fixed startup race conditions
2014-06-04 15:18:20 +02:00
Max Neunhoeffer
2820afdcc2
Remove many extern "C" declarations that are no longer needed.
2014-05-22 10:19:03 +02:00
Jan Steemann
14813638dd
removed boost
2014-05-12 17:22:42 +02:00
Max Neunhoeffer
19289b6d37
First working version of arangorestore for clusters.
2014-05-09 16:33:54 +02:00
Jan Steemann
17bf8ebafb
fixed VS warnings
2014-04-03 16:13:56 +02:00
Jan Steemann
08ff8f9237
allowUserKeys method
2014-02-26 16:31:48 +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
2f6f59e228
fixed startup race condition
2014-02-21 08:47:24 +01:00
Jan Steemann
13357cb846
made clear functions private
2014-02-20 17:33:56 +01:00
Jan Steemann
7970881b22
single-threaded plan changes
2014-02-13 15:33:29 +01:00
Jan Steemann
c4d52ff133
getIndexes, dropIndex
2014-02-12 17:09:47 +01:00
Jan Steemann
399ddebbd3
ensureIndex 1st
2014-02-10 14:36:32 +01:00
Max Neunhoeffer
b0e14bb686
Increase minimal batch size for uniqids to 1000000.
2014-01-30 17:54:11 +01:00
Jan Steemann
fd6b0f0ea6
fetch more ids in each batch
2014-01-30 15:40:17 +01:00
Max Neunhoeffer
35c6a3ffdc
Use shared_ptr for CollectionInfo(Current) export.
...
This at the same time fixes an allocation bug with TRI_json_t*.
2014-01-29 09:21:09 +01:00
Max Neunhoeffer
c3f01237b0
Implement replace and update on cluster.
...
This still has a freeing too early bug with TRI_json_t.
2014-01-28 16:49:44 +01:00
Jan Steemann
e906f68235
windows fixes
2014-01-27 17:46:15 +01:00
Jan Steemann
9e52c2b866
Windows fixes
2014-01-27 13:34:56 +01:00
Max Neunhoeffer
f5c274e8c0
Fix error handling and another bug in create document for cluster.
2014-01-24 10:35:37 +01:00
Jan Steemann
5f442ef742
bugfixes
2014-01-23 11:47:49 +01:00
Jan Steemann
27276205c4
collection property changes
2014-01-22 17:46:26 +01:00
Jan Steemann
1270137048
Merge branch 'sharding' of https://github.com/triAGENS/ArangoDB into sharding
2014-01-22 17:20:14 +01:00
Jan Steemann
39fd7611ed
load/unload of collections
2014-01-22 17:20:06 +01:00
Max Neunhoeffer
8d3282f237
Add support to read off responsible shard of a document.
...
Untested, but compiles.
2014-01-22 16:21:26 +01:00
Max Neunhoeffer
a1a99170e1
Add information about Current collections to ClusterInfo.
2014-01-21 14:28:30 +01:00
Jan Steemann
b5aeebd891
prevent creation of collections with duplicate name
2014-01-21 09:50:12 +01:00
Max Neunhoeffer
0b6a979a91
Fix bug to report errors on creating/dropping of DB/Colls.
2014-01-17 16:15:25 +01:00
Max Neunhoeffer
e8f7dbbf5b
Consider Plan for current state of collections.
2014-01-17 13:43:02 +01:00
Jan Steemann
42b5686ee2
code cleanup
2014-01-17 10:21:05 +01:00
Max Neunhoeffer
5960c103bc
Create/drop Database/Collection compiles.
2014-01-16 15:01:36 +01:00
Jan Steemann
3b192782c5
removed some code
2014-01-15 17:22:13 +01:00
Jan Steemann
b0e4dc91dd
adjusted listDatabases and doesDatabaseExist
2014-01-15 16:01:05 +01:00
Jan Steemann
f66c4400b4
fixed arangom script
2014-01-15 15:13:26 +01:00
Jan Steemann
4a805062bb
changed internal APIs
2014-01-15 13:36:38 +01:00
Jan Steemann
b5a448ffdb
added loadPlannedDatabases method
2014-01-15 11:03:01 +01:00
Jan Steemann
e02b0b52e1
renamed methods
2014-01-15 10:52:56 +01:00
Jan Steemann
ee186c2c6b
added locking check
2014-01-14 17:17:25 +01:00
Jan Steemann
ce2627619e
create collection stub
2014-01-14 16:21:48 +01:00
Jan Steemann
4ec6f04932
return collection properties
2014-01-14 13:19:43 +01:00
Jan Steemann
ffa919d716
some modifications for collection accessing
2014-01-13 16:32:40 +01:00
Max Neunhoeffer
e01ac6ff5b
Delay loading of caches and add getDBServers.
2014-01-09 12:12:18 +01:00
Max Neunhoeffer
ab9726f278
Rename getDatabases to listDatabases.
2014-01-08 16:12:24 +01:00
Max Neunhoeffer
d9ca01c31d
First stab at get info about cluster databases.
2014-01-08 16:09:43 +01:00
Jan Steemann
5a365cb2b1
removed shardLocation key
2014-01-07 14:00:27 +01:00
Jan Steemann
3309743c1a
moved some collection parameters around
2014-01-07 11:02:49 +01:00
Jan Steemann
5c0e6e12e0
added tests for serverstate and clusterinfo
2014-01-06 18:19:14 +01:00
Jan Steemann
4de2b916c4
added test for uniqid
2014-01-06 13:18:01 +01:00
Jan Steemann
5571698555
serialize/unserialize collection data from agency
2014-01-03 19:04:50 +01:00
Jan Steemann
15c78c23b0
some style corrections
2014-01-03 15:21:07 +01:00
Max Neunhoeffer
f09cdcf292
Bad state.
2014-01-03 14:10:35 +01:00
Max Neunhoeffer
bf60888efe
Start work on ClusterInfo.
2014-01-03 14:07:56 +01:00
Max Neunhoeffer
9598983051
Rename ClusterState to CluesterInfo.
2014-01-03 08:58:50 +01:00