1
0
Fork 0
Commit Graph

392 Commits

Author SHA1 Message Date
Michael Hackstein d6a21b20e3 Fixed creation of keyGenerator. It was not extracted correctly from the parameters 2016-08-30 13:31:53 +02:00
Michael Hackstein 294fa10e14 Merge branch 'generic-col-types' of github.com:arangodb/arangodb into generic-col-types 2016-08-30 13:08:40 +02:00
Michael Hackstein 2f7f3e0fe0 Fixed creation of system collections without System name 2016-08-30 13:05:33 +02:00
jsteemann 7dfaf0d3f4 remove superfluous _infoLock 2016-08-30 11:54:04 +02:00
Michael Hackstein 9c0382ed19 Now also the journalSize is checked if it is too small. Also reverted report message for isVolatile to be equal to the pre 3.1 message. 2016-08-30 11:18:36 +02:00
Michael Hackstein 5f067cb1fb Fixed creation of volatile collections. They can now again not waitForSync at the same time. 2016-08-30 11:11:25 +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 b9f8709104 renamed GeoIndex2 to GeoIndex 2016-08-29 13:02:07 +02:00
jsteemann b3ef2c8206 fix some leaks 2016-08-29 12:48:02 +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 e8c8f286cb cleanup 2016-08-29 08:53:23 +02:00
jsteemann f5972cc701 moved _keyGenerator 2016-08-26 16:34:21 +02:00
Michael Hackstein f473badc24 Fixed a bug where reloading a collection created an addition primary index. 2016-08-26 15:52:38 +02:00
Michael Hackstein b040edd9b4 Merge branch 'generic-col-types' of github.com:arangodb/arangodb into generic-col-types 2016-08-26 15:35:56 +02:00
Michael Hackstein 1082963da0 Logical collection does not throw V8 exception any more. 2016-08-26 15:35:53 +02:00
jsteemann 40a07c1e4d assert that there are no indexes when primary and edge index are added 2016-08-26 15:27:13 +02:00
Michael Hackstein 4349c62773 Fixed index creation if an index id is given. 2016-08-26 14:58:14 +02:00
Michael Hackstein 957f20c4b5 Indexes should now be unloaded on onload instead of deleted. 2016-08-26 14:15:09 +02:00
Michael Hackstein d546d2acf0 Fixed index mathces definition, special cases. 2016-08-26 14:00:37 +02:00
Michael Hackstein 1c883a811c Potential fix for unload->load. Needs to be validated. 2016-08-26 12:35:33 +02:00
Michael Hackstein b31cf711b9 Now properly fill the indexes when creating a new one. Also slight modifiaction of drop 2016-08-26 10:11:29 +02:00
Michael Hackstein e75567dae5 Further fixes for tests: Fixed unitialized count. Fixed some false CORRUPTED_COLLECTION states. 2016-08-26 08:02:34 +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
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
jsteemann 817fa1cdf4 Merge branch 'engine-vs-velocystream' of https://github.com/arangodb/arangodb into readcache 2016-08-23 12:04:31 +02:00
Mark 3bd5c27c0c changes for Visual Studio 2016-08-19 17:22:57 +02:00
jsteemann 9f424553ca stub implementation for engine-specific collections 2016-08-19 15:19:23 +02:00
jsteemann eadf5ac842 use anonymous namespace 2016-08-19 13:55:57 +02:00
jsteemann 59e65b060c cppcheck 2016-08-19 13:51:48 +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 82bc34db4d The logical colleciton now knows it's journalSize 2016-08-19 10:21:15 +02:00
Michael Hackstein 793a157b16 Fixed Cluster constructor of logical collection. 2016-08-18 15:18:12 +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
Michael Hackstein dce3cf412d Removed warnings. 2016-08-17 15:57:33 +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 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
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 79fd589ac0 Added the first files for the LogicalCollections that are available in Cluster and Locally. All operations should use these logical collections. 2016-08-12 15:06:43 +02:00