Michael Hackstein
31a77382b1
Added first implementation of slow-path in cluster communication (not all shard-keys are given) Right now used in remove
2016-04-10 14:07:57 +02:00
Michael Hackstein
1075181fcc
Fixed a bug with the wrong body send on delete with babies.
2016-04-08 17:43:30 +02:00
Michael Hackstein
5ba4f5b813
Removed debug output
2016-04-08 17:10:10 +02:00
Michael Hackstein
184e702935
There was another bug in cluster create with babies. This is fixed now. Also started implementing DELETE with babies.
2016-04-08 17:02:01 +02:00
Michael Hackstein
541395a262
Merge branch 'spdvpk' of github.com:arangodb/arangodb into spdvpk
2016-04-08 12:42:59 +02:00
Michael Hackstein
12d973504c
Fixed babies creation in cluster with undefined keys.
2016-04-08 10:53:11 +02:00
Jan Steemann
19ab17ad3b
Merge branch 'spdvpk' of https://github.com/arangodb/arangodb into spdvpk
2016-04-07 16:51:25 +02:00
Jan Steemann
d65662fb62
pacify cppcheck
2016-04-07 16:41:35 +02:00
Michael Hackstein
9b8768ad46
Fixed a bug in createCluster. It crashed in some cases with invalid input.
2016-04-07 15:20:57 +02:00
Michael Hackstein
3a5ec5c25e
Successfully inserted multiple documents via babies on Coordinator
2016-04-07 12:27:40 +02:00
Michael Hackstein
4d14c6de60
Create document babies variant now actually does something for babies. It should send the documents to each shard. However does not work yet.
2016-04-07 11:17:59 +02:00
Michael Hackstein
d8c44e03d2
Fixed a minor problem with Babies API
2016-04-07 11:08:52 +02:00
Michael Hackstein
75e1627a85
Added implementation to rebuild the result in babies case
2016-04-07 11:00:33 +02:00
Michael Hackstein
6847d3f4a7
Preperation to create documents on coordinator with baby awareness.
2016-04-07 10:27:01 +02:00
Jan Steemann
9f8c24b1cd
Merge branch 'devel' of https://github.com/arangodb/arangodb into spdvpk
2016-04-06 15:43:27 +02:00
Max Neunhoeffer
89303cf549
Fix a comment.
2016-04-05 11:30:02 +02:00
Michael Hackstein
ab46b07f98
Reimplemented Traversal in Cluster case
2016-04-04 12:52:11 +02:00
Michael Hackstein
98ab36fe56
Coordinator now reports UNIQUE_CONSTRAINT_VIOLATED correctly
2016-04-01 16:05:48 +02:00
Frank Celler
068f9defd7
splitted HttpResponse.h
2016-04-01 10:39:38 +02:00
Frank Celler
295c8a3809
MSVC fixes
2016-03-31 14:01:23 +02:00
Frank Celler
486011d399
Merge branch 'devel' of github.com:arangodb/arangodb into spdvpk
2016-03-31 13:41:09 +02:00
Frank Celler
494bdca847
splitted HttpRequest into GeneralRequest/HttpRequest
2016-03-31 11:45:21 +02:00
Michael Hackstein
618c855c85
Cluster Methods now use the OperationOptions of transactions. And now reacts to these options accordingly incl returnNew/returnOld
2016-03-31 10:52:24 +02:00
Michael Hackstein
726e231b8a
Checking for change shard attributes now uses VPackHelper compare instead of equals. Then it is able to compare different number types
2016-03-30 17:32:13 +02:00
Michael Hackstein
92deaf3231
Removed obsolete variable
2016-03-30 16:18:29 +02:00
Michael Hackstein
4bdb090357
Replaced old version of cluster communication using ?rev= with new if-match header
2016-03-30 15:54:07 +02:00
Michael Hackstein
c4562a760c
The cluster internal communication now uses if-match header instead of ?rev= which is not supported any more
2016-03-30 13:38:51 +02:00
jsteemann
171488b6d2
Merge branch 'devel' of https://github.com/arangodb/arangodb into spdvpk
2016-03-16 23:34:29 +01:00
Andreas Streichardt
614beefc74
Throw Http error 503 when a required backend is unavailable
2016-03-16 18:04:05 +00:00
jsteemann
9cb9dfd8af
Merge branch 'spdvpk' of https://github.com/arangodb/arangodb into spdvpk
2016-03-14 17:54:54 +01:00
jsteemann
358b09260e
fixed prologue marker writing
2016-03-14 17:54:46 +01:00
Max Neunhoeffer
d4fb621d19
Remove old code w.r.t. shardKeysChanged test.
2016-03-14 16:31:37 +01:00
Max Neunhoeffer
d51beb5326
Get rid of update_policy for good.
2016-03-10 00:14:06 +01:00
Jan Steemann
c157363f3c
less dependencies
2016-03-04 17:21:09 +01:00
jsteemann
545b0ed6a2
cleanup
2016-02-27 02:44:51 +01:00
Jan Steemann
242481a501
small code refactoring
2016-02-15 17:02:36 +01:00
Michael Hackstein
b85d5d4a26
Merge branch 'devel' of github.com:arangodb/arangodb into vpack
2016-02-01 09:49:29 +01:00
Michael Hackstein
9ea8e3ea0c
Started to write merge of two slices. This is not yet working for null means delete, works for all other merges.
2016-02-01 09:49:19 +01:00
jsteemann
ae25d2b53b
removed `using namespace std`
2016-01-31 18:22:00 +01:00
Jan Steemann
9046e1831b
clang-format
2016-01-27 13:43:46 +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
7f4980e87d
Cluster internal communication now uses more VPack instead of TRI_json_t
2016-01-19 11:33:43 +01:00
Jan Steemann
5daa529404
compaction fix attempt II
2016-01-18 18:24:25 +01:00
jsteemann
431900f17a
changed namespace from triagens to arangodb
2016-01-17 00:44:53 +01:00
Michael Hackstein
341eda3d4f
Removed obsolete function
2016-01-16 15:34:30 +01:00
Michael Hackstein
f3806171f5
Reduced occurences of TRI_json_t in Cluster Code
2016-01-15 15:32:47 +01:00
jsteemann
f66eb007cd
some const unification
2016-01-15 00:03:03 +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
a058699312
use std::make_shared
2015-12-18 23:34:18 +01:00
Max Neunhoeffer
0743885dec
Fix handling of VPackOptions in Parser/Builder usage.
...
Also fix TRI_json_t* handling for cluster methods.
2015-12-18 20:42:59 +01:00
Jan Steemann
2b3f3f997b
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
2015-12-17 10:59:30 +01:00
Max Neunhoeffer
98fa31818a
Cleanup.
2015-12-16 10:59:10 +01:00
Max Neunhoeffer
5bf896c51f
Fix if-match forwarding bug in getDocumentOnCoordinator.
2015-12-14 16:17:13 +01:00
Max Neunhoeffer
7641feeb88
Fix ClusterComm library w.r.t. pointers.
2015-12-14 11:22:30 +01:00
Max Neunhoeffer
af4d729284
The ClusterComm C++11 revolution.
2015-12-11 23:26:10 +01:00
Max Neunhoeffer
d5eaccbfe5
Merge branch 'devel' into ClustUp1
2015-12-10 11:35:08 +01:00
Michael Hackstein
1af985003d
Merge branch 'devel' of github.com:arangodb/arangodb into vpack
2015-12-10 10:26:14 +01:00
Jan Steemann
fec29ac9c8
better compaction diagnostics
2015-12-09 19:02:22 +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
3f78b86492
Merge branch 'devel' into ClustUp1
2015-12-09 09:04:00 +01:00
jsteemann
c99f4244c7
bugfix for cluster edges API
2015-12-09 00:26:18 +01:00
Michael Hackstein
a814bc7414
Added a wrapper arround create/modify documents in cluster with JSOn for VelocyPack
2015-12-06 13:32:06 +01:00
Max Neunhoeffer
10ff104236
Another snapshot.
2015-12-04 16:08:02 +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
Michael Hackstein
c60271d3c8
Fixed early optimizations of Cluster traversal filters, when document does not exist. Now behaves identical to single server and to execution without optimization
2015-12-04 13:30:40 +01:00
Jan Steemann
b8cd633276
Windows fixes
2015-12-03 15:00:19 +01:00
Michael Hackstein
8919a068ba
Adapted to new API of cluster async request
2015-12-03 10:24:01 +01:00
Michael Hackstein
3ea14e66a3
Merge branch 'devel' of github.com:arangodb/arangodb into JHMH
2015-12-03 10:19:17 +01:00
Max Neunhoeffer
3556f76469
Fix ClusterComm::asyncRequest w.r.t. body shared_ptr.
2015-12-02 14:15:18 +01:00
Michael Hackstein
18db3bf681
The edges api now returns a stats property encapsulating how many items where scanned and how many where filtered
2015-12-02 11:38:51 +01:00
Michael Hackstein
1a13af6f36
Merged remote changes with local stash
2015-12-02 11:34:58 +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
73669ae774
Implemented a short-cut to query a list of documents by _id in the cluster. It's baby-aware
2015-11-30 13:27:22 +01:00
Michael Hackstein
bba4fe6089
Added a basic implementation to receive filtered documents in the cluster. Right now it does not yet filter and is inefficent but serves the API
2015-11-27 11:20:12 +01:00
Michael Hackstein
14f68cc648
Adopted implementation of filteredEdges in cluster
2015-11-26 16:01:10 +01:00
Michael Hackstein
3923c7936e
EdgeCollections are now evaluated to cids later in TraversalBlock. This change was necessary for the Cluster
2015-11-16 09:09:34 +01:00
Michael Hackstein
04da539ba1
Further implementation of Cluster Traverser. It now has code that in theory should fetch the first set of edges. Right now it fails for undefined collection name
2015-11-13 17:12:33 +01:00
Michael Hackstein
e475d9c778
Added a function to get all edges for a specific vertex in the cluster.
2015-11-13 16:04:49 +01:00
CoDEmanX
3a9648d78a
More Americanization
2015-09-03 22:25:43 +02:00
Jan Steemann
a3ee707f6f
less creations of empty headers maps
2015-08-30 22:11:18 +02:00
Willi Goesgens
df031a9f2a
Find the right place where the json wasn't free'd
2015-06-25 09:45:05 +02:00
Willi Goesgens
29366dff96
Fix memleaks.
2015-06-24 17:42:26 +02:00
Jan Steemann
b76cb5caee
use nullptr
2015-06-02 23:39:41 +02:00
Jan Steemann
a9f2769ffa
now compiles and links
2015-05-23 04:31:13 +02:00
Jan Steemann
6b412a1c01
Merge branch 'json-privatisierung' of https://github.com/arangodb/arangodb into json-privatisierung
2015-05-07 13:05:12 +02:00
Jan Steemann
e93225d7f5
fix cluster document fetching
2015-05-06 11:00:41 +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
Jan Steemann
0ceff3f1b0
added cluster tests
2015-03-24 18:28:55 +01:00
Jan Steemann
f7210e3604
sparse index tests
2015-02-11 00:25:30 +01:00
Jan Steemann
b54dfae96f
removed several JSON functions
2015-01-13 01:31:04 +01:00
Jan Steemann
2d0a37d826
automatically create _keys in DistributeNode on insert
2015-01-12 10:33:05 +01:00
Jan Steemann
20e7fe7a7a
the great rename: array => object, list => array
2014-12-18 21:07:06 +01:00
Alan Plum
41ab3aa4d6
Renamed mergeArrays->mergeObjects to make API less confusing.
2014-12-02 17:03:03 +01:00
Jan Steemann
ac36c0cd7a
added mergeArrays attribute
2014-11-28 13:58:49 +01:00
Willi Goesgens
61412f78f3
Fix memleak: if we bail out, we need to free the json as we promised we would.
2014-11-07 13:05:10 +01:00