1
0
Fork 0
Commit Graph

2590 Commits

Author SHA1 Message Date
Max Neunhoeffer 73f3dbc328 Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into sharding 2014-01-31 18:56:47 +01:00
Max Neunhoeffer c31df01dbb Merge branch 'sharding' of ssh://github.com/triAGENS/ArangoDB into sharding 2014-01-31 16:04:54 +01:00
Max Neunhoeffer 1104067631 Rename a function from *sharding* to *cluster* 2014-01-31 16:04:15 +01:00
Jan Steemann 6b8169ee7b fix invalid caching of sharded collection names in db.<obj> 2014-01-31 15:20:07 +01:00
Jan Steemann 04d40c10e9 fixed wrong REST API parameter type in documentation 2014-01-31 13:56:24 +01:00
Jan Steemann dab81b1702 fixed wrong REST API parameter type in documentation 2014-01-31 13:54:47 +01:00
Jan Steemann 9a7781474f fixed broken symbol 2014-01-31 13:20:39 +01:00
Jan Steemann 9643469631 do not allow changing shard key attributes 2014-01-31 13:19:03 +01:00
Jan Steemann 8f8c664c5d Merge branch 'sharding' of https://github.com/triAGENS/ArangoDB into sharding 2014-01-31 11:29:44 +01:00
Jan Steemann 83af3c9617 truncate sharded 2014-01-31 11:29:36 +01:00
Max Neunhoeffer f92456b851 Report URLs of edges correctly. 2014-01-31 11:02:51 +01:00
Max Neunhoeffer 915b31bddb Remove unnecessary and wrong "NOT_YET_IMPLENENTED". 2014-01-31 11:02:34 +01:00
Jan Steemann b7ad436d19 issue #755: TRAVERSAL does not use strategy, order and itemOrder options 2014-01-31 01:52:07 +01:00
Max Neunhoeffer 2a588f42c1 Merge branch 'sharding' of ssh://github.com/triAGENS/ArangoDB into sharding 2014-01-31 01:03:09 +01:00
Max Neunhoeffer 4d3b747182 Add getAllDocumentsOnCoordinator and fix bugs. 2014-01-31 01:02:51 +01:00
Jan Steemann 7bc4f06b6e fixed failing tests 2014-01-30 23:12:40 +01:00
Max Neunhoeffer a792adec39 Leave connection to agency open. 2014-01-30 20:56:30 +01:00
Jan Steemann e9c5af7895 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into sharding
Conflicts:
	CHANGELOG
	js/apps/system/aardvark/frontend/css/collectionsView.css
	js/apps/system/aardvark/frontend/css/layout.css
	js/apps/system/aardvark/frontend/js/routers/router.js
