1
0
Fork 0
Commit Graph

477 Commits

Author SHA1 Message Date
Simon Grätzer 13f19fe51b Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
# Conflicts:
#	arangod/CMakeLists.txt
#	arangod/RestServer/arangod.cpp
#	arangod/Utils/ExplicitTransaction.h
#	arangod/V8Server/v8-collection.cpp
2017-02-02 11:25:23 +01:00
Simon Grätzer 97473e3223 Spelling fixes, reduce log spam 2017-01-31 16:42:17 +01:00
Simon Grätzer cec711bc85 Fixed test 2017-01-31 14:13:58 +01:00
Simon Grätzer 64343cd579 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
# Conflicts:
#	scripts/startLocalCluster.sh
2017-01-27 15:58:22 +01:00
jsteemann d7b131852c factored out transaction hints 2017-01-25 13:12:09 +01:00
jsteemann 00b1632ece factored out AccessMode from transaction.h 2017-01-25 11:57:21 +01:00
jsteemann a812e69ce7 Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api 2017-01-25 09:41:26 +01:00
Andreas Streichardt d91a6af1a7 Remove singletransaction and fetch collection from vocbase directly 2017-01-24 18:51:05 +01:00
jsteemann 7fedb4e956 moved files into engine directory 2017-01-23 13:52:57 +01:00
Michael Hackstein 92ad574c97 Moved Indexes to StorageEngine 2017-01-23 13:32:23 +01:00
jsteemann 952c3f848e factored out transaction manager from logfile manager 2017-01-23 12:31:45 +01:00
jsteemann f9fb701505 moved LogfileManager into engine 2017-01-23 10:30:55 +01:00
Simon Grätzer 1bd1a52163 Fixed pregel API 2017-01-21 19:00:37 +01:00
Simon Grätzer dd14b7b2dd Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-01-20 15:56:11 +01:00
Kaveh Vahedipour d2760f4ef1 pushing avoidServers property 2017-01-20 15:15:03 +01:00
Simon Grätzer d71ebf7c1d Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-01-20 14:42:19 +01:00
Kaveh Vahedipour 648160c68a Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-01-20 09:35:45 +01:00
Kaveh Vahedipour a372cf71b4 avoidServers getting there 2017-01-20 09:35:42 +01:00
Kaveh Vahedipour 40c6e2b48c unobserve should not create entries in agency, if empty before 2017-01-20 08:06:27 +01:00
Andreas Streichardt 5a101ed6f0 Fix unloading collections 2017-01-19 17:05:41 +01:00
Andreas Streichardt a9ccdf86c1 Several movement fixes 2017-01-18 17:48:01 +01:00
Simon Grätzer 1d66c418b6 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
# Conflicts:
#	arangod/CMakeLists.txt
2017-01-16 17:56:44 +01:00
Andreas Streichardt 10d3bd2200 Merge branch 'devel' into schmutz-ng 2017-01-16 15:22:17 +01:00
jsteemann cdabaa931f renaming 2017-01-16 14:48:13 +01:00
Max Neunhoeffer fe9116f7fb More Schmutz-NG.
Does not trigger sync repl yet.
2017-01-12 16:33:57 +01:00
Simon Grätzer b7143906f5 Various changes 2017-01-10 11:15:05 +01:00
Simon Grätzer 59b9167728 Fixed aync mode 2016-12-23 00:20:38 +01:00
Simon Grätzer 97a219da76 Changed document counting 2016-12-21 23:21:23 +01:00
Simon Grätzer b92aef1b7f Small fixes 2016-12-21 11:56:24 +01:00
Simon Grätzer e4951835aa Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-12-14 10:40:03 +01:00
jsteemann 4d76ef962b added count(details = true) for sharded collections 2016-12-13 16:03:49 +01:00
Simon Grätzer 730ea4755e Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
# Conflicts:
#	scripts/startLocalCluster.sh
2016-12-09 14:30:19 +01:00
Andreas Streichardt 82682f8d25 Wait for synchronous replication to settle 2016-12-07 18:38:15 +01:00
Andreas Streichardt 11bd9381d5 Add satellite collections 2016-12-06 16:40:50 +01:00
Simon Grätzer 7d7474f6fd Structural changes, Algorithm registry, begin with optimistic recovery 2016-12-01 14:10:52 +01:00
Simon Grätzer 9bcf8cd407 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-11-25 12:30:39 +01:00
Simon Grätzer 273c906415 New Features 2016-11-25 12:27:24 +01:00
jsteemann 817933c77b bugfixes for sync replication and collection status in cluster 2016-11-24 17:00:57 +01:00
Simon Grätzer 6c6c2a092d Multiple edge collections 2016-11-18 22:02:13 +01:00
Simon Grätzer 9b1a11e68f Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-11-18 14:44:29 +01:00
jsteemann f74fe77a40 fix startup 2016-11-17 17:18:18 +01:00
Simon Grätzer 8e16011c67 Adding RangeIterator 2016-11-16 14:47:30 +01:00
Simon Grätzer c97a0b825c Runtime Statistics, fix in javascript 2016-11-16 11:09:09 +01:00
Simon Grätzer 84ca321fe5 Fixed javascript API 2016-11-15 23:19:44 +01:00
Simon Grätzer 4b3a5a414e More js APIs 2016-11-15 21:19:36 +01:00
Simon Grätzer 524878d242 Fixed aggregators 2016-11-11 12:01:15 +01:00
Simon Grätzer ecc8e29314 Working SSSP 2016-11-09 16:50:31 +01:00
Simon Grätzer 66137e4789 Working multiple collections 2016-11-08 13:45:44 +01:00
Simon Grätzer 034bc41729 Aggregators continued 2016-11-08 11:34:40 +01:00
Simon Grätzer 64817db293 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-11-04 11:55:17 +01:00
Michael Hackstein c6f31091bc In the properties of a collection now distributeShardsLike is contained. 2016-11-03 10:55:22 +01:00
Simon Grätzer 1c0253e5dc Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-11-03 00:12:56 +01:00
Simon Grätzer b2819b418a multiple collections 2016-11-03 00:10:36 +01:00
jsteemann cfc9ecd198 fix Visual Studio complaints 2016-10-31 09:59:18 +01:00
Simon Grätzer 8463c41540 Working template version 2016-10-28 20:01:06 +02:00
jsteemann 7efabd3706 fix revision id handling 2016-10-28 13:44:55 +02:00
jsteemann 09e1fda1a0 fix revision id handling 2016-10-24 17:24:27 +02:00
Simon Grätzer ba437cab71 Included support for multiple shards 2016-10-13 16:41:17 +02:00
Simon Grätzer f67acf39be Introduced PregelFeature 2016-10-13 13:31:19 +02:00
Simon Grätzer 7d07b4930e Zwischenstand 2016-10-12 14:01:21 +02:00
Simon Grätzer 1b351ba138 Further improvements 2016-10-08 00:56:24 +02:00
Simon Grätzer 742450f948 Some more fixes 2016-10-07 16:22:38 +02:00
Simon Grätzer d6dc8e776d Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-10-07 11:52:20 +02:00
Simon Grätzer a95ef5ed53 Finished implementation 2016-10-07 11:51:15 +02:00
Kaveh Vahedipour 9f1501e2e6 type in v8-collection 2016-10-05 13:49:02 +02:00
Kaveh Vahedipour ca92128104 typo in v8-collection 2016-10-05 13:44:13 +02:00
Kaveh Vahedipour a44f873cfa load() and unload() in smart graphs 2016-10-05 13:06:50 +02:00
Kaveh Vahedipour 9d3214c539 minor 2016-10-04 15:31:32 +02:00
Max Neunhoeffer 0698065d63 Fix memory leaks around LogicalCollection. 2016-10-04 11:56:35 +02:00
Simon Grätzer c927c3aa15 Initial Pregel try 2016-10-03 18:08:06 +02:00
Max Neunhoeffer 5cd913e003 Fix error handling for ClusterInfo::getCollection. 2016-09-30 14:11:46 +02:00
Max Neunhoeffer db021508da Fix virtual cloning of LogicalCollections and derived types. 2016-09-28 21:05:29 +02:00
Max Neunhoeffer dc706712b1 Silence a compiler warning in enterprise mode. 2016-09-28 16:23:58 +02:00
Kaveh Vahedipour da0f624088 Adding Smart Edge Collection drops to v8-vocbase 2016-09-28 15:50:53 +02:00
Frank Celler eed90fc588 fixed cppcheck warnings 2016-09-09 15:08:48 +02:00
jsteemann 68ebbabe17 delete unused collection directories 2016-09-06 14:40:31 +02:00
jsteemann 1823cff3a9 removed TRI_collection_t 2016-09-02 14:54:13 +02:00
jsteemann 3909103193 privatized some members 2016-09-02 13:10:17 +02:00
jsteemann 4839d65b36 moved things out of TRI_collection_t 2016-09-02 11:56:48 +02:00
jsteemann 5524b25800 removed VocbaseCollectionInfo 2016-09-02 09:41:36 +02:00
jsteemann e69a82a2a7 refactoring 2016-09-02 08:44:31 +02:00
Michael Hackstein 3c851f8687 Added proper error handling for collection not found in V8 2016-09-01 17:42:27 +02:00
jsteemann 4cef5d86fb Merge branch 'devel' of https://github.com/arangodb/arangodb into generic-col-types 2016-09-01 09:06:15 +02:00
jsteemann 7dfaf0d3f4 remove superfluous _infoLock 2016-08-30 11:54:04 +02:00
Michael Hackstein 82edb8707a Merge branch 'generic-col-types' of github.com:arangodb/arangodb into generic-col-types 2016-08-30 10:12:36 +02:00
Michael Hackstein 7cf7b89c6d Removed more usage of VocbaseCollectionInfo and replaced it by LogicalCollection. It's getting better now. State still not green. 2016-08-29 18:44:34 +02:00
jsteemann 31809ac283 fixes for revision id 2016-08-29 17:06:07 +02:00
jsteemann 9e708112a6 privatize some TRI_datafile_t internals 2016-08-29 15:43:03 +02:00
Michael Hackstein e444332def Removed all references to _info in TRI_collection_t. This commit does not start. Constructor is broken. 2016-08-29 10:44:31 +02:00
jsteemann f5972cc701 moved _keyGenerator 2016-08-26 16:34:21 +02:00
Michael Hackstein 0985e7fc88 Merge branch 'engine-vs-velocystream' of github.com:arangodb/arangodb into generic-col-types 2016-08-26 12:52:41 +02:00
jsteemann 6150da7420 remove function pointers from TRI_datafile_t, added constructor and destructor 2016-08-26 09:08:24 +02:00
Michael Hackstein b01a7ac0d5 Merge branch 'engine-vs-velocystream' of github.com:arangodb/arangodb into generic-col-types 2016-08-26 08:02:54 +02:00
Michael Hackstein 7d6402b15c Fixed soem crashes and undefined behaviuor. Server does not crash during tests, however a lot of them are still red 2016-08-25 14:51:03 +02:00
jsteemann 396ab41736 allow dropping system collections in some rare cases 2016-08-25 12:47:06 +02:00
Michael Hackstein 1f3dabc8e1 Merge branch 'engine-vs-velocystream' of github.com:arangodb/arangodb into generic-col-types 2016-08-25 11:08:39 +02:00
Michael Hackstein 2af30f056d Moved index creation to use LogicalCollection instead of TRI_collection_t. Involved changes of the constructor, all can now be created using iid and Slice. Removed specialized functions to create/find indixes in v8-voc index. Also the iteration is modified. This commit compiles but tests will fail. Merge commit. 2016-08-25 09:57:36 +02:00
jsteemann c5f847a912 fix figures and volatile collection counts 2016-08-24 14:35:55 +02:00
jsteemann 7794b76b33 intermediate commit 2016-08-24 10:54:47 +02:00
Mark 3bd5c27c0c changes for Visual Studio 2016-08-19 17:22:57 +02:00
Michael Hackstein 5f807900d7 Implemented updated of LogicalCollectionInfo. Right now this is only used in Cluster Mode 2016-08-19 11:14:23 +02:00
Michael Hackstein 793a157b16 Fixed Cluster constructor of logical collection. 2016-08-18 15:18:12 +02:00
Michael Hackstein d3ba488271 Merge branch 'engine-vs-velocystream' of github.com:arangodb/arangodb into generic-col-types 2016-08-18 12:38:07 +02:00
Michael Hackstein bb91925903 Readded temporary logical collections in cluster. Otherwise it is entirely unclear when which collection has to be deleted. 2016-08-18 11:38:16 +02:00
jsteemann 0d20651614 centralize functionality 2016-08-17 15:11:45 +02:00
Michael Hackstein cd9a2e14b6 Fixed all single-server tests. Cluster state is not yet fixed. Still needs some internal cleanup 2016-08-17 14:43:57 +02:00
Michael Hackstein 21335bb398 Merge branch 'engine-vs-velocystream' of github.com:arangodb/arangodb into generic-col-types 2016-08-17 11:23:04 +02:00
Michael Hackstein 17a6da8afb Removed all references on TRI_vocbase_col_t and replaced them by LogicalCollection class. Not everything is properly moved and implemetned yet. This commit causes crashes. 2016-08-17 11:10:39 +02:00
jsteemann 803a3c84ce removed unused version attribute 2016-08-16 17:21:59 +02:00
Michael Hackstein 14e0411a87 Merge branch 'engine-vs-velocystream' of github.com:arangodb/arangodb into generic-col-types 2016-08-16 10:29:26 +02:00
jsteemann 1ec14d0bba privatize attributes 2016-08-15 15:47:39 +02:00
jsteemann ae40ea5450 finally fixed some nasty bugs after refactoring 2016-08-15 14:26:09 +02:00
Michael Hackstein 94ca36fdb2 Removed cluster-wide CollectionInfo and replaced it with a logical collection. The Logical collection shall be always available, in cluster and single server. 2016-08-15 09:08:24 +02:00
Michael Hackstein 796151ec19 Fixed a false nullptr assertion and removed dead code 2016-08-12 15:05:08 +02:00
Michael Hackstein fe4fcee9e2 Added some assertions for nullptr when acessing TRI_collection_t 2016-08-11 15:36:36 +02:00
jsteemann 95ac01313b privatization 2016-08-04 17:06:51 +02:00
jsteemann 5d640b7144 fixed tests 2016-08-04 13:32:54 +02:00
jsteemann 3664511e36 privatize vocbase methods 2016-08-02 13:49:22 +02:00
jsteemann 885eb525c6 Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache 2016-07-29 17:49:06 +02:00
jsteemann d92f15aeed entirely removed TRI_document_collection_t 2016-07-29 17:48:51 +02:00
Max Neunhoeffer 1bdf0ded43 Fix a bug in <coll>.replace() with isRestore and _rev. 2016-07-29 17:22:12 +02:00
jsteemann 59ed0a902c refactoring 2016-07-29 17:07:16 +02:00
jsteemann 329b733090 moved dropCollection into TRI_vocbase_t 2016-07-28 13:14:12 +02:00
jsteemann b3bdd3a66a more refactoring 2016-07-28 11:47:20 +02:00
jsteemann b71e12f6a0 some vocbase refactoring 2016-07-28 11:06:21 +02:00
jsteemann 31407c3561 refactoring 2016-07-27 17:15:52 +02:00
jsteemann 10a60b5458 refactoring 2016-07-27 15:40:25 +02:00
jsteemann 26ce0c6936 some collection handling refactoring 2016-07-27 13:12:26 +02:00
jsteemann 89e0c11b44 refactoring 2016-07-26 16:25:38 +02:00
jsteemann 2aa2e0dab4 removed server.h 2016-07-25 16:49:52 +02:00
jsteemann a0f0055b6f moved all database management functions into DatabaseFeature 2016-07-25 15:48:37 +02:00
jsteemann f373a2c327 removed TRI_vocbase_defaults_t 2016-07-18 16:55:25 +02:00
jsteemann f6268f5c9d sort collection names 2016-06-15 23:18:04 +02:00
Max Neunhoeffer c6bf02a245 Honour isRestore option in <coll>.insert, <coll>.replace and <coll>.update. 2016-06-10 10:29:00 +02:00
Frank Celler 1e25e5d262 Merge branch 'devel' of https://github.com/arangodb/arangodb into FMH
Conflicts:
	arangod/Cluster/HeartbeatThread.cpp
	arangod/RestServer/RestServerFeature.cpp
