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
Max Neunhoeffer
a0f6a3c9db
Merge branch 'devel' into ClustUp1
2015-12-08 23:21:46 +01:00
Max Neunhoeffer
f38d70844f
Fix a corner case in index generation.
2015-12-08 21:32:06 +01:00
Max Neunhoeffer
588fddb53c
Better error message instead of failed assertion.
2015-12-08 20:50:35 +01:00
Max Neunhoeffer
a8bf9bd9ca
Add a true argument.
2015-12-08 20:12:53 +01:00
Max Neunhoeffer
6cedb210df
First try to fix deadlock problem. Tests not yet tried.
2015-12-08 18:54:05 +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
Max Neunhoeffer
257c6c897d
Fix bugs and tests.
2015-12-08 12:48:11 +01:00
Max Neunhoeffer
637a234660
Change a debug into an error.
2015-12-07 16:01:44 +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
jsteemann
19373f80fa
removed dependency on vector.h
2015-11-19 01:41:42 +01:00
Max Neunhoeffer
68941c1ea9
Fix a typo in a variable name.
2015-11-17 17:16:59 +01:00
Jan Steemann
a775195737
fixed potential value overruns
2015-08-17 12:43:06 +02:00
Max Neunhoeffer
5b4eeb4dae
Silence a visual studio warning.
2015-08-04 14:29:59 +02:00
Max Neunhoeffer
96d7b339b7
Use LOG_DEBUG instead of LOG_ERROR for Agency problems.
2015-08-04 09:42:06 +02:00
Max Neunhoeffer
4f2afbf7e3
Better debugging messages if agency communication goes wrong in ClusterInfo.
2015-08-04 09:32:57 +02:00
Max Neunhoeffer
0bdeed7f24
Fix bug in ClusterInfo.
2015-08-03 15:17:09 +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
738237ce39
fixed method comment
2015-07-31 17:32:55 +02:00
Jan Steemann
9afd8974b7
split big lock
2015-07-31 16:56:26 +02:00
Jan Steemann
8fbf3894cd
renamed
2015-07-31 14:56:52 +02:00
Willi Goesgens
1dea6b29a5
Fix memleaks in coordinator.
2015-06-30 14:36:37 +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
Max Neunhoeffer
bd0724add6
Fix retry behaviour in some places of cluster code.
2015-04-13 13:03:40 +02:00
Max Neunhoeffer
4b4e1b2466
Fix number of tries in getCollection.
2015-04-13 12:07:53 +02:00
Jan Steemann
0ceff3f1b0
added cluster tests
2015-03-24 18:28:55 +01: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
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
1461d75ed4
improve collection loading time
...
This patch reduces collection loading time by preallocating enough space in primary index ahead of time.
When a collection is closed, the number of documents in the collection will be stored in the collection's JSON info file.
This value is used to determine the initial size for the primary index when the collection is loaded next time.
Datafile iteration has also been made slightly faster.
The above changes will have a significant benefit when the collection's datafiles are already in the OS buffer cache, and when there are no secondary indexes.
Loading datafiles from disk or building secondary indexes may be more time-consuming than the improvements reapable by this patch, but the patch shouldn't hurt anyway.
2015-02-26 16:35:51 +01:00
Jan Steemann
b1d023821e
fixed tests
2015-02-11 18:46:52 +01:00
Jan Steemann
b54dfae96f
removed several JSON functions
2015-01-13 01:31:04 +01:00
Jan Steemann
20e7fe7a7a
the great rename: array => object, list => array
2014-12-18 21:07:06 +01:00
Willi Goesgens
1376d44110
Clear the ClusterCommResult objects before re-assigning them; else we loose memory.
2014-10-29 19:16:34 +01:00
Jan Steemann
3c05701851
nullptr
2014-10-23 22:50:53 +02:00
Jan Steemann
e2ef21c33a
fixed non-working DistributeBlock
2014-10-22 12:07:31 +02:00
Jan Steemann
873d8291db
fixed race condition in getCurrentDBServers
2014-10-02 15:50:04 +02:00
Jan Steemann
506936dcdb
rename orgy
2014-09-13 02:35:13 +02:00
Jan Steemann
669cb3b235
renamed files
2014-09-13 01:44:01 +02:00
Jan Steemann
87afcf5e8d
the great rename
2014-09-13 00:10:11 +02:00
Jan Steemann
c034307dca
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
...
Conflicts:
arangod/Utils/CollectionNameResolver.h
2014-09-10 15:54:49 +02:00