2014-01-30 19:40:21 +01:00
Jan Steemann 4f3070715c implemented first() and last() 2014-01-30 19:11:48 +01:00
Max Neunhoeffer ced1048cbc Add V8 add edge for cluster. 2014-01-30 18:24:14 +01:00
Max Neunhoeffer b0e14bb686 Increase minimal batch size for uniqids to 1000000. 2014-01-30 17:54:11 +01:00
Jan Steemann b65637e924 Merge branch 'sharding' of https://github.com/triAGENS/ArangoDB into sharding 2014-01-30 17:30:57 +01:00
Jan Steemann 51a58b7844 collection.any() sharded 2014-01-30 17:30:39 +01:00
Max Neunhoeffer 5512868cd9 Merge branch 'sharding' of ssh://github.com/triAGENS/ArangoDB into sharding 2014-01-30 17:27:30 +01:00
Max Neunhoeffer 3a5a085bc5 Sort out mess with collection name/id lookup in cluster. 2014-01-30 17:27:06 +01:00
Jan Steemann fd6b0f0ea6 fetch more ids in each batch 2014-01-30 15:40:17 +01:00
Jan Steemann 9ebd765fcc allow passing of documents without _rev attribute 2014-01-30 12:31:38 +01:00
Jan Steemann 4741d2c8ff added count() 2014-01-29 18:49:11 +01:00
Max Neunhoeffer 22f0ab02db Merge branch 'sharding' of ssh://github.com/triAGENS/ArangoDB into sharding 2014-01-29 16:23:45 +01:00
Max Neunhoeffer ed39834029 CRUD basically working on cluster. 2014-01-29 16:23:17 +01:00
Jan Steemann 9175fddd4d Merge branch 'sharding' of https://github.com/triAGENS/ArangoDB into sharding 2014-01-29 13:51:32 +01:00
Jan Steemann 5f8a59d696 all() sharded 2014-01-29 13:51:12 +01:00
Max Neunhoeffer 4b5fe412d7 Very dirty hack to improve hashing for sharding attributes. 2014-01-29 13:44:09 +01:00
Max Neunhoeffer 60f47e1f21 Fix body management in asyncRequest. 2014-01-29 13:21:53 +01:00
Max Neunhoeffer 1edcd6a9e9 Report cluster wide collection name in _id 2014-01-29 11:24:09 +01:00
Max Neunhoeffer 409f32b965 Add isDBserver method to ServerState class. 2014-01-29 11:23:58 +01:00
Max Neunhoeffer 61575e473e Remove debugging output. 2014-01-29 09:29:06 +01:00
Max Neunhoeffer 35c6a3ffdc Use shared_ptr for CollectionInfo(Current) export.
This at the same time fixes an allocation bug with TRI_json_t*.
2014-01-29 09:21:09 +01:00
Jan Steemann e2a7e2dfb3 windows 2014-01-28 17:32:32 +01:00
Max Neunhoeffer c3f01237b0 Implement replace and update on cluster.
This still has a freeing too early bug with TRI_json_t.
2014-01-28 16:49:44 +01:00
Max Neunhoeffer 59ad7cab9a Remove unused files. 2014-01-28 08:45:48 +01:00
Jan Steemann 0a2d61a42a added SHORTEST_PATH AQL function, allow user-defined functions for filtering in TRAVERSAL etc. 2014-01-28 01:51:27 +01:00
Jan Steemann e906f68235 windows fixes 2014-01-27 17:46:15 +01:00
Jan Steemann 7f240a1625 fixed segfault in import API 2014-01-27 16:12:39 +01:00
Jan Steemann 57ca73f463 fixed segfault in import API 2014-01-27 16:12:10 +01:00
Jan Steemann 9e52c2b866 Windows fixes 2014-01-27 13:34:56 +01:00
Jan Steemann 945031cfb5 updated documentation 2014-01-27 12:15:56 +01:00
Jan Steemann 471cf9a14f updated documentation 2014-01-27 12:15:34 +01:00
Max Neunhoeffer 4f5b8f0462 Try to add boost libraries for shared_ptr. 2014-01-27 11:38:59 +01:00
Max Neunhoeffer d9766bebc8 Merge branch 'sharding' of ssh://github.com/triAGENS/ArangoDB into sharding 2014-01-27 10:41:52 +01:00
Max Neunhoeffer 98df540266 Add support for GET and HEAD on cluster. 2014-01-27 10:41:35 +01:00
Jan Steemann f232becd2e Merge branch 'sharding' of https://github.com/triAGENS/ArangoDB into sharding 2014-01-27 09:45:52 +01:00
Jan Steemann 1b08bc6582 start up the HTTP server when starting ArangoDB in console mode 2014-01-27 09:45:26 +01:00
Max Neunhoeffer af8a51c3de Implement remove document in V8server on coordinator. 2014-01-24 22:22:39 +01:00
Max Neunhoeffer 7d5723756f Implement DELETE REST method on the coordinator. 2014-01-24 21:31:58 +01:00
Max Neunhoeffer fe348a36ca Start support for create edge in coordinator in cluster. 2014-01-24 16:47:29 +01:00
Jan Steemann ea2af50683 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into sharding
Conflicts:
	Documentation/ImplementorManual/HttpSystem.md
	js/apps/system/aardvark/aardvark.js
	js/apps/system/aardvark/frontend/css/buttons.css
	js/server/version-check.js
