1
0
Fork 0
Commit Graph

292 Commits

Author SHA1 Message Date
jsteemann 8158b924d9 added assertions 2016-05-25 14:18:43 +02:00
Max Neunhoeffer 1e6fe40149 Reduce follower timeout to 3.0 seconds. 2016-05-24 08:38:01 +02:00
jsteemann c4ec5a1204 fixed some issues with persisted index 2016-05-21 00:08:53 +02:00
jsteemann 08955341a7 datafile management fixes 2016-05-18 11:29:06 +02:00
jsteemann ae01d15982 re-use StringBuffers in AQL functions 2016-05-14 00:09:51 +02:00
jsteemann 96a1bb71b2 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-05-13 12:56:34 +02:00
jsteemann 7971b7d71d micro optimizations 2016-05-13 12:56:25 +02:00
Michael Hackstein 56d6032995 Replaced a shared_ptr by a unique_ptr as it was actually never shared. 2016-05-13 12:54:07 +02:00
jsteemann 0ce8599598 fixes for MSVC 2016-05-10 19:01:21 +02:00
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 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
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 d3604238e4 optimizations 2016-05-02 23:06:04 +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 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 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 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 fdddf52e0a Fix maintainer mode compilation again. 2016-04-20 16:08:15 +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
Max Neunhoeffer ed41c310c1 Fix synchronous replication. 2016-04-19 15:40:51 +02:00
Max Neunhoeffer 0d1a7239c1 Bugfixes for synchronous replication. 2016-04-19 14:44:23 +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
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 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
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 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
Michael Hackstein 98ab36fe56 Coordinator now reports UNIQUE_CONSTRAINT_VIOLATED correctly 2016-04-01 16:05:48 +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
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