1
0
Fork 0
Commit Graph

919 Commits

Author SHA1 Message Date
jsteemann 851d19a9d6 logging simplifications 2016-02-25 00:00:18 +01:00
Jan Steemann 63d1d5339f cppcheck 2016-02-24 17:55:36 +01:00
Jan Steemann 8ae3550edb Merge branch 'devel' of https://github.com/arangodb/arangodb into spdvpk 2016-02-23 13:23:25 +01:00
Jan Steemann 3380360a0c fix compiler warning 2016-02-23 13:23:02 +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 188b6696d2 fix compiler warning 2016-02-23 13:21:01 +01:00
Jan Steemann eb202f528c pass vocbase in TransactionContext 2016-02-23 13:03:30 +01:00
Frank Celler 987da8d434 fixed error handling 2016-02-23 12:26:12 +01:00
Frank Celler 963578180a cleanup of TRI_ options 2016-02-23 12:26:10 +01:00
Frank Celler ef71f52a24 simplified init 2016-02-23 12:26:10 +01:00
Jan Steemann f468cd00ad create transaction context as shared ptr 2016-02-23 12:18:39 +01:00
Jan Steemann 0a969caf23 removed SingleCollectionReadOnlyTransaction and SingleCollectionWriteTransaction 2016-02-23 11:05:44 +01:00
Michael Hackstein fefe7f4f73 Fixed TODO where collectionType was hardcoded and probably wrong and replaced it by new transaction API. 2016-02-23 09:44:02 +01:00
Michael Hackstein e5d68c6b37 Silence param unused warning 2016-02-23 09:42:55 +01:00
Michael Hackstein a2a52c6ea5 Fixed usage of collection type in RestDocumentHandler 2016-02-22 16:09:51 +01:00
Max Neunhoeffer 393ac7e753 Rename getCollectionId -> getCollectionIdLocal. 2016-02-19 23:26:17 +01:00
Jan Steemann aea510155d removed unused variables 2016-02-19 12:57:37 +01:00
Michael Hackstein ed72993cd6 Rest Import Handler now uses new transaction API for truncate as well 2016-02-19 12:51:06 +01:00
Michael Hackstein 09c6c4bd0d HTTP DELETE now uses new transaction API 2016-02-19 12:50:20 +01:00
Michael Hackstein 7f2e01a180 Fixed usage of old constructor 2016-02-18 16:44:08 +01:00
Michael Hackstein 4e12805846 document PUT and PATCH now use the new Transaction API. 2016-02-18 16:14:23 +01:00
Michael Hackstein b7cf8138b3 Fixed Rest generateDocument. It now uses the custom attribute handler for _id 2016-02-18 15:25:13 +01:00
Michael Hackstein 4aa3de6eb8 RestDocument Handler GET now uses new Transaction API 2016-02-18 15:08:57 +01:00
Michael Hackstein b2eb4fdb23 Added helper functions to create HTTP Results from internal VelocyPack 2016-02-18 15:08:33 +01:00
Jan Steemann d7963c651b Merge branch 'devel' of https://github.com/arangodb/arangodb into spdvpk 2016-02-18 12:55:49 +01:00
Frank Celler a5e804ab70 added cancel 2016-02-17 22:19:52 +01:00
Frank Celler 345712c36f changed to new Thread interface 2016-02-17 22:19:37 +01:00
Michael Hackstein 2b10ec64d3 Adapted RestImportHandler to new Transaction API 2016-02-17 13:49:10 +01:00
Michael Hackstein d25e79cc22 Merge branch 'spdvpk' of github.com:arangodb/arangodb into spdvpk 2016-02-17 12:57:12 +01:00
Michael Hackstein 22d30676a5 Moved RestEdgeHandler to new transaction.insert api. Still needs test 2016-02-17 12:57:06 +01:00
Jan Steemann 39e64150e4 stubs for remove() 2016-02-17 12:14:21 +01:00
Michael Hackstein 11046e30a9 Explicitly give the Collection Type for HTTP generate saved result 2016-02-17 09:39:11 +01:00
Michael Hackstein a75814264c Use static internal attribute Names instead of inplace strings 2016-02-16 18:17:26 +01:00
Michael Hackstein 373f860230 Wrapped the RestDocument Handler around the new Transaction Insert function 2016-02-16 17:57:46 +01:00
Michael Hackstein 6b8fcfa76b Added a generate saved result for the new Transaction result 2016-02-16 17:07:12 +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
Max Neunhoeffer 4cbd99a54b Merge branch 'devel' into ClustUp2 2016-02-13 23:06:22 +01:00
Jan Steemann dad000b883 use std::string to avoid potential leaks 2016-02-11 10:13:49 +01:00
Max Neunhoeffer 465a117864 Merge branch 'devel' into ClustUp2 2016-02-11 09:11:29 +01:00
Jan Steemann 23dfbeee46 optionally restrict logger-follow to a single collection 2016-02-10 16:49:22 +01:00
Max Neunhoeffer dc63cb3874 Merge branch 'devel' into ClustUp2 2016-02-09 15:52:36 +01:00
Max Neunhoeffer fb17ac372b Report new follower to agency. 2016-02-09 15:51:58 +01:00
Jan Steemann 39c3d3d2a2 wait until applier has started 2016-02-09 10:54:37 +01:00
Jan Steemann 82a84054ba fixed leak 2016-02-08 16:29:09 +01:00
Jan Steemann 42c4bdbebb ported from 2.8 2016-02-07 19:47:37 +01:00
Jan Steemann 7ecf38cc38 fixed leak 2016-02-07 17:37:27 +01:00
Jan Steemann 16df093e8f added barrier query API 2016-02-05 18:20:21 +01:00
Jan Steemann a0cb3b1832 replication changes 2016-02-05 18:06:39 +01:00
Jan Steemann 071d36c203 replication cleanup 2016-02-05 13:28:38 +01:00
Max Neunhoeffer 7a92f3ac0f Merge branch 'devel' into ClustUp2 2016-02-04 09:39:46 +01:00
Jan Steemann b7fddb15ad handle compile warnings 2016-02-04 09:07:36 +01:00
Frank Celler bb3acf8cd5 fixed /_admin/log 2016-02-04 00:41:50 +01:00
Max Neunhoeffer ac51c221b3 Merge branch 'devel' into ClustUp2 2016-02-03 08:55:01 +01:00
Jan Steemann bfd5d6614a fixed namespace usage 2016-02-02 15:10:44 +01:00
Jan Steemann 11736660d8 removed namespace 2016-02-02 14:41:34 +01:00
Jan Steemann 48f1ce865b don't swallow detailed return codes 2016-02-02 14:01:26 +01:00
Max Neunhoeffer daf2afe71a Merge branch 'devel' into ClustUp2 2016-02-01 12:30:45 +01:00
Jan Steemann b7abf5a40d attempt to fix Windows build 2016-02-01 12:04:28 +01:00
Max Neunhoeffer 0be190d85d Merge branch 'devel' into ClustUp2 2016-02-01 11:43:00 +01:00
Max Neunhoeffer bee1fd9eae Fix followerInfo. 2016-02-01 11:42:26 +01:00
Max Neunhoeffer 93400bfdcc Implement followerInfo. 2016-02-01 11:38:10 +01:00
jsteemann b635983d9c removed unused functions and headers 2016-01-31 19:08:39 +01:00
jsteemann ae25d2b53b removed `using namespace std` 2016-01-31 18:22:00 +01:00
jsteemann 4e94803ad7 honor results of clang-test, clang-tidy and clang-modernize 2016-01-31 15:56:18 +01:00
jsteemann 13481bbebc fix or annotate problems identified by clang-check 2016-01-31 03:32:31 +01:00
jsteemann 2d7323a560 fixed warnings shown by clang-3.7 2016-01-31 02:17:36 +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 e0f0a6f1a8 Merge branch 'devel' of github.com:arangodb/arangodb into vpack 2016-01-29 14:18:05 +01:00
Michael Hackstein 436c377cb5 Merge branch 'devel' of github.com:arangodb/arangodb into vpack 2016-01-29 14:01:53 +01:00
Max Neunhoeffer 238937128a Merge branch 'devel' into ClustUp2 2016-01-29 13:59:11 +01:00
Jan Steemann 5e9a36783f fixed crash 2016-01-28 20:00:22 +01:00
Jan Steemann 37a083edca Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-01-27 18:53:29 +01:00
Jan Steemann 585208afcf changed directory name pattern for collections 2016-01-27 18:53:16 +01:00
Frank Celler 175e1e6b51 moved low level mutex in Mutex class 2016-01-27 15:31:02 +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
Max Neunhoeffer 887e571a26 Merge branch 'devel' into ClustUp2 2016-01-26 18:01:42 +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 969ac75d19 Removed all TRI_json_t references from v8-vocindex and all it's surroundings 2016-01-26 13:27:21 +01:00
Michael Hackstein bc1b69af70 Fixed error where a nullptr was dereferenced without any checks 2016-01-25 16:00:17 +01:00
Michael Hackstein a6f58ce14d Use forward declarations for VelocyPack instead of all includes everywhere 2016-01-24 14:29:31 +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
jsteemann ef67a496e6 more checks & asserts, C API cleanup 2016-01-20 22:08:11 +01:00
Michael Hackstein 51a683facb Added a toVelocyPack function to all indexes. Removed specialized toJson from all indexes. Generalized toJson invokes specialized toVelocyPack for compatibility reasons. 2016-01-19 15:40:37 +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
jsteemann 431900f17a changed namespace from triagens to arangodb 2016-01-17 00:44:53 +01:00
Michael Hackstein f254f83dfb Moved DebugClearFailure to v8-actions, alowing it to be executed in Cluster as well 2016-01-16 15:19:49 +01:00
Jan Steemann 31b4de2acb removed unused RestHandler 2016-01-15 10:27:31 +01:00
jsteemann 1b959c827d more const unification 2016-01-15 00:09:52 +01:00
jsteemann f66eb007cd some const unification 2016-01-15 00:03:03 +01:00
jsteemann 4a1c10d46c cppcheck 2016-01-14 23:45:59 +01:00
jsteemann 5759882ef6 removed useless comments 2016-01-14 23:24:21 +01:00
Michael Hackstein d999c7063b Moved Debug functions to V8Server and made them available via a debug endpoint. This is used to distributed debugSetFailAt in cluster, s.t. DBServers use these functions as well 2016-01-14 17:14:18 +01:00
Michael Hackstein ad8fa5c63a Merge branch 'devel' of github.com:arangodb/arangodb into vpack 2016-01-14 09:23:10 +01:00
Frank Celler 89ca0ffae1 added work monitor call 2016-01-13 18:10:51 +01:00
Michael Hackstein c557a48e9e Reduced usage of TRI_json_t in VocbaseBaseHandler 2016-01-12 16:44:52 +01:00