2014-01-24 14:50:09 +01:00
Jan Steemann 5a585db592 Merge branch 'sharding' of https://github.com/triAGENS/ArangoDB into sharding 2014-01-24 13:19:18 +01:00
Jan Steemann dc14fdf9e1 fixed compile error in non-cluster configuration 2014-01-24 13:18:29 +01:00
Max Neunhoeffer 85758c0abf Merge branch 'sharding' of ssh://github.com/triAGENS/ArangoDB into sharding 2014-01-24 13:11:35 +01:00
Max Neunhoeffer 4526181f82 Implement C of CRUD on cluster for V8 calls. 2014-01-24 13:11:20 +01:00
Jan Steemann 0222786ead fixed mr-actions 2014-01-24 12:50:26 +01:00
Max Neunhoeffer f5c274e8c0 Fix error handling and another bug in create document for cluster. 2014-01-24 10:35:37 +01:00
Max Neunhoeffer 9230f5020c First case of create document is working on cluster. 2014-01-23 16:16:06 +01:00
Max Neunhoeffer 69c3456e1d Merge branch 'sharding' of ssh://github.com/triAGENS/ArangoDB into sharding 2014-01-23 13:01:15 +01:00
Max Neunhoeffer 165d98578a First hack at create document via REST on cluster. 2014-01-23 13:00:44 +01:00
Jan Steemann 6a2563ffd4 bugfix for getResponsibleServer 2014-01-23 12:13:30 +01:00
Jan Steemann 5f442ef742 bugfixes 2014-01-23 11:47:49 +01:00
Max Neunhoeffer 3887303a82 Prepare creation of a document in the coordinator. 2014-01-22 23:57:41 +01:00
Jan Steemann 27276205c4 collection property changes 2014-01-22 17:46:26 +01:00
Jan Steemann 1270137048 Merge branch 'sharding' of https://github.com/triAGENS/ArangoDB into sharding 2014-01-22 17:20:14 +01:00
Jan Steemann 39fd7611ed load/unload of collections 2014-01-22 17:20:06 +01:00
Max Neunhoeffer b7f49e67a0 Merge branch 'sharding' of ssh://github.com/triAGENS/ArangoDB into sharding 2014-01-22 16:21:54 +01:00
Max Neunhoeffer 8d3282f237 Add support to read off responsible shard of a document.
Untested, but compiles.
2014-01-22 16:21:26 +01:00
Jan Steemann d92d23d3c1 dont fail on removing collection info 2014-01-22 10:19:00 +01:00
Jan Steemann f5039a4f54 make usage of batch API easier 2014-01-21 17:56:49 +01:00
Jan Steemann 2be163860d fix reloading of collections 2014-01-21 15:37:53 +01:00
Max Neunhoeffer c4590d3a40 Merge branch 'sharding' of ssh://github.com/triAGENS/ArangoDB into sharding 2014-01-21 14:28:48 +01:00
Max Neunhoeffer a1a99170e1 Add information about Current collections to ClusterInfo. 2014-01-21 14:28:30 +01:00
Jan Steemann 80e8250d54 fixed segfault 2014-01-21 12:50:35 +01:00
Max Neunhoeffer 2465a1d870 Merge branch 'sharding' of ssh://github.com/triAGENS/ArangoDB into sharding 2014-01-21 11:48:44 +01:00
Max Neunhoeffer 9839719302 Fix remaining time in timeout. 2014-01-21 11:48:26 +01:00
Jan Steemann 1a1e1ed645 unregister ourselves on shutdown 2014-01-21 11:44:53 +01:00
Jan Steemann 2e3f293012 fix uniqid 2014-01-21 11:39:28 +01:00
Jan Steemann 2ddacc65e8 clean up Current/Databases for ourselves 2014-01-21 11:10:25 +01:00
Jan Steemann b5aeebd891 prevent creation of collections with duplicate name 2014-01-21 09:50:12 +01:00
Jan Steemann 8009885d72 quick fix for property access 2014-01-21 09:37:53 +01:00
Jan Steemann 64417d4423 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into sharding
Conflicts:
	arangod/V8Server/v8-vocbase.cpp
