Michael Hackstein
|
4216e6cbb1
|
Removed resolved TODO comments
|
2016-04-29 17:05:26 +02:00 |
jsteemann
|
3a92773685
|
use StaticStrings
|
2016-04-29 15:18:20 +02:00 |
jsteemann
|
64ee910e38
|
move system attributes to the front of objects
|
2016-04-29 13:13:39 +02:00 |
Michael Hackstein
|
bc519d8626
|
Update/Replace/Delete now use externals as well for NEW and OLD value
|
2016-04-29 09:56:01 +02:00 |
Michael Hackstein
|
165d92fc58
|
Merge branch 'devel' of github.com:arangodb/arangodb into devel
|
2016-04-29 09:15:09 +02:00 |
jsteemann
|
b796e4cc7d
|
use some static strings here and there
|
2016-04-29 01:37:44 +02:00 |
jsteemann
|
6ac4c809ee
|
do not create markers on the heap, but create them in the WAL space directly
|
2016-04-29 01:01:10 +02:00 |
Michael Hackstein
|
bc464435a4
|
trx.document now uses externals and AQL functions react to it
|
2016-04-28 17:33:25 +02:00 |
jsteemann
|
46e8d67e0d
|
performance
|
2016-04-28 14:07:48 +02:00 |
jsteemann
|
139c91d4c2
|
added timers
|
2016-04-28 12:48:02 +02:00 |
Michael Hackstein
|
c3958a1215
|
AQL REMOVE Block now makes use of baby variant.
|
2016-04-26 14:50:21 +02:00 |
jsteemann
|
021183f14e
|
added tests
|
2016-04-26 10:23:47 +02:00 |
Jan Steemann
|
b7f3ab4683
|
micro optimizations
|
2016-04-25 17:58:11 +02:00 |
jsteemann
|
8bc19eaa51
|
fix insertion
|
2016-04-25 11:39:26 +02:00 |
jsteemann
|
1fb953a515
|
improve insertion time
|
2016-04-25 10:40:48 +02:00 |
jsteemann
|
28930370c2
|
micro optimizations
|
2016-04-23 20:49:22 +02:00 |
jsteemann
|
0da9ac7cdc
|
micro optimizations
|
2016-04-23 16:23:15 +02:00 |
Michael Hackstein
|
f0f41b6f95
|
Merge branch 'devel' of github.com:arangodb/arangodb into devel
|
2016-04-22 13:23:51 +02:00 |
Michael Hackstein
|
74ce6ccc1a
|
The ClusterMethods for document interaction (CRUD) now use automatic retries in cluster communication.
|
2016-04-22 13:23:44 +02:00 |
Max Neunhoeffer
|
f3cb1e2bc0
|
Implement synchronous replication for truncate.
|
2016-04-22 12:21:50 +02:00 |
Max Neunhoeffer
|
45d7ae567f
|
Implement synchronous replication for replace and update.
|
2016-04-22 11:42:52 +02:00 |
Max Neunhoeffer
|
877e42e7c5
|
Merge branch 'FMH' into devel
|
2016-04-21 14:04:39 +02:00 |
Max Neunhoeffer
|
fdddf52e0a
|
Fix maintainer mode compilation again.
|
2016-04-20 16:08:15 +02:00 |
Michael Hackstein
|
6ee5e97a0f
|
Merge branch 'devel' of github.com:arangodb/arangodb into devel
|
2016-04-20 15:13:47 +02:00 |
Michael Hackstein
|
ae80b86599
|
Added a function to request babies from an IndexIterator (next n elements). Used this function in OperationCursor to get a list of mptrs. The only Index supporting it right now is EdgeIndex. It is only used in OutboundNeighbors at this point.
|
2016-04-20 15:13:42 +02:00 |
Max Neunhoeffer
|
b0d95461e7
|
Fix build in maintainer mode.
|
2016-04-20 14:51:32 +02:00 |
Max Neunhoeffer
|
c35e3516c5
|
Implement synchronous replication for remove.
|
2016-04-20 13:37:55 +02:00 |
Max Neunhoeffer
|
10ce1b262f
|
Fix synchronous replication.
|
2016-04-20 13:20:07 +02:00 |
Frank Celler
|
3bb24146a6
|
Merge branch 'devel' of github.com:arangodb/arangodb into FMH
|
2016-04-19 19:18:02 -07:00 |
Jan Steemann
|
240cb95f0c
|
fixed crash
|
2016-04-19 15:54:10 +02:00 |
Max Neunhoeffer
|
ed41c310c1
|
Fix synchronous replication.
|
2016-04-19 15:40:51 +02:00 |
Max Neunhoeffer
|
5c232edee2
|
Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel
|
2016-04-19 14:44:35 +02:00 |
Max Neunhoeffer
|
0d1a7239c1
|
Bugfixes for synchronous replication.
|
2016-04-19 14:44:23 +02:00 |
Michael Hackstein
|
be118b1b80
|
Former JsonCursor now uses QueryResult and contains the TRX context for continuuos reads
|
2016-04-19 14:32:23 +02:00 |
Frank Celler
|
007fe8e053
|
Merge branch 'devel' of https://github.com/arangodb/arangodb into FMH
Conflicts:
arangod/Agency/Constituent.cpp
arangod/Agency/RestAgencyHandler.cpp
arangod/Aql/Query.cpp
arangod/Aql/grammar.cpp
arangod/RestHandler/RestSimpleQueryHandler.cpp
arangod/RestServer/ArangoServer.cpp
js/client/modules/@arangodb/testing.js
|
2016-04-19 07:44:00 +02:00 |
Max Neunhoeffer
|
7a8daa35cb
|
Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel
|
2016-04-18 13:47:38 +02:00 |
Max Neunhoeffer
|
e9f2276f0c
|
Finish insert case of synchronous replication.
|
2016-04-18 13:47:20 +02:00 |
Frank Celler
|
cd91d3654e
|
Merge remote-tracking branch 'origin' into FMH
|
2016-04-15 19:01:38 -07:00 |
Michael Hackstein
|
cd12a07a4d
|
Fixed return codes in cluster. They are now forwarded properly from DBServer to Client
|
2016-04-15 17:58:06 +02:00 |
Michael Hackstein
|
3dab8da1aa
|
Now the cluster method to request documents babies slow case properly sets return code
|
2016-04-15 15:34:33 +02:00 |
Michael Hackstein
|
0e2d31f633
|
Moved GET _api/document?collection=xxx to PUT _api/simple/all-keys {collection: xxx}. Adapted all tests. Also removed Transaction::allKeys which got obsolete by this commit.
|
2016-04-15 11:23:25 +02:00 |
Michael Hackstein
|
3434be7b7a
|
Implemented documents baby variant for cluster and also improved the baby tests. ALl errors will now have exactly one representation for each baby document even if they could be identified earlier.
|
2016-04-14 17:40:28 +02:00 |
Michael Hackstein
|
2d860fb80e
|
Added a cpp file for AqlTransaction. Now only parts of AQL have to be rebuild on cluster changes, not complete AQL
|
2016-04-14 11:30:54 +02:00 |
Michael Hackstein
|
1e92fd3485
|
Merge branch 'devel' of github.com:arangodb/arangodb into spdvpk
|
2016-04-14 08:28:28 +02:00 |
Jan Steemann
|
6f9d45f99e
|
don't move
|
2016-04-13 15:24:57 +02:00 |
Michael Hackstein
|
04f796e9a1
|
Activated babies in cluster replace
|
2016-04-12 09:10:50 +02:00 |
Michael Hackstein
|
3927fd06de
|
Fixed nullptr bug
|
2016-04-12 08:28:12 +02:00 |
Michael Hackstein
|
8760f10354
|
Merge branch 'devel' of github.com:arangodb/arangodb into spdvpk
|
2016-04-12 08:01:40 +02:00 |
Max Neunhoeffer
|
c9031a648f
|
Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel
|
2016-04-11 23:39:02 +02:00 |
Max Neunhoeffer
|
99de60c6fc
|
First version of synchronous replication for insertLocal.
|
2016-04-11 23:38:02 +02:00 |
jsteemann
|
13b27483a0
|
move construction to initializer list
|
2016-04-11 23:10:48 +02:00 |
Michael Hackstein
|
7ae80aaf70
|
Activated babies update in coordinator mode
|
2016-04-11 17:23:55 +02:00 |
Michael Hackstein
|
a7a5565069
|
Further improved baby-api implementation in transaction.
|
2016-04-11 14:22:22 +02:00 |
Michael Hackstein
|
83b13bb8b3
|
Implemented modifyDocument in cluster with babies.
|
2016-04-11 10:25:03 +02:00 |
Michael Hackstein
|
df497eb8b2
|
Merge branch 'devel' of github.com:arangodb/arangodb into spdvpk
|
2016-04-10 14:09:25 +02:00 |
Michael Hackstein
|
ca6be0eec8
|
Fixed a bug in DBServer side of Baby-delete implementation.
|
2016-04-08 17:35:45 +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 |
Jan Steemann
|
3a582af765
|
fix Windows build
|
2016-04-08 13:09:32 +02:00 |
Jan Steemann
|
0c00738aff
|
fixes for Visual Studio
|
2016-04-08 12:07:53 +02:00 |
Jan Steemann
|
c2749b850f
|
fixed tests
|
2016-04-07 17:48:51 +02:00 |
Michael Hackstein
|
30725c510f
|
Removed baby guard in insert Coordinator
|
2016-04-07 10:59:05 +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 |
Michael Hackstein
|
98b4c43315
|
Merge branch 'spdvpk' of github.com:arangodb/arangodb into spdvpk
|
2016-04-06 09:30:11 +02:00 |
Jan Steemann
|
d0f368445a
|
replication fixes
|
2016-04-05 18:32:09 +02:00 |
Michael Hackstein
|
a968446820
|
SingleServer INSERT babies now uses newest format. It tries to insert as much as possible. Reports each document individually. Also reports each error individually. The ordering of documents in request and response is identical.
|
2016-04-05 15:53:48 +02:00 |
Michael Hackstein
|
489d6c5400
|
The OperationResult now optionally contains a map errorCode => count. Which is used to report errors in Baby-case.
|
2016-04-05 15:52:13 +02:00 |
Michael Hackstein
|
eecb674f1c
|
Fixed the prefix in all keys to not contain edge any more. Has to go over documents
|
2016-04-05 10:30:44 +02:00 |
Michael Hackstein
|
8bde9506a1
|
Fixed getIndexByHandle in trx for Cluster case. This is required for executing a query from a JSON query plan on Coordintator. Unlikely in Production but required for tests
|
2016-04-04 16:18:45 +02:00 |
Frank Celler
|
6002ede1c4
|
Merge branch 'devel' of github.com:arangodb/arangodb into FMH
|
2016-04-03 21:46:30 +02:00 |
Frank Celler
|
09da78e444
|
WIP
|
2016-04-03 13:48:25 +02:00 |
Michael Hackstein
|
98ab36fe56
|
Coordinator now reports UNIQUE_CONSTRAINT_VIOLATED correctly
|
2016-04-01 16:05:48 +02:00 |
Michael Hackstein
|
91d394105c
|
ClusterResolver cid by numeric name now checks if the number is actually a valid collection and it returns cid 0 instead of the given numeric number. Some apis rely on this to check if collection exists or not.
|
2016-04-01 14:31:13 +02:00 |
Frank Celler
|
873f226b5f
|
added SchedulerFeature
|
2016-04-01 12:52:28 +02:00 |
Frank Celler
|
068f9defd7
|
splitted HttpResponse.h
|
2016-04-01 10:39:38 +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
|
118cc6c141
|
Reoming Documents in Cluster case now reacts to old revisions
|
2016-03-30 18:19:45 +02:00 |
Michael Hackstein
|
a653f6d377
|
Fixed Conflict reporting in Cluster Case of delete
|
2016-03-30 17:14:03 +02:00 |
Michael Hackstein
|
428beab2c9
|
Fixed a Coordinator return code if document was not found (was collection not found former which was totally wrong
|
2016-03-30 15:54:39 +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 |
Michael Hackstein
|
a5d20b0041
|
Activated Externals in OperationCursor. This commit might break tests again.
|
2016-03-29 11:08:31 +02:00 |
Frank Celler
|
af00417cf4
|
skeleton arangod
|
2016-03-25 15:14:43 +01:00 |
Jan Steemann
|
13980ef299
|
bugfixes
|
2016-03-24 16:18:18 +01:00 |
Jan Steemann
|
dce7c427d9
|
test fixes
|
2016-03-24 14:55:31 +01:00 |
Jan Steemann
|
f161a98ba4
|
test fixes
|
2016-03-24 12:46:08 +01:00 |
jsteemann
|
b7c1a42f96
|
test fixes
|
2016-03-24 01:12:57 +01:00 |
Jan Steemann
|
2986ec2a64
|
removed dead code
|
2016-03-23 20:08:22 +01:00 |
Jan Steemann
|
c8c9288400
|
harmonize value comparisons for hash indexes
|
2016-03-23 16:36:00 +01:00 |
Max Neunhoeffer
|
651d0e75c9
|
Fix compilation.
|
2016-03-23 09:18:58 +01:00 |
Max Neunhoeffer
|
12c420913e
|
Merge branch 'spdvpk' of ssh://github.com/ArangoDB/ArangoDB into spdvpk
|
2016-03-23 09:02:14 +01:00 |
Max Neunhoeffer
|
c2049b8ee1
|
Switch to IndexHandles.
|
2016-03-23 08:57:00 +01:00 |
Jan Steemann
|
8391455ce8
|
Merge branch 'spdvpk' of https://github.com/arangodb/arangodb into spdvpk
|
2016-03-22 14:34:37 +01:00 |
Jan Steemann
|
80413739d1
|
fixed test
|
2016-03-22 14:34:18 +01:00 |
Max Neunhoeffer
|
1990441d9c
|
Merge branch 'spdvpk' of ssh://github.com/ArangoDB/ArangoDB into spdvpk
|
2016-03-22 13:33:23 +01:00 |
Max Neunhoeffer
|
07d193f74d
|
Implement indexesForCollection for coordinator case.
|
2016-03-22 13:32:53 +01:00 |
Jan Steemann
|
738851e6a9
|
collection id lookup for cluster
|
2016-03-22 12:59:12 +01:00 |
Jan Steemann
|
6552b42f59
|
centralized _id extraction
|
2016-03-22 12:57:01 +01:00 |
jsteemann
|
4694d36671
|
cppcheck
|
2016-03-21 20:56:08 +01:00 |
Jan Steemann
|
e4674d0f5e
|
test fixes
|
2016-03-21 17:46:47 +01:00 |
Jan Steemann
|
1587fadb82
|
fixed test
|
2016-03-21 17:18:41 +01:00 |
Jan Steemann
|
811732230c
|
fixed test
|
2016-03-21 13:46:58 +01:00 |
Jan Steemann
|
b672ce0985
|
test fixes
|
2016-03-21 12:15:40 +01:00 |
Michael Hackstein
|
a2ecc653f0
|
Removed unused debug output
|
2016-03-18 15:53:09 +01:00 |
Michael Hackstein
|
8b0b8a3667
|
Fixed invalid nullptr for any() query
|
2016-03-18 13:55:11 +01:00 |
Michael Hackstein
|
c7b63f0ffa
|
Merge branch 'spdvpk' of github.com:arangodb/arangodb into spdvpk
|
2016-03-18 08:48:39 +01:00 |
Max Neunhoeffer
|
d1c5c64d6b
|
Fix baby methods for documents in arangosh.
|
2016-03-18 02:05:19 +01:00 |
Max Neunhoeffer
|
37bac8881d
|
Implement babies variant of DELETE /_api/document/<collection>.
|
2016-03-17 20:28:40 +01:00 |
Michael Hackstein
|
2d2cfae297
|
Merge branch 'spdvpk' of github.com:arangodb/arangodb into spdvpk
|
2016-03-17 18:51:30 +01:00 |
Michael Hackstein
|
401f55ae37
|
Replaced OperationCursor by shared_ptrs every where and removed the slice function from it. Instead it returns a shared ptr on a OperationResult on getMore
|
2016-03-17 18:49:20 +01:00 |
jsteemann
|
873854a0a0
|
removed unused file
|
2016-03-16 23:56:52 +01:00 |
Michael Hackstein
|
93efb73ca7
|
Added a convenience function to add a collection by name at Runtime to transaction
|
2016-03-16 11:09:42 +01:00 |
jsteemann
|
8650404c9e
|
fixed startup
|
2016-03-15 20:09:15 +01:00 |
jsteemann
|
4f8265bfc8
|
temporary builder leaser
|
2016-03-15 14:08:03 +01:00 |
Michael Hackstein
|
7e0c8c935d
|
Reimplemented optimizer rule to remove unnecessary SORT if covered by index
|
2016-03-15 11:12:10 +01:00 |
Michael Hackstein
|
e0ddf68c4f
|
Merge branch 'spdvpk' of github.com:arangodb/arangodb into spdvpk
|
2016-03-15 10:05:04 +01:00 |
Michael Hackstein
|
5d61b709bb
|
Fixed OperationCursor and SkiplistIndex. The builder in OperationCursor did not retain the _buffer.
|
2016-03-15 08:56:37 +01:00 |
Michael Hackstein
|
a4edc8dd49
|
Merge from spdvpk
|
2016-03-14 23:46:57 +01:00 |
jsteemann
|
33df831f41
|
small optimizations for v8<->vpack
|
2016-03-14 22:22:35 +01:00 |
Michael Hackstein
|
78f0b95289
|
AQL indexNode now uses the new transaction API. It does not know any index internals itself any more. Optimizer Rule to remove SORT node needs to be reimplemented yet
|
2016-03-14 21:28:58 +01:00 |
Max Neunhoeffer
|
f8f27c6cbf
|
Polish mechanism for recovery via Transaction API.
|
2016-03-14 18:05:17 +01:00 |
Max Neunhoeffer
|
f1e0e66c20
|
Reorganise insert.
|
2016-03-14 12:13:05 +01:00 |
Max Neunhoeffer
|
50514610fc
|
Change id and key validation to use length.
|
2016-03-14 10:23:08 +01:00 |
Jan Steemann
|
ba91761a66
|
fix resetting of cursors
|
2016-03-11 17:56:23 +01:00 |
Max Neunhoeffer
|
8f6cd501aa
|
Change behaviour of remove(), return data, allow returnOld.
|
2016-03-11 16:35:55 +01:00 |
Max Neunhoeffer
|
1c94f8d1be
|
returnNew and returnOld, progress.
|
2016-03-11 15:12:58 +01:00 |
Max Neunhoeffer
|
0dad5a6c7e
|
Finish implementation of returnNew and returnOld.
|
2016-03-11 13:10:14 +01:00 |
Max Neunhoeffer
|
e77159b008
|
New returnNew option for insert.
|
2016-03-11 12:44:36 +01:00 |
Max Neunhoeffer
|
447c95af83
|
Change revision management in Transaction.cpp.
|
2016-03-11 09:53:20 +01:00 |
Jan Steemann
|
ff24255cdb
|
added isSingleOperationTransaction
|
2016-03-11 08:54:11 +01:00 |
Max Neunhoeffer
|
0daedb4cbe
|
Prepare returnOld and returnNew.
|
2016-03-10 16:49:03 +01:00 |
Max Neunhoeffer
|
0647661f5a
|
Fix a bug in update for babies.
|
2016-03-10 15:30:52 +01:00 |
Max Neunhoeffer
|
3ed256a478
|
Merge branch 'spdvpk' of ssh://github.com/ArangoDB/ArangoDB into spdvpk
|
2016-03-10 11:25:20 +01:00 |
Max Neunhoeffer
|
3def27ee6e
|
Do not check for existence of vertex collection at edge insertion.
|
2016-03-10 11:24:59 +01:00 |
Michael Hackstein
|
23f845de05
|
Merge branch 'spdvpk' of github.com:arangodb/arangodb into spdvpk
|
2016-03-10 10:46:30 +01:00 |
Michael Hackstein
|
4c4c117059
|
Partially Adopted Traverser to new transaction API. This is still work in Progress. It compiles but it will not work yet.
|
2016-03-10 10:42:20 +01:00 |
Max Neunhoeffer
|
995eecc832
|
Last traces of update_policy gone.
|
2016-03-10 00:17:33 +01:00 |
Max Neunhoeffer
|
31112b9257
|
Merge branch 'spdvpk' of ssh://github.com/ArangoDB/ArangoDB into spdvpk
|
2016-03-09 23:59:34 +01:00 |
Max Neunhoeffer
|
80ee083105
|
Fix RestDocumentHandler: modify and remove.
|
2016-03-09 23:59:02 +01:00 |
Jan Steemann
|
7e01c3208a
|
Merge branch 'spdvpk' of https://github.com/arangodb/arangodb into spdvpk
|
2016-03-09 17:56:57 +01:00 |
Jan Steemann
|
b55b5d7386
|
AqlValue refactoring
|
2016-03-09 17:50:20 +01:00 |
Max Neunhoeffer
|
bffd86b035
|
Temporarily disable external VPack usage again.
|
2016-03-09 15:20:21 +01:00 |
Max Neunhoeffer
|
5b807d6753
|
Merge branch 'spdvpk' of ssh://github.com/ArangoDB/ArangoDB into spdvpk
|
2016-03-09 13:28:43 +01:00 |
Max Neunhoeffer
|
6b2fa8c33d
|
RestDocumentHandler GET method, plus tests.
|
2016-03-09 13:28:13 +01:00 |
Michael Hackstein
|
507b062fe1
|
trx->document now returns an EXTERNAL VPACK in local case
|
2016-03-09 12:43:32 +01:00 |
Michael Hackstein
|
a24e28024e
|
Merge branch 'spdvpk' of github.com:arangodb/arangodb into spdvpk
|
2016-03-09 09:59:56 +01:00 |
Michael Hackstein
|
c3c06a2f5c
|
Modified EDGES AQL funciton to use new Transaction API instead and does not rely on the shaper any more. Also added a iteratorForSlice method to EdgeIndex. It is slightly more complicated than other indexes iteratorForSlice functions because of the special _from, _to indexing in one index.
|
2016-03-09 09:59:51 +01:00 |
Jan Steemann
|
b393c3d9bb
|
Merge branch 'devel' of https://github.com/arangodb/arangodb into spdvpk
|
2016-03-09 09:42:10 +01:00 |
jsteemann
|
d756f6a176
|
removed TRI_transaction_collection_t from public APIs
|
2016-03-09 01:51:17 +01:00 |