2016-06-01 16:25:13 +02:00
Frank Celler 963449d5f7 WIP 2016-06-01 13:37:13 +02:00
Max Neunhoeffer 4a4472e31e Repair DBServerAgencySync in background.
Also: Notice role change follower->leader.
2016-05-25 17:27:27 +02:00
jsteemann 7080f8293d various AQL changes
added behavior of TO_STRING() for arrays and objects
added C++ implementation for CONTAINS() function
added memmem implementation for Windows
2016-05-23 17:10:15 +02:00
jsteemann 08955341a7 datafile management fixes 2016-05-18 11:29:06 +02:00
Andreas Streichardt 4d13e8fb1b _listDatabases() => _databases() 2016-05-11 15:30:47 +02:00
Max Neunhoeffer 5690c0410c Remove option replicationQuorum which was unused as of now. 2016-05-06 09:53:01 +02:00
Kaveh Vahedipour c6ab722f97 corrected for cluster shell agency test 2016-05-03 15:01:52 +02:00
Kaveh Vahedipour 00ce93b8d0 Merge branch 'devel' of https://github.com/arangodb/arangodb into json_agency_comm 2016-05-02 16:14:37 +02:00
jsteemann 7cd90ae711 micro optimizations 2016-05-01 14:13:53 +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
Kaveh Vahedipour 4ab02dda5f fixed collection unload issue on coordinator 2016-04-29 15:23:20 +00:00
Kaveh Vahedipour 86959d83a6 Merge branch 'devel' of https://github.com/arangodb/arangodb into json_agency_comm 2016-04-29 16:29:05 +02:00
Kaveh Vahedipour 77bd64aa32 go go go 2016-04-29 16:14:55 +02:00
jsteemann 3a92773685 use StaticStrings 2016-04-29 15:18:20 +02:00