2014-01-21 09:29:45 +01:00
Jan Steemann 12dbcc535d updated import manual 2014-01-21 09:16:42 +01:00
Jan Steemann 5001709926 updated import manual 2014-01-21 09:15:45 +01:00
Max Neunhoeffer 278aebc04e Fix error reporting bug in create collection. 2014-01-20 09:24:50 +01:00
Max Neunhoeffer b803d9231d Fix error reporting bug in create database. 2014-01-20 09:24:18 +01:00
Max Neunhoeffer 2c726e6304 Merge branch 'sharding' of ssh://github.com/triAGENS/ArangoDB into sharding 2014-01-20 08:41:20 +01:00
Jan Steemann f59d861df4 dont throw exception in v8 property getter 2014-01-18 01:07:15 +01:00
Jan Steemann 6e166c63ae allow direct access from the `db` object to collections whose names start with an underscore (e.g. db._users).
Previously, access to such collections via the `db` object was possible from arangosh, but not from arangod (and thus Foxx and actions). The only way to access such collections from these places was via the `db._collection(<name>)` workaround.
2014-01-18 00:16:13 +01:00
Jan Steemann b074028339 removed invalid conversion 2014-01-17 23:18:17 +01:00
Jan Steemann bfc05ae0b9 removed superfluous macro and check 2014-01-17 23:16:18 +01:00
Jan Steemann 583878176b issue #736: AQL function to parse collection and key from document handle
Conflicts:

	CHANGELOG
2014-01-17 23:13:06 +01:00
Jan Steemann 9f69aae986 issue #736: AQL function to parse collection and key from document handle 2014-01-17 22:39:04 +01:00
Jan Steemann 3e38412c16 Merge branch 'sharding' of https://github.com/triAGENS/ArangoDB into sharding 2014-01-17 18:28:02 +01:00
Jan Steemann 435b56bea2 fixed dropping of collections 2014-01-17 18:27:55 +01:00
Max Neunhoeffer ab100c64bb Add code for Current collection info.
Not functional, but will be changed and transferred to ClusterInfo.
2014-01-17 16:16:30 +01:00
Max Neunhoeffer 0b6a979a91 Fix bug to report errors on creating/dropping of DB/Colls. 2014-01-17 16:15:25 +01:00
Jan Steemann 87702e3953 fixed too eager return 2014-01-17 14:35:55 +01:00
Max Neunhoeffer bedd06229b Fix Plan 2014-01-17 14:22:50 +01:00
Max Neunhoeffer e8f7dbbf5b Consider Plan for current state of collections. 2014-01-17 13:43:02 +01:00
Jan Steemann 07c0ed3bab creation/removal of local shards 2014-01-17 12:43:34 +01:00
Jan Steemann 7c23c9527a removed nrShards attribute from Json 2014-01-17 10:53:29 +01:00
Jan Steemann 42b5686ee2 code cleanup 2014-01-17 10:21:05 +01:00
Jan Steemann 9cbc6d55ca Merge branch 'sharding' of https://github.com/triAGENS/ArangoDB into sharding 2014-01-16 17:03:23 +01:00
Jan Steemann 8010963a94 handle plan change for create/drop database 2014-01-16 17:03:10 +01:00
Max Neunhoeffer 8fe85a021b Try to return a collections object after creation.
This is still buggy: ClusterInfo does not yet know about the new
setup with many entries of the form
  Current/Collections/<DB-Name>/<Coll-ID>/<shard-ID>
2014-01-16 16:18:13 +01:00
Jan Steemann c9dabaca86 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into sharding 2014-01-16 15:02:44 +01:00
Max Neunhoeffer 5b4a0bf3c2 Merge branch 'sharding' of ssh://github.com/triAGENS/ArangoDB into sharding 2014-01-16 15:01:53 +01:00
Max Neunhoeffer 5960c103bc Create/drop Database/Collection compiles. 2014-01-16 15:01:36 +01:00
Jan Steemann a987647bd2 handle state changes 2014-01-16 14:52:40 +01:00
Max Neunhoeffer 8a9fe34ad6 Merge branch 'sharding' of ssh://github.com/triAGENS/ArangoDB into sharding
Conflicts:
	arangod/V8Server/v8-vocbase.cpp
