Michael Hackstein
7b8d3d6df7
Insertion of documents in Cluster (babies case) now passes through the X-Arango-Error-Codes.
2016-05-09 12:45:31 +02:00
Andreas Streichardt
9cbf7aae33
Merge branch 'devel' of github.com:arangodb/arangodb into devel
2016-05-06 19:12:30 +02:00
Jan Steemann
0bd61cf928
removed option `--server.default-api-compatibility`
2016-05-06 18:38:37 +02:00
Andreas Streichardt
9cbe13dd43
Merge branch 'json_agency_comm' into devel
2016-05-06 17:21:41 +02:00
Jan Steemann
1b9f10bfa8
updated API changes documentation
2016-05-06 17:14:11 +02:00
Andreas Streichardt
3773b0e66c
Merge branch 'json_agency_comm' of github.com:arangodb/arangodb into json_agency_comm
2016-05-06 17:04:04 +02:00
Andreas Streichardt
04ba5156e5
Rework planned collection loading
2016-05-06 17:03:13 +02:00
Jan Steemann
6b4e9fba38
quicker access to _id
2016-05-06 12:12:12 +02:00
Wilfried Goesgens
14fe556031
Merge branch 'devel' of github.com:arangodb/ArangoDB into dox-cox-pix-ex-rox-box
2016-05-04 17:27:39 +02:00
Michael Hackstein
d4baf62d20
Activated Externals by default in OperationCursor. This is used in some places and should have a positive performance impact
2016-05-04 17:16:10 +02:00
jsteemann
7ad08738af
Merge branch 'devel' of https://github.com/arangodb/arangodb into dox-cox-pix-ex-rox-box
2016-05-04 14:54:45 +02:00
jsteemann
9d865c7047
optimizations, bugfixes
2016-05-04 01:50:28 +02:00
jsteemann
495b266c8a
initial commit
2016-05-03 15:42:24 +02:00
jsteemann
e85470a692
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2016-05-03 10:07:24 +02:00
jsteemann
ff21cb2da9
optimizations
2016-05-03 10:07:14 +02:00
Michael Hackstein
adb7c2cee2
Merge branch 'devel' of github.com:arangodb/arangodb into devel
2016-05-03 09:23:22 +02:00
jsteemann
db9e3d1360
optimizations
2016-05-03 00:43:39 +02:00
jsteemann
d3604238e4
optimizations
2016-05-02 23:06:04 +02:00
jsteemann
b9324ea2a1
use VPackDumper
2016-05-02 17:32:53 +02:00
Michael Hackstein
1e9b3a7762
Merge branch 'devel' of github.com:arangodb/arangodb into devel
2016-05-02 17:31:05 +02:00
Michael Hackstein
e42a3c0625
Added a short-circuit path to read a document within a transaction. This path can only get one document at a time and removes the overhead we have because of OperationResults.
2016-05-02 14:35:18 +02:00
jsteemann
124a485df1
fixed VALUES()
2016-05-02 11:40:32 +02:00
Michael Hackstein
80bb9aeff4
Merge branch 'devel' of github.com:arangodb/arangodb into devel
2016-05-02 09:32:22 +02:00
jsteemann
96fceb4411
use std::unordered_maps for headers
2016-05-01 20:52:47 +02:00
jsteemann
7cd90ae711
micro optimizations
2016-05-01 14:13:53 +02:00
jsteemann
1250fcf63e
micro optimizations
2016-05-01 00:03:23 +02:00
jsteemann
6a7b533a69
enable quicker _id lookup
2016-04-30 17:33:50 +02:00
jsteemann
709ae8ae09
wait for sync at later points in time
2016-04-30 15:02:34 +02:00
jsteemann
d6833b6862
potentially optimized lookups for _from and _to
2016-04-30 14:21:15 +02:00
jsteemann
e478c1ae11
faster lookup for _key attribute
2016-04-30 13:25:06 +02:00
Michael Hackstein
ba37b1c030
trx.all now issues externals to AQL
2016-04-29 17:49:56 +02:00
jsteemann
58736a9d50
prepation for optimizations
2016-04-29 17:26:22 +02:00
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
Frank Celler
dfa9047484
switch arangosh to new ApplicationFeatures and ProgramOptions
2016-03-08 23:32:43 +01:00
Max Neunhoeffer
be9bf2d90f
Babies for document and remove, various cleanup.
2016-03-08 21:30:19 +01:00
Max Neunhoeffer
2ae400fa06
Adjust behaviour of replace and update to tests.
2016-03-08 18:45:52 +01:00
Jan Steemann
0c6e8bcd98
fixed replace
2016-03-07 16:49:26 +01:00
Jan Steemann
b358fa329d
fixed replication dump and logger-follow commands
2016-03-07 15:21:11 +01:00
Jan Steemann
0c2fdb9fb9
less dependency on document-collection.h
2016-03-04 20:53:17 +01:00
Jan Steemann
6eea757c01
simplifications
2016-03-04 19:40:24 +01:00
Jan Steemann
1c150d4d6e
Merge branch 'spdvpk' of https://github.com/arangodb/arangodb into spdvpk
2016-03-04 18:35:40 +01:00
Jan Steemann
ad4a9542ea
removed file
2016-03-04 18:32:54 +01:00
Jan Steemann
4de5e41044
simplifications
2016-03-04 17:48:27 +01:00
Jan Steemann
c157363f3c
less dependencies
2016-03-04 17:21:09 +01:00
Max Neunhoeffer
4cb42662f3
Merge branch 'spdvpk' of ssh://github.com/ArangoDB/ArangoDB into spdvpk
2016-03-04 15:19:26 +01:00
Max Neunhoeffer
e4ce808349
Finish revolution of document API, RestHandler still missing.
2016-03-04 15:16:23 +01:00
Jan Steemann
5ef3581d16
simplifications
2016-03-04 14:52:43 +01:00
Max Neunhoeffer
2654e654db
Compiles again, document API not yet sorted out.
2016-03-04 10:32:34 +01:00
jsteemann
cf1427adff
smaller datafile markers
2016-03-04 02:25:03 +01:00
Jan Steemann
78f07c6a31
less json
2016-03-03 14:23:39 +01:00
Max Neunhoeffer
d2d785ec41
Merge branch 'spdvpk' of ssh://github.com/ArangoDB/ArangoDB into spdvpk
2016-03-03 09:04:54 +01:00
Jan Steemann
4c03f4bf8d
simplification
2016-03-02 15:50:52 +01:00
Jan Steemann
ba40edac87
less json
2016-03-02 14:58:13 +01:00
Michael Hackstein
5153750abe
Added a function to invoke a callback on all elements in a collection within a transaction.
2016-03-02 12:39:37 +01:00
Max Neunhoeffer
9da16d66a0
Fix bugs in Transaction replace method for babies.
2016-03-02 11:32:49 +01:00
Max Neunhoeffer
a374cabfb9
Merge branch 'spdvpk' of ssh://github.com/ArangoDB/ArangoDB into spdvpk
2016-03-01 18:16:42 +01:00
Jan Steemann
285de1998b
velocypack
2016-03-01 17:54:57 +01:00
Max Neunhoeffer
1398eea35a
Merge branch 'spdvpk' of ssh://github.com/ArangoDB/ArangoDB into spdvpk
2016-03-01 17:50:39 +01:00
Max Neunhoeffer
2cfa417858
First go at babies variant of replace. RestHandler case missing.
2016-03-01 17:50:13 +01:00
Jan Steemann
747349db19
Merge branch 'spdvpk' of https://github.com/arangodb/arangodb into spdvpk
2016-03-01 17:03:58 +01:00
Jan Steemann
026cb57138
collection export now using vpack
2016-03-01 17:03:44 +01:00
Michael Hackstein
65abe721f3
Merge branch 'spdvpk' of github.com:arangodb/arangodb into spdvpk
2016-03-01 16:39:04 +01:00
Michael Hackstein
922a96fee0
Added a reset function to OperationCursor. ALso added a switch to getMore to define that all documents are referenced as Externals instead of inplace
2016-03-01 16:37:21 +01:00
Jan Steemann
3fa4623dd1
made some methods private
2016-03-01 15:53:10 +01:00
Jan Steemann
0cb0c0142f
remove _rid from master pointer
2016-03-01 15:06:54 +01:00
Michael Hackstein
6e7f9ef49c
Transaction OperationCursor now implements a skip method.
2016-03-01 14:37:40 +01:00
Jan Steemann
0fcaf41477
cleanup
2016-03-01 14:07:47 +01:00
Jan Steemann
15350cf4b8
renamed and removed
2016-03-01 12:34:03 +01:00
Jan Steemann
102066b4ee
removed methods
2016-03-01 11:50:16 +01:00
Jan Steemann
21e5e68ae5
Merge branch 'spdvpk' of https://github.com/arangodb/arangodb into spdvpk
2016-03-01 11:14:55 +01:00
Jan Steemann
6c152649d4
added allKeys() method
2016-03-01 11:14:40 +01:00
Max Neunhoeffer
ad97830d7f
Add babies to insert document API (V8 & HTTP & Transaction).
2016-03-01 10:14:24 +01:00
Michael Hackstein
16750ea55b
Replaced OperationCursor by forward declaration
2016-02-29 15:26:52 +01:00
Michael Hackstein
4f7e03af58
Removed unnecessary reference to Index.h. Decreases build time when Indexes are changed
2016-02-29 14:25:35 +01:00
jsteemann
545b0ed6a2
cleanup
2016-02-27 02:44:51 +01:00
jsteemann
f0aeab0d12
cleanup
2016-02-27 01:10:42 +01:00
Jan Steemann
bd9293802d
marker changes, unfinished
2016-02-26 19:39:17 +01:00
Jan Steemann
254a54a470
Merge branch 'spdvpk' of https://github.com/arangodb/arangodb into spdvpk
2016-02-26 16:24:23 +01:00
Jan Steemann
27fac1e05e
removed marker types
2016-02-26 16:24:17 +01:00
Michael Hackstein
4f832aa568
Fixed a bug in EdgeIndex lookup and added checks when inserting documents into an Edge Collection. They now need to have valid _from and _to entries
2016-02-26 15:48:48 +01:00
Jan Steemann
ebf2d1520b
removed TRI_doc_mptr_copy_t
2016-02-26 11:46:33 +01:00
Jan Steemann
2ee4dad77b
TransactionContext is now the resource owner
2016-02-25 14:02:57 +01:00
Jan Steemann
3c6391279e
cleanup
2016-02-25 12:24:04 +01:00
Jan Steemann
0b815931a7
fixed crud operations
2016-02-25 11:49:11 +01:00
Frank Celler
37a0a7fc05
Merge branch 'devel' of github.com:arangodb/arangodb into solaris
2016-02-25 10:56:14 +01:00
Jan Steemann
8f2e2de451
Merge branch 'devel' of https://github.com/arangodb/arangodb into spdvpk
2016-02-25 10:46:13 +01:00
jsteemann
1823ae4fd2
removed unused forwards and functions
2016-02-25 00:48:06 +01:00
Jan Steemann
cd6a9d4988
cleanup
2016-02-24 20:12:46 +01:00
Jan Steemann
5ee8493c39
cleanup
2016-02-24 19:51:12 +01:00
Frank Celler
4b2b85f1b5
more cleanup
2016-02-24 19:19:04 +01:00
Michael Hackstein
a5442d19f3
Fixed a bug in expandInSearch values. And removed temporary test hack.
2016-02-24 14:46:21 +01:00
Michael Hackstein
9727a1f3a8
Started to add an implementation tu multiply queries with IN. THis is identical for all indexes and does not check validity. The general idea is that an index does not need to know anything about AND, OR, IN. It just has to know primitive types like EQ, LE, LT, GE, GT.
2016-02-24 13:29:26 +01:00
jsteemann
886dca61b0
removed log messages
2016-02-23 22:01:26 +01:00
jsteemann
e69e37ec97
fixed start
2016-02-23 21:51:02 +01:00
jsteemann
ee49f4f3f7
cppcheck
2016-02-23 21:33:59 +01:00
Jan Steemann
a27f1efd66
changed resolver handling
2016-02-23 20:27:13 +01:00
Jan Steemann
0e5f1fcb24
moved ditches into TransactionContext
2016-02-23 16:46:25 +01:00
Jan Steemann
b7ef8e6f1d
removed unused method
2016-02-23 16:01:15 +01:00
Max Neunhoeffer
fac2ebeaa2
Merge branch 'spdvpk' of ssh://github.com/ArangoDB/ArangoDB into spdvpk
2016-02-23 14:35:45 +01:00
Max Neunhoeffer
54b645df55
Change API of index scan.
2016-02-23 14:34:41 +01:00
Jan Steemann
70d44f06fa
Merge branch 'devel' of https://github.com/arangodb/arangodb into spdvpk
2016-02-23 13:22:46 +01:00
Jan Steemann
eb202f528c
pass vocbase in TransactionContext
2016-02-23 13:03:30 +01:00
Jan Steemann
f468cd00ad
create transaction context as shared ptr
2016-02-23 12:18:39 +01:00
Jan Steemann
e187615477
Merge branch 'spdvpk' of https://github.com/arangodb/arangodb into spdvpk
2016-02-23 11:06:10 +01:00
Jan Steemann
0a969caf23
removed SingleCollectionReadOnlyTransaction and SingleCollectionWriteTransaction
2016-02-23 11:05:44 +01:00
Michael Hackstein
6edcfd1553
Transaction ALL and ANY now return the custom type handler, so the result is actually usable
2016-02-23 10:33:59 +01:00
Michael Hackstein
4b4661f2b0
Fixed compiler errors
2016-02-23 09:58:39 +01:00
Michael Hackstein
c3dbb0a37a
Added transaction.any new version
2016-02-23 09:42:34 +01:00
Michael Hackstein
deef8c3c42
Merge branch 'spdvpk' of github.com:arangodb/arangodb into spdvpk
2016-02-22 17:18:15 +01:00
Jan Steemann
49181147e4
truncate optimization
2016-02-22 16:52:18 +01:00
Jan Steemann
3e2e14d800
truncate()
2016-02-22 16:30:56 +01:00
Jan Steemann
f07054bf6a
Merge branch 'spdvpk' of https://github.com/arangodb/arangodb into spdvpk
2016-02-22 16:28:42 +01:00
Jan Steemann
7efe1c6091
Merge branch 'spdvpk' of https://github.com/arangodb/arangodb into spdvpk
2016-02-22 16:28:37 +01:00
Michael Hackstein
39d022c4d3
Fixed compile error that only occured in Maintainer mode.
2016-02-22 16:11:21 +01:00
Michael Hackstein
1367368b38
Added a version for ScanIndex with CursorType::Any
2016-02-22 15:42:57 +01:00
Jan Steemann
840062af8d
all()
2016-02-22 14:03:50 +01:00
Michael Hackstein
ef4f3790bc
Added OperationCursor to cmake file. Fixed compile errors
2016-02-22 14:02:03 +01:00
Michael Hackstein
bbd6ee4c12
Added implementation for operation cursor
2016-02-22 13:53:27 +01:00
Michael Hackstein
e9054fdf29
Added a All iterator for the primary index and made it available in the transaction
2016-02-22 13:25:51 +01:00
Jan Steemann
69833fbca2
added getCollectionType() method
2016-02-22 12:26:17 +01:00
Max Neunhoeffer
ed29fd9d60
Introduce getCollectionId, use it in a few places.
2016-02-19 23:48:34 +01:00
Max Neunhoeffer
393ac7e753
Rename getCollectionId -> getCollectionIdLocal.
2016-02-19 23:26:17 +01:00
Michael Hackstein
687bc3c19b
Merge branch 'spdvpk' of github.com:arangodb/arangodb into spdvpk
2016-02-19 18:22:24 +01:00
Michael Hackstein
756c056795
Added basic implementation to scan an index based on a transaction. However no index implements the new iterator yet. Next step.
2016-02-19 18:22:19 +01:00
Max Neunhoeffer
334ddda823
Fix error handling with wrong revisions.
2016-02-19 16:48:28 +01:00
Michael Hackstein
5ff54220ca
Started implementing indexScan on transaction. Does not return anything useful yet
2016-02-19 16:35:17 +01:00
Max Neunhoeffer
20c1a8142f
Add truncate for coordinator.
2016-02-19 16:14:11 +01:00
Max Neunhoeffer
bbb47a5252
Add proper error handling for coordinator CRUD. Add remove.
2016-02-19 16:09:26 +01:00
Max Neunhoeffer
1e38c746dc
Add update on coordinator in Transaction.
2016-02-19 15:12:45 +01:00
Max Neunhoeffer
b406a062ca
Merge branch 'spdvpk' of ssh://github.com/ArangoDB/ArangoDB into spdvpk
2016-02-19 14:13:54 +01:00
Max Neunhoeffer
81ae787388
Index Scan API.
2016-02-19 14:11:33 +01:00
Jan Steemann
18b6f3bbd9
Merge branch 'spdvpk' of https://github.com/arangodb/arangodb into spdvpk
2016-02-19 12:23:55 +01:00
Max Neunhoeffer
0c97d9652a
Fix SingleCollectionTransaction in cluster case.
...
Collection ID lookup was not cluster ready.
2016-02-19 12:19:35 +01:00
Jan Steemann
d97cfc84e4
Merge branch 'spdvpk' of https://github.com/arangodb/arangodb into spdvpk
2016-02-19 12:06:18 +01:00
Max Neunhoeffer
bca482661a
Factor out buildDocumentIdentity.
2016-02-19 11:56:44 +01:00
Jan Steemann
8b8101fc59
Merge branch 'devel' of https://github.com/arangodb/arangodb into spdvpk
2016-02-19 11:44:06 +01:00
jsteemann
62130d3239
locking-related bugfixes
2016-02-19 00:31:28 +01:00
Max Neunhoeffer
a62a23d167
Fix compilation.
2016-02-18 23:09:07 +01:00
Max Neunhoeffer
5fccaecc67
Add API for Transaction::indexScan.
2016-02-18 22:34:53 +01:00
Max Neunhoeffer
092d96db08
Merge branch 'spdvpk' of ssh://github.com/ArangoDB/ArangoDB into spdvpk
2016-02-18 21:26:29 +01:00
Jan Steemann
367c234d96
implemented count()
2016-02-18 17:54:28 +01:00
Max Neunhoeffer
cb2b159af3
Add documentCoordinator in Transaction.
2016-02-18 16:54:23 +01:00
Jan Steemann
544fc3a31b
fixed compile error
2016-02-18 16:34:41 +01:00
Jan Steemann
5b3b7e673b
Merge branch 'spdvpk' of https://github.com/arangodb/arangodb into spdvpk
2016-02-18 16:17:07 +01:00
Jan Steemann
157bbe3cf7
fixed replace()
2016-02-18 16:16:54 +01:00
Max Neunhoeffer
a66246e6ef
Remove old constructors.
2016-02-18 15:57:35 +01:00
Max Neunhoeffer
f08f663ec0
Fix constructor call to OperationResult.
2016-02-18 15:33:02 +01:00
Max Neunhoeffer
27885f75bd
Merge branch 'spdvpk' of ssh://github.com/ArangoDB/ArangoDB into spdvpk
2016-02-18 14:56:59 +01:00
Max Neunhoeffer
52d051d571
Add insertCluster method to transaction. Change OperationResult.
2016-02-18 14:56:37 +01:00
Jan Steemann
9b80a8a371
return _rev in case of revision mismatch for document(), fixed update()
2016-02-18 14:42:38 +01:00
Michael Hackstein
7ed6754389
Fixed usage of document, to also include customTypeHandler for export to V8
2016-02-18 13:21:06 +01:00
Jan Steemann
d7963c651b
Merge branch 'devel' of https://github.com/arangodb/arangodb into spdvpk
2016-02-18 12:55:49 +01:00
Jan Steemann
ea7a7b4242
handle custom types
2016-02-18 12:55:33 +01:00
Frank Celler
a5e804ab70
added cancel
2016-02-17 22:19:52 +01:00
Jan Steemann
d6cc325c43
initial implementation of update, still broken
2016-02-17 18:06:35 +01:00
Michael Hackstein
abc3b18189
The collection remove function now uses new transaction remove api
2016-02-17 16:19:19 +01:00
Michael Hackstein
0b9bb35fc3
Merge branch 'spdvpk' of github.com:arangodb/arangodb into spdvpk
2016-02-17 16:11:35 +01:00
Michael Hackstein
2fec9dbef6
Added debug output and stub for replace
2016-02-17 16:11:32 +01:00
Jan Steemann
dda2459f41
added document()
2016-02-17 15:59:44 +01:00
Jan Steemann
bdc675e494
added stubs for document() and update()
2016-02-17 13:53:19 +01:00
Jan Steemann
bce6b4f130
remove
2016-02-17 13:41:18 +01:00
Jan Steemann
39e64150e4
stubs for remove()
2016-02-17 12:14:21 +01:00
Jan Steemann
0511a944ad
implemented local insert method
2016-02-16 18:32:50 +01:00
Jan Steemann
10d2c537a0
use insert()
2016-02-16 17:30:01 +01:00
Jan Steemann
46195bd3c9
added wasSynchronous flag
2016-02-16 16:41:50 +01:00
Jan Steemann
7127f54981
moved options into separate header
2016-02-16 16:23:28 +01:00
Jan Steemann
e1817ac3b7
commented header
2016-02-16 16:04:09 +01:00
Jan Steemann
7a8968348f
comments in header
2016-02-16 15:56:38 +01:00
Jan Steemann
0c4ab9054a
API cleanup
2016-02-16 15:13:30 +01:00
Jan Steemann
313f27deed
renamed methods
2016-02-15 18:18:03 +01:00
Jan Steemann
242481a501
small code refactoring
2016-02-15 17:02:36 +01:00
Jan Steemann
c3d3ef2b2d
use different custom type
2016-02-12 17:29:35 +01:00
Jan Steemann
0089b0fcf6
updated vpack library
2016-02-12 16:33:26 +01:00
Jan Steemann
9898103bc1
initial vpack documents
2016-02-11 21:56:10 +01:00
jsteemann
79cc85debd
fixed leak
2016-02-07 00:23:57 +01:00
jsteemann
371a9fd046
prevent lock from being moved from one thread to another
2016-02-06 00:37:32 +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
353c9732b7
removed last LOG_xxx macros
2016-01-30 04:03:18 +01:00
jsteemann
9482ee1cca
use Logger
2016-01-30 00:08:35 +01:00
jsteemann
ff21453255
logger transition: all files in arangod exception transactions.cpp
2016-01-29 23:28:44 +01:00
Michael Hackstein
436c377cb5
Merge branch 'devel' of github.com:arangodb/arangodb into vpack
2016-01-29 14:01:53 +01:00
Michael Hackstein
d1cec2a423
Cursor dump now uses VPack instead of TRI_json_t. There is only one temporary TRI_json_t from shaped json
2016-01-27 17:28:18 +01:00
Frank Celler
175e1e6b51
moved low level mutex in Mutex class
2016-01-27 15:31:02 +01:00
Michael Hackstein
7360cba43a
The cursor now returns VPackSlices instead of TRI_json_t
2016-01-27 14:26:36 +01:00
Jan Steemann
9046e1831b
clang-format
2016-01-27 13:43:46 +01:00
Jan Steemann
3d8a52cdf4
some refactoring
2016-01-27 13:28:19 +01:00
Michael Hackstein
b49830c106
Started migrating cursors to VelocyPack
2016-01-26 16:00:29 +01:00
Jan Steemann
3fc862f0ef
changed locking macros
2016-01-26 15:39:12 +01:00
Michael Hackstein
a6f58ce14d
Use forward declarations for VelocyPack instead of all includes everywhere
2016-01-24 14:29:31 +01:00
Jan Steemann
9beeb09f37
fix out-of-memory situations
2016-01-22 13:24:33 +01:00
jsteemann
0a12bd2732
more diagnosis
2016-01-22 00:58:36 +01:00
Jan Steemann
219da94986
fix some locks
2016-01-21 13:01:31 +01:00
jsteemann
842384016d
namespace cleanup
2016-01-21 00:20:22 +01:00
jsteemann
ef67a496e6
more checks & asserts, C API cleanup
2016-01-20 22:08:11 +01:00
Frank Celler
ff11db7b78
added threadNumber to identify a thread
2016-01-19 13:57:30 +01:00
jsteemann
431900f17a
changed namespace from triagens to arangodb
2016-01-17 00:44:53 +01:00
jsteemann
5759882ef6
removed useless comments
2016-01-14 23:24:21 +01:00
Frank Celler
89ca0ffae1
added work monitor call
2016-01-13 18:10:51 +01:00
Jan Steemann
a08be0f0ff
removed included iostream header
2016-01-12 18:30:57 +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
jsteemann
50c0e18d53
removed useless con|destructor comments
2016-01-07 21:19:53 +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
Jan Steemann
edb4d2dc4c
fix some VS compile errors
2016-01-05 14:10:10 +01:00
jsteemann
a6cb463e06
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
2016-01-05 00:25:10 +01:00
Jan Steemann
d6e05a2e19
added optional "startTime" attribute for handler description
2016-01-04 19:04:15 +01:00
Jan Steemann
28d80cf8d4
fixed shutdown leak
2016-01-04 18:37:01 +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
Jan Steemann
ad45a4b254
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
2015-12-17 12:31:14 +01:00
Jan Steemann
b76c61adb1
\0 fix
2015-12-17 12:28:16 +01:00
Jan Steemann
2b3f3f997b
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
2015-12-17 10:59:30 +01:00
Jan Steemann
6ee9a6f90e
replication fixes
2015-12-16 19:52:01 +01:00
Michael Hackstein
bec87a0ef8
Adapted utils to class version of TRI_col_info_t
2015-12-16 11:43:12 +01:00
Max Neunhoeffer
7641feeb88
Fix ClusterComm library w.r.t. pointers.
2015-12-14 11:22:30 +01:00
Michael Hackstein
dd172d1776
Now allows to update a document with a VelocyPackSlice
2015-12-07 14:23:56 +01:00
Michael Hackstein
6b2f2451a6
Added wrappers to write/modify VelocyPack documents in a transaction
2015-12-06 13:32:43 +01:00
Michael Hackstein
72e7845166
Added a dummy dumpDocs VPack function. (Wraps around the TRI_json_t variant
2015-12-06 12:57:40 +01:00
Jan Steemann
5c033f566b
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
2015-12-04 13:47:08 +01:00
jsteemann
7892c98996
unconstify return types
2015-12-03 11:06:25 +01:00
hkernbach
6d25ac57e9
Merge branch 'devel' of github.com:arangodb/arangodb into JHMH
2015-12-01 11:25:58 +01:00
Jan Steemann
0dd207f9f5
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
2015-12-01 11:14:12 +01:00
jsteemann
37f72fa721
micro optimizations
2015-11-30 19:37:58 +01:00
Michael Hackstein
43ac825241
The CXX Edges handler now first checks if the collection is an edge collection
2015-11-30 14:17:13 +01:00
Jan Steemann
19b2d28167
pass transaction to index APIs
2015-11-25 14:42:29 +01:00
Jan Steemann
75e4e6e815
added transaction to all signatures
2015-11-24 17:34:23 +01:00
Jan Steemann
317ef4b8a2
remove, not working yet
2015-11-24 11:30:15 +01:00
Jan Steemann
bd090571fb
insertion of documents using vpack
2015-11-23 18:34:36 +01:00
Michael Hackstein
3926e82247
Added an otion to extract the collection type in a cluster with the CollectionNameResolcer
2015-11-16 19:47:50 +01:00
Wilfried Goesgens
179660e87c
Merge branch 'devel' of github.com:arangodb/ArangoDB into JHMH
2015-11-04 17:07:09 +01:00
Jan Steemann
afdcc68e51
minor patches
2015-11-03 10:19:25 +01:00
Wilfried Goesgens
bb9039c855
Merge branch 'devel' of github.com:arangodb/ArangoDB into JHMH
2015-10-29 16:01:01 +01:00
Michael Hackstein
e2d8bb2094
Added an additional assertion for nullptr in orderDitch. It was asserted on a subattribute of collection but never on collection itself
2015-10-29 09:51:30 +01:00
Wilfried Goesgens
951165ab1e
Merge branch 'devel' of github.com:arangodb/ArangoDB into JHMH
...
Conflicts:
arangod/Aql/grammar.cpp
arangod/Aql/grammar.h
js/common/modules/org/arangodb/graph-examples/example-graph.js
2015-10-28 11:08:18 +01:00
jsteemann
058fec96f6
removed some dependencies
2015-10-23 00:15:07 +02:00
Michael Hackstein
c3c57d26a0
Improved skip in Enumerate collection
2015-10-22 16:22:56 +02:00
Wilfried Goesgens
dae95de667
Merge branch 'devel' of github.com:arangodb/ArangoDB into JHMH
2015-10-21 14:54:01 +02:00
Jan Steemann
4bf3bb047b
Merge branch 'devel' of https://github.com/arangodb/arangodb into aql-jmmh-conditions
2015-10-07 17:25:56 +02:00
Michael Hackstein
1ba2efed60
Fixed GraphNeighbors as locking was not woring for include data
2015-10-07 15:50:41 +02:00
Jan Steemann
8ee068ba40
refactoring
2015-10-06 13:31:56 +02:00
Jan Steemann
4249095456
issue #1507 : added optional *allowImplicit* sub-attribute for transactions
2015-09-24 15:50:00 +02:00
Michael Hackstein
1a7f414c16
Merge branch 'devel' of github.com:arangodb/arangodb into JHMH
2015-09-18 12:21:39 +02:00
Frank Celler
c4d1fff729
new traversal
2015-09-18 10:40:28 +02:00
Jan Steemann
dc7ac83354
incremental sync fixes
2015-09-15 14:20:08 +02:00
Jan Steemann
2419ec939b
re-added build directory
2015-09-14 10:52:21 +02:00
Jan Steemann
d7a3b51e1b
additional sync method
2015-09-11 17:13:31 +02:00
Jan Steemann
bead727a32
initial work for better incremental synchronization
2015-09-10 18:17:58 +02:00
Jan Steemann
cd3dd77e9a
removed unused method
2015-09-04 10:59:18 +02:00
Willi Goesgens
771c291042
Merge pull request #1472 from CoDEmanX/devel
...
More Americanization
2015-09-04 09:15:30 +02:00
Jan Steemann
06760a2c45
fixed broken index scan
2015-09-03 22:49:53 +02:00
CoDEmanX
3a9648d78a
More Americanization
2015-09-03 22:25:43 +02:00
Michael Hackstein
630c8fd42f
Improved Primary Sequential read
2015-09-03 16:25:24 +02:00
Jan Steemann
ec61d921f6
fixed typo
2015-09-03 13:55:07 +02:00
CoDEmanX
b4593a7e82
Change spelling of 'initialize' to American English (comments and log messages only)
2015-09-01 17:07:21 +02:00
Claudius Weinberger
f52beeacb0
fixed invalid index lookupus
2015-09-01 12:38:51 +00:00
Michael Hackstein
876853dd9f
Fixed a bug with skip over primary index
2015-08-28 09:28:24 +02:00
Michael Hackstein
81fa8018b0
Improved primary index lookups to use parameter by reference instead of byPointer. less error prone. Fixed some issues with it.
2015-08-28 09:28:24 +02:00
Michael Hackstein
d1ac131294
Fixed a bad access bug
2015-08-28 09:28:24 +02:00
Michael Hackstein
fa5e1cc66f
Adopted the collection export to new primary index
2015-08-28 09:28:23 +02:00
Michael Hackstein
035de49b2f
Adopted the transactions to the new Primary Index implementation. Removed nth queries.
2015-08-28 09:28:22 +02:00
Michael Hackstein
6d4d41387b
Implemented sequential read and any read in Transaction.h
2015-08-28 09:28:22 +02:00
Michael Hackstein
0e90f396d7
Piped through readRandom and readSequential in PrimaryIndex. Used in Transaction
2015-08-28 09:28:22 +02:00
Jan Steemann
e73f546be2
added assertion
2015-08-26 12:51:31 +02:00
Jan Steemann
7540059f36
uint32_t => uint64_t
2015-08-25 15:08:09 +02:00
Jan Steemann
31a6547d4c
fix replication resumption
2015-08-21 15:57:24 +02:00
Jan Steemann
744ff9e251
no explicit make_pair
2015-08-05 22:58:31 +02:00
Jan Steemann
7ad99087ee
use unique_ptr
2015-08-03 09:18:20 +02:00
Jan Steemann
6d7ccd7699
move shaper to cxx
2015-07-28 17:38:31 +02:00
Jan Steemann
e8205e5dc0
use new and delete for TRI_server_t
2015-07-21 11:57:04 +02:00
Jan Steemann
124fe7a34c
use new/delete for TRI_vocbase_t
2015-07-20 12:08:13 +02:00
Jan Steemann
e25ecb5be8
added function cacheability info
2015-06-27 09:06:35 +02:00
Jan Steemann
1f5e047486
query cache, now with result limitations, HTTP and JavaScript APIs
2015-06-27 01:12:32 +02:00
Jan Steemann
7b366ca130
use auto
2015-06-05 12:46:41 +02:00
Jan Steemann
4dde6e49cd
goodbye barriers, welcome ditches
2015-05-28 10:23:30 +02:00
Jan Steemann
03461903fe
fixed over-eager V8 context entering and exiting in non-cluster mode
2015-05-27 14:02:13 +02:00
Jan Steemann
a9f2769ffa
now compiles and links
2015-05-23 04:31:13 +02:00
Jan Steemann
9a1b3d0b52
in the middle of changes - need to go home now
2015-05-22 22:15:26 +02:00
Michael Hackstein
86c7f87dd3
Merge branch 'cppTrav2' into devel
2015-05-19 16:17:27 -07:00
Jan Steemann
3acbbbc880
call reserve() before storing documents
2015-05-19 14:28:25 +02:00
Michael Hackstein
3b3a28e16a
The CPP shortest path can now live with non existent vertices and even with non existent vertex collections (dropped after edge creation but before path computation)
2015-05-12 15:39:04 -07:00
Jan Steemann
f6bc0a05e3
added `limit` parameter for export API
2015-05-12 14:16:27 +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
163c2fbc8b
coarse locking for truncate()
2015-05-06 17:09:43 +02:00
Jan Steemann
63138def67
fix location response headers with special characters
2015-05-05 14:00:06 +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
244cc2d66d
added some batch processing methods
2015-05-04 17:46:47 +02:00
Jan Steemann
0099fe260a
return value optimization for AQL
2015-04-30 23:38:27 +02:00
Jan Steemann
8dbcf0e23f
Visual Studio adjustments
2015-04-30 11:46:55 +02:00
Jan Steemann
32b547886b
fixed up some headers
2015-04-24 13:11:29 +02:00
Jan Steemann
61499432b7
do not remove constant sorts when creating plans, but during optimization phase
...
less utf8 comparisons
2015-04-20 11:32:29 +02:00
Jan Steemann
6e23c5330f
added restrictions for export API
2015-04-17 00:24:43 +02:00
Jan Steemann
ad132ed202
delete expired cursors in coordinator, too
2015-04-16 13:51:03 +02:00
Jan Steemann
2299d2916d
initial commit to satisfy #1298
2015-04-13 18:26:33 +02:00
Jan Steemann
0f1244f72d
better export API cleanup
2015-03-31 18:44:51 +02:00
Jan Steemann
e672d791b5
refactored cursor API, added export API
2015-03-30 18:03:42 +02:00
Jan Steemann
80a99ab23e
refactored cursor API
2015-03-30 14:58:51 +02:00
Jan Steemann
c62c26e088
Merge branch 'devel' of https://github.com/arangodb/arangodb into data-modification
2015-03-23 15:31:41 +01:00
Frank Celler
4c5d57f1b8
merged Exceptions.h and Exception.h
2015-03-23 14:05:19 +01:00
Jan Steemann
13ddb8b34b
fixed some cluster plans
2015-03-17 13:52:09 +01:00
Jan Steemann
ff813a7d11
removed wrong comment
2015-02-09 11:33:13 +01:00
Willi Goesgens
854f733c49
Exceptions:
...
- Assert that the associated errorcode has format options so if you call a THROW-macro with parameters these don't get lost unheard.
- Add new macro which offers format strings, so you can throw standard errors with custom messages.
2015-01-21 15:03:21 +01:00
Max Neunhoeffer
1782039138
Fix cluster-wide locking for AQL.
2014-12-22 16:21:45 +01:00
Max Neunhoeffer
e50a705d9a
Squashed commit of the following: organise locking in distributed AQL
...
Locking is now done in an extra round after the query is fully
instanciated in the cluster. All participating shards are locked
in alphabetical order of their shard ID (local collection name).
For this to work there is a new action in the RestAqlHandler plus a
mechanism to prevent the usual locking from happening: Each thread has a
thread local static class variable of
triagens::arango::Transaction::_makeNolockHeaders
which is of type std::unordered_set<std::string>*.
Whenever this is not equal to nullptr and a local collection name is
stored in there, no locking or unlocking takes place. This information
is forwarded by the X-Arango-Nolock HTTP header, whenever an HTTP
request is sent via ClusterComm to a shard.
2014-12-22 14:40:22 +01:00
Jan Steemann
19d2d6668f
added random iteration for collections
2014-12-19 18:01:13 +01:00
Jan Steemann
20e7fe7a7a
the great rename: array => object, list => array
2014-12-18 21:07:06 +01:00
Willi Goesgens
1c4a72b106
The Big V8 upgrade Merge.
2014-12-15 17:30:56 +01:00
Jan Steemann
0a27b7cf89
removed debug output
2014-12-04 11:15:45 +01:00
Jan Steemann
a71bf1819c
issue #1099 : do not fail if general-graph.remove is used inside a transaction
2014-11-17 15:47:39 +01:00
Jan Steemann
f96a3d3f98
forgot to commit
2014-11-07 11:04:21 +01:00
Jan Steemann
b0de1bb226
leaner and meaner error messages
2014-11-07 10:53:00 +01:00
Max Neunhoeffer
0044d7d1b0
Fix bug in AQL that abort() was called after commit() for trx.
2014-10-31 18:15:40 +01:00
Jan Steemann
4f68960ed7
removed Ahuacatl [skip ci]
2014-10-31 17:31:00 +01:00
Jan Steemann
83252851e6
report warnings in queries
2014-10-30 17:33:15 +01:00
Jan Steemann
13d240384f
less namespace pollution
2014-10-28 00:24:37 +01:00
Jan Steemann
7452c70a3b
moved backtrace functions
2014-10-27 18:15:10 +01:00
Willi Goesgens
7db7c22443
don't add the TRI_errno_string() to the exception twice.
2014-10-27 15:39:10 +01:00
Jan Steemann
38c8f4e328
do not log warning
2014-10-24 13:19:26 +02:00
Jan Steemann
3269bfe3a9
simpler iteration
2014-10-23 14:43:43 +02:00
Willi Goesgens
02c1f59007
Also add our errno strings to exceptions with user messages (if not TRI_ERROR_INTERNAL)
2014-10-21 12:43:33 +02:00
Jan Steemann
40e62e95a5
fixed out-of-scheduler-threads issue
2014-10-20 18:27:50 +02:00
Jan Steemann
10c9a54932
start transactions on coordinator
2014-10-20 15:39:55 +02:00
Jan Steemann
026fc2b83a
next attempt to fix v8 context handling
2014-10-17 15:47:39 +02:00
Max Neunhoeffer
11ace2de3a
Fix registerTransaction in StandaloneTransactionContext.
2014-10-17 15:33:48 +02:00
Max Neunhoeffer
de7c303c5d
Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into devel
...
Conflicts:
arangod/Aql/Query.cpp
2014-10-17 15:26:50 +02:00
Max Neunhoeffer
cb75b0b18a
Sort out transactions in cluster, part I.
2014-10-17 15:25:46 +02:00
Jan Steemann
ee614d6ebd
v8 context handling
2014-10-17 15:25:06 +02:00
Max Neunhoeffer
7a25f20e23
Fix clone for AqlTransactions.
2014-10-17 11:02:37 +02:00
Max Neunhoeffer
d508812ec3
Silence a compiler warning.
2014-10-17 09:09:36 +02:00
Max Neunhoeffer
83ebd46652
Tell AqlTransaction constructor if transaction is main or sub.
...
Only lock collections in AqlTransactions that are main ones.
2014-10-16 23:59:02 +02:00
Max Neunhoeffer
a231ca4c82
Finish some changes to transactions in AQL.
2014-10-16 16:46:39 +02:00
Max Neunhoeffer
743d7d127a
Snapshot, does not compile, try to sort out transactions in AQL.
2014-10-16 16:41:32 +02:00
Jan Steemann
223820eba3
removed some macros
2014-10-16 16:31:49 +02:00
Jan Steemann
70c59a61fd
removed macro
2014-10-16 16:28:18 +02:00
Jan Steemann
dcb9427b6f
rewrote transaction contexts
2014-10-16 15:53:28 +02:00
Jan Steemann
0f83d8132f
fixed some transaction threading errors
2014-10-06 18:39:01 +02:00
Jan Steemann
573d837561
off-by-one fix
2014-10-02 17:06:12 +02:00
Jan Steemann
38d43a2fb3
print error message in cases AqlHandler fails
2014-10-01 17:47:43 +02:00
Jan Steemann
3ac25ad56f
fixed some issues with remote queries
2014-09-29 12:14:03 +02:00
Max Neunhoeffer
784a299ab8
Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into devel
2014-09-24 16:17:44 +02:00
Max Neunhoeffer
cf5e1be91e
Version version of HTTP API done.
2014-09-24 16:17:18 +02:00
Jan Steemann
1e66c86d08
fixed invalid document access
2014-09-24 12:27:36 +02:00
Jan Steemann
aa20c9e980
renamed last C files...
2014-09-13 22:38:25 +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
Max Neunhoeffer
d147be8de3
Merge branch 'aql2' of ssh://github.com/triAGENS/ArangoDB into aql2
2014-09-12 15:01:58 +02:00
Max Neunhoeffer
6194618906
Finish removal of type argument in create.
2014-09-12 15:01:16 +02:00
Max Neunhoeffer
949557fc35
Remove an unnecessary parameter.
2014-09-12 14:43:56 +02:00