2014-01-16 12:12:29 +01:00
Max Neunhoeffer 78716f841f State before moving DB/Coll Ops to ClusterInfo. 2014-01-16 12:10:42 +01:00
Jan Steemann 405d05ecff added symbolic name 2014-01-16 12:10:31 +01:00
Jan Steemann f193cc31ef added diagnostic output for heartbeat 2014-01-16 11:39:40 +01:00
Jan Steemann 481cd2d1be added collection._dbName 2014-01-16 11:10:37 +01:00
Max Neunhoeffer 784bd4375d Use ClusterInfo::listDatabases with reload in JS_ListDatabases_Coordinator. 2014-01-16 08:54:12 +01:00
Frank Celler 01b717d0bb removed skip-list 2014-01-15 22:57:35 +01:00
Jan Steemann 3b192782c5 removed some code 2014-01-15 17:22:13 +01:00
Jan Steemann c0e185c859 don't throw in autocompleter 2014-01-15 16:27:13 +01:00
Jan Steemann 7f757801b6 force reload of databases 2014-01-15 16:21:56 +01:00
Jan Steemann b0e4dc91dd adjusted listDatabases and doesDatabaseExist 2014-01-15 16:01:05 +01:00
Jan Steemann f66c4400b4 fixed arangom script 2014-01-15 15:13:26 +01:00
Jan Steemann a0be99b6a6 Merge branch 'sharding' of https://github.com/triAGENS/ArangoDB into sharding 2014-01-15 14:00:50 +01:00
Jan Steemann fcb545d268 removed unused methods 2014-01-15 14:00:42 +01:00
Max Neunhoeffer 97476ccf08 Create Collection completed. Use new AgencyComm. 2014-01-15 13:59:41 +01:00
Max Neunhoeffer 016b07b61c Merge branch 'sharding' of ssh://github.com/triAGENS/ArangoDB into sharding
Conflicts:
	arangod/V8Server/v8-vocbase.cpp
2014-01-15 13:38:08 +01:00
Jan Steemann 4a805062bb changed internal APIs 2014-01-15 13:36:38 +01:00
Max Neunhoeffer 6a427af052 Nearly finished with CreateColl and DropDatabase for coordinator. 2014-01-15 13:36:04 +01:00
Max Neunhoeffer bd5f58ff8b Temporary version of Create DB and Drop DB. 2014-01-15 12:46:32 +01:00
Jan Steemann b5a448ffdb added loadPlannedDatabases method 2014-01-15 11:03:01 +01:00
Jan Steemann e02b0b52e1 renamed methods 2014-01-15 10:52:56 +01:00
Jan Steemann e094cc5342 less redundancy of URLs 2014-01-15 10:17:27 +01:00
Jan Steemann 2495b6e720 removed unused variables 2014-01-15 09:52:47 +01:00
Max Neunhoeffer 7aa29fda5b Merge Jan's changes and preliminary version of CreateDB. 2014-01-15 08:52:10 +01:00
Jan Steemann ee186c2c6b added locking check 2014-01-14 17:17:25 +01:00
Jan Steemann 3cf65cf228 added AgencyCommLocker.successful() method 2014-01-14 17:16:51 +01:00
Jan Steemann 56ab59dac6 watch for Plan changes 2014-01-14 16:43:44 +01:00
Jan Steemann 7803abe384 removed unused variables 2014-01-14 16:25:35 +01:00
Jan Steemann 2aba046c7d Merge branch 'sharding' of https://github.com/triAGENS/ArangoDB into sharding 2014-01-14 16:21:57 +01:00
Jan Steemann ce2627619e create collection stub 2014-01-14 16:21:48 +01:00
Max Neunhoeffer f7a9acf592 Merge branch 'sharding' of ssh://github.com/triAGENS/ArangoDB into sharding 2014-01-14 15:05:41 +01:00
Max Neunhoeffer fc96df2244 Separate out ConnectionManager from ClusterComm. 2014-01-14 15:04:55 +01:00
Jan Steemann 9c63246d1c added TRI_SHARDING_COLLECTION_NOT_IMPLEMENTED macro 2014-01-14 14:04:29 +01:00
Jan Steemann b1c4f75e50 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into sharding 2014-01-14 13:29:07 +01:00
Jan Steemann 4ec6f04932 return collection properties 2014-01-14 13:19:43 +01:00
Jan Steemann fde16194ff don't throw in propertygetter 2014-01-13 17:30:26 +01:00
Jan Steemann 30b866405e issue #732: Rest API GET revision number 2014-01-13 17:30:17 +01:00
Jan Steemann dc24a84a8b don't throw in propertygetter 2014-01-13 17:23:57 +01:00
Jan Steemann d52aaf8340 issue #732: Rest API GET revision number 2014-01-13 17:23:39 +01:00
Jan Steemann 9d7bd04d99 Merge branch 'sharding' of https://github.com/triAGENS/ArangoDB into sharding
Conflicts:
	arangod/Cluster/AgencyComm.cpp
2014-01-13 16:33:32 +01:00
Jan Steemann ffa919d716 some modifications for collection accessing 2014-01-13 16:32:40 +01:00
Max Neunhoeffer 8c8c0bff69 Create database in cluster done. 2014-01-13 15:07:32 +01:00
Jan Steemann 70ac8a4d1b tried to fix http 400 (agency error 401) 2014-01-13 14:47:32 +01:00
Jan Steemann 01df0fafab Merge branch 'sharding' of https://github.com/triAGENS/ArangoDB into sharding 2014-01-13 08:59:36 +01:00
Jan Steemann 0e9a28ccc7 added missing delete 2014-01-13 08:59:20 +01:00
Jan Steemann 7d11d1b172 updated documentation 2014-01-10 18:38:34 +01:00
Jan Steemann 0ae9a69c6a updated documentation 2014-01-10 18:38:25 +01:00
Jan Steemann e0aea2c04d updated documentation 2014-01-10 18:37:41 +01:00
Jan Steemann 6a19fbb18f updated documentation 2014-01-10 18:34:31 +01:00
Michael Hackstein 9f3479f5b6 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into sharding
Conflicts:
	utils/Makefile.files
2014-01-10 17:41:52 +01:00
Jan Steemann f95a0dc6c1 defer evaluation of subqueries 2014-01-10 16:45:36 +01:00
Jan Steemann fd334b14e1 fixed small typo in documentation 2014-01-10 16:45:20 +01:00
Jan Steemann 269e50eb8f defer evaluation of logical operators 2014-01-10 16:45:07 +01:00
Jan Steemann dc8fdf8ca0 defer evaluation of subqueries 2014-01-10 16:42:46 +01:00
Max Neunhoeffer 70977f2e8e Start of _createDatabase in cluster on coordinator.
Unfinished but compiles.
2014-01-10 12:22:29 +01:00
Jan Steemann d5383d2be8 fixed small typo in documentation 2014-01-10 11:00:05 +01:00
Jan Steemann 8277e7582c defer evaluation of logical operators 2014-01-10 10:58:30 +01:00
Max Neunhoeffer 709c2291f3 Fix bugs in etcd protection against _. 2014-01-10 09:00:35 +01:00
Max Neunhoeffer 7c80830b40 Protect _ in etcd keys. Does not work yet. 2014-01-09 16:17:53 +01:00
Max Neunhoeffer 57f18783c4 Implement asking for databases in a cluster. 2014-01-09 14:56:44 +01:00
Max Neunhoeffer 2f72a82927 Forgot one file in previous commit. 2014-01-09 14:56:21 +01:00
Max Neunhoeffer 65c3cc6484 Improve ClusterComm library by allowing to talk to DB servers directly. 2014-01-09 14:55:29 +01:00
Max Neunhoeffer e01ac6ff5b Delay loading of caches and add getDBServers. 2014-01-09 12:12:18 +01:00
Max Neunhoeffer bb52760884 Make ClusterInfo notice empty cluster databases. 2014-01-09 11:29:45 +01:00
Max Neunhoeffer ab9726f278 Rename getDatabases to listDatabases. 2014-01-08 16:12:24 +01:00
Max Neunhoeffer d9ca01c31d First stab at get info about cluster databases. 2014-01-08 16:09:43 +01:00
Jan Steemann 37f75b929f make endpoints() result unique 2014-01-08 13:41:06 +01:00
Jan Steemann 14f996817e Merge branch 'sharding' of https://github.com/triAGENS/ArangoDB into sharding 2014-01-08 11:34:38 +01:00
Jan Steemann 2ce97f4db8 don't let uniqid() queries pass without key parameter 2014-01-08 11:34:15 +01:00
Max Neunhoeffer fa96bb9b3d Transfer better error handling to JS_ShardingTest 2014-01-08 09:24:43 +01:00
Jan Steemann 5b965b2a21 added initialised() method 2014-01-07 17:50:52 +01:00
Jan Steemann bb7f550f7a for Michael... 2014-01-07 16:46:18 +01:00
Jan Steemann c6b79328f5 Merge branch 'sharding' of https://github.com/triAGENS/ArangoDB into sharding 2014-01-07 16:28:25 +01:00
Jan Steemann 9ce78430ac create collections, v0.0.0 2014-01-07 16:28:12 +01:00
Jan Steemann 45a5296e9e make agency.list() return a flat list if requested 2014-01-07 16:24:54 +01:00
Max Neunhoeffer e79698f456 Improve error handling. 2014-01-07 16:18:31 +01:00
Max Neunhoeffer c4332fe68c Merge branch 'sharding' of ssh://github.com/triAGENS/ArangoDB into sharding
Conflicts:
	init-cluster.sh
2014-01-07 14:25:14 +01:00
Max Neunhoeffer 38c24192ee Sending of synchronous requests in JavaScript done. 2014-01-07 14:24:27 +01:00
Jan Steemann 5a365cb2b1 removed shardLocation key 2014-01-07 14:00:27 +01:00
Max Neunhoeffer 80cec828b6 Fix two bugs. 2014-01-07 13:37:29 +01:00
Jan Steemann 0fdcd88770 changed internal structure of heartbeat value 2014-01-07 12:24:39 +01:00
Jan Steemann 13baa4d055 removed --cluster.heartbeat-interval, moved value to ETCD 2014-01-07 12:09:38 +01:00
Jan Steemann 1889fa52a0 Merge branch 'sharding' of https://github.com/triAGENS/ArangoDB into sharding 2014-01-07 11:57:55 +01:00
Jan Steemann 7c27a646f7 removed a few over-eager asserts 2014-01-07 11:57:42 +01:00
Jan Steemann 4f3cd8ffc9 hide an object 2014-01-07 11:57:34 +01:00
Max Neunhoeffer eccb063eba Fix name of global object ArangoClusterComm. 2014-01-07 11:56:06 +01:00
Max Neunhoeffer 11e018e6b2 Make global ArangoClusterComm object in each thread. 2014-01-07 11:50:05 +01:00
Max Neunhoeffer bbf28e3501 Merge branch 'sharding' of ssh://github.com/triAGENS/ArangoDB into sharding
Conflicts:
	arangod/Cluster/v8-cluster.cpp
2014-01-07 11:45:43 +01:00
Max Neunhoeffer e30c965a4c Add JS_Wait function for ClusterComm in JavaScript. 2014-01-07 11:35:10 +01:00
Max Neunhoeffer cc8bb892fd Slightly change documentation of API for ClusterComm::wait() 2014-01-07 11:34:54 +01:00
Jan Steemann 3183e6d402 created global cluster object variables 2014-01-07 11:34:42 +01:00
Max Neunhoeffer 566c94be95 Fix double delete bug. 2014-01-07 11:33:20 +01:00
Jan Steemann 3309743c1a moved some collection parameters around 2014-01-07 11:02:49 +01:00
Max Neunhoeffer 5747d6149f Merge branch 'sharding' of ssh://github.com/triAGENS/ArangoDB into sharding 2014-01-07 08:45:21 +01:00
Jan Steemann 5c0e6e12e0 added tests for serverstate and clusterinfo 2014-01-06 18:19:14 +01:00
Max Neunhoeffer 807bf46188 Merge branch 'sharding' of ssh://github.com/triAGENS/ArangoDB into sharding
Conflicts:
	arangod/Cluster/v8-cluster.cpp
2014-01-06 16:20:45 +01:00
Max Neunhoeffer 33d063d6d6 Start to move ClusterComm to JavaScript. 2014-01-06 16:18:24 +01:00
Jan Steemann 7fcabc2cbf Merge branch 'sharding' of https://github.com/triAGENS/ArangoDB into sharding 2014-01-06 13:18:12 +01:00
Jan Steemann 4de2b916c4 added test for uniqid 2014-01-06 13:18:01 +01:00
Jan Steemann 6e066f4d8e allow user functions as AQL function call parameters 2014-01-06 12:58:26 +01:00
Jan Steemann 3679fdfe68 allow user functions as AQL function call parameters 2014-01-06 12:57:03 +01:00
Max Neunhoeffer 7c17c1c6e4 Follow coding guidelines in ClusterComm 2014-01-06 12:25:41 +01:00
Max Neunhoeffer 30415c6a73 Cleanup conversion C++ <-> Javascript of HttpRequest/HttpResponse. 2014-01-06 11:40:49 +01:00
Jan Steemann 02a84a4f92 allow functions results as parameters in all function calls 2014-01-06 11:15:48 +01:00
Jan Steemann ca1e6288a2 allow functions results as parameters in all function calls 2014-01-06 11:14:54 +01:00
Jan Steemann b3ed54f95b fixed warnings reported by cppcheck 2014-01-03 19:28:15 +01:00
Jan Steemann 7baf040368 fixed doxygen error 2014-01-03 19:09:26 +01:00
Jan Steemann 5571698555 serialize/unserialize collection data from agency 2014-01-03 19:04:50 +01:00
Jan Steemann 15c78c23b0 some style corrections 2014-01-03 15:21:07 +01:00
Jan Steemann c249d98dfb Merge branch 'sharding' of https://github.com/triAGENS/ArangoDB into sharding 2014-01-03 15:19:22 +01:00
Jan Steemann 3176c772cf allow locking/unlocking of arbitrary keys 2014-01-03 15:18:48 +01:00
Max Neunhoeffer f0cb458e9d Merge branch 'sharding' of ssh://github.com/triAGENS/ArangoDB into sharding 2014-01-03 15:11:48 +01:00
Max Neunhoeffer 3a0e814393 Use AgencyComm locks throughout. 2014-01-03 15:11:31 +01:00
Jan Steemann 84c46ddb4d added agency.list() 2014-01-03 15:11:03 +01:00
Max Neunhoeffer f09cdcf292 Bad state. 2014-01-03 14:10:35 +01:00
Max Neunhoeffer d50d4d019f Merge branch 'sharding' of ssh://github.com/triAGENS/ArangoDB into sharding 2014-01-03 14:08:08 +01:00
Max Neunhoeffer bf60888efe Start work on ClusterInfo. 2014-01-03 14:07:56 +01:00
Jan Steemann a4efa9fe1b Merge branch 'sharding' of https://github.com/triAGENS/ArangoDB into sharding 2014-01-03 13:53:08 +01:00
Jan Steemann 532a59d0a3 added agency locks 2014-01-03 13:52:54 +01:00
Jan Steemann 91c52a3a2e fixed potential deadlock in global context execution 2014-01-03 13:47:11 +01:00
Jan Steemann ef84ba6705 fixed potential deadlock in global context execution 2014-01-03 13:45:43 +01:00
Jan Steemann e1dd2cb4db allow \n as line terminator in batch requests 2014-01-03 12:12:40 +01:00
Max Neunhoeffer 2a0c85bc07 Finish documentation of ClusterComm test API call.
Also fix bug in synchronous mode test.
2014-01-03 11:36:05 +01:00
Max Neunhoeffer 6c36c268f0 Improve debugging output of ClusterComm asynchronous requests. 2014-01-03 09:36:37 +01:00
Max Neunhoeffer 9598983051 Rename ClusterState to CluesterInfo. 2014-01-03 08:58:50 +01:00
Jan Steemann 87c1897c23 added lock and unlock functions, yet untested 2014-01-02 18:03:08 +01:00
Jan Steemann c48d54c49b conditional execution of agency tests 2014-01-02 17:22:37 +01:00
Jan Steemann b07ad28c35 added caching function to generate ids 2014-01-02 17:16:44 +01:00
Jan Steemann f952fd8bc0 added uniqid function to generate IDs 2014-01-02 16:37:11 +01:00
Jan Steemann 22d18e24c5 renamed etcd keys 2014-01-02 15:45:58 +01:00
Jan Steemann d1bee4cf58 added functions to query the server state 2014-01-02 15:13:44 +01:00
Jan Steemann 7980a51e26 moved cluster JS functions to its own files 2014-01-02 13:49:00 +01:00
Jan Steemann 8070db37a2 changed heartbeat watch implementation 2014-01-02 13:36:26 +01:00
Max Neunhoeffer 95f94397b0 Add synchronous request to ClusterComm. 2013-12-30 23:21:41 +01:00