1
0
Fork 0
Commit Graph

6184 Commits

Author SHA1 Message Date
Michael Hackstein 2bcef2e03b Added a function that recursivly allocates and fills index_elements if one or more paths have to be expanded. 2015-08-18 09:09:36 +02:00
Jan Steemann 338dd7e100 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-08-17 18:41:13 +02:00
Jan Steemann 4e771b2728 replication improvements 2015-08-17 18:41:05 +02:00
Jan Steemann ffe4fb556b pacify VS 2015-08-17 17:05:52 +02:00
Michael Hackstein b0df08822f Removed obsolete function for HashIndex insertion 2015-08-17 16:10:43 +02:00
Michael Hackstein 33c3c0474e Removed obsolte header file in old hashindex 2015-08-17 16:04:18 +02:00
Michael Hackstein e867181a72 Merge remote-tracking branch 'origin/eimerung_hashindex' into array_indexing 2015-08-17 15:58:53 +02:00
Jan Steemann 22cff81a5c added status methods for logfiles 2015-08-17 15:04:26 +02:00
Max Neunhoeffer 6ac0913dbe Adapt to changed VocShaper. 2015-08-17 12:57:52 +02:00
Max Neunhoeffer f279bf5778 Fix unit tests with latest hash index changes. 2015-08-17 12:57:52 +02:00
Max Neunhoeffer dac7fb06e0 Finish change to hash index. Compiles, unit-tests still broken in one place. 2015-08-17 12:57:52 +02:00
Max Neunhoeffer 5fe46dbcb9 Some more changes. Not yet through. 2015-08-17 12:57:52 +02:00
Max Neunhoeffer 7217111192 First step for hashindex, this revision is broken.
Changes are only done half-way.
2015-08-17 12:57:52 +02:00
Michael Hackstein 0baf8143d9 Fixed a bug in the usage of HashIndex tables, with the new index element. 2015-08-17 12:43:14 +02:00
Michael Hackstein 33935db4b6 Attribtue missing will not be returned when inserting elements into the index any more. 2015-08-17 12:43:14 +02:00
Michael Hackstein ae989cf2ca Skiplist index now uses the unified index_element. 2015-08-17 12:43:14 +02:00
Michael Hackstein 1d774ade12 Removed hash_index_element and used the unified index_element instead. Also moved allocation of a new index entry closer to the spot where it is actually filled. This allows for lazy allocation. 2015-08-17 12:43:14 +02:00
Michael Hackstein 8a4ce5bb8b Added a new general purpose index_element 2015-08-17 12:43:13 +02:00
Michael Hackstein 5a5d1de7ea Moved the insertion of elements into an indox to the super class. Is only used for Skiplist and Hash. Might probably be used by other indicies later 2015-08-17 12:43:13 +02:00
Michael Hackstein d69c9a920e Fixed an issue with expanded attribteus to pid strings 2015-08-17 12:43:13 +02:00
Jan Steemann 453aa78633 use std::vector 2015-08-17 12:43:13 +02:00
Max Neunhoeffer 1ba7587fc0 Rename ThreadProtector to DataProtector. 2015-08-17 12:43:12 +02:00
Jan Steemann 56231413be use unique_ptr 2015-08-17 12:43:12 +02:00
Jan Steemann a8428877e7 some cleanup 2015-08-17 12:43:12 +02:00
Jan Steemann 28da1d5066 use std::vector 2015-08-17 12:43:11 +02:00
Michael Hackstein 8e3e2d547d Do not push <Class const> into vector. It does not work everywhere 2015-08-17 12:43:11 +02:00
Jan Steemann 98106510d2 remove CONST_CAST helper 2015-08-17 12:43:11 +02:00
Max Neunhoeffer 43a4ba0285 Delete a TRI_vector_t usage. 2015-08-17 12:43:10 +02:00
Jan Steemann fc900b6451 remove compiler warning 2015-08-17 12:43:10 +02:00
Max Neunhoeffer aac9f393d8 Fix bugs with database lists on coordinator. 2015-08-17 12:43:10 +02:00
Jan Steemann 205d1e73ed fix Visual Studio compile errors 2015-08-17 12:43:09 +02:00
Michael Hackstein d7d00a5d0d Fixed index comparision with multiple components. Introduced by AttributeName format. 2015-08-17 12:43:09 +02:00
Max Neunhoeffer a18faae89f Untemplatify ThreadProtector for those with gcc < 4.9.2.
We will revert this later once everybody has gcc >= 4.9.2.
2015-08-17 12:43:09 +02:00
Jan Steemann ba84a982b6 use unique_ptr 2015-08-17 12:43:09 +02:00
Jan Steemann 907e6368c6 some unused function cleanup 2015-08-17 12:43:09 +02:00
Jan Steemann 5494563601 removed forward for non-existing type 2015-08-17 12:43:08 +02:00
Michael Hackstein c2338d80d0 A user can now create an indux on attribute[*] which will put an index on attribute and ignores the expand flag. Does not harm any feature in AQL now. 2015-08-17 12:43:08 +02:00
Max Neunhoeffer d474c31513 Use ThreadProtector for lists of databases. 2015-08-17 12:43:07 +02:00
Michael Hackstein 17a8f73a06 Now the input for indexes is parsed using the new attribute parser. This means the flags for expanded Attributes are set. Also introduced a transformation function to transform an attributeName list back into a string. 2015-08-17 12:43:07 +02:00
Jan Steemann 40aab297fb remove useless reserve 2015-08-17 12:43:06 +02:00
Jan Steemann cc42bd1c85 log logfiles location on startup 2015-08-17 12:43:06 +02:00
Jan Steemann a775195737 fixed potential value overruns 2015-08-17 12:43:06 +02:00
Michael Hackstein 8fbb2739b0 The indexes can now use the new AttributeName struct which contains a flag if the attribute should be Array-Indexed. Right now this flag is hard-coded to false in all cases and not persisted. 2015-08-17 12:43:05 +02:00
Jan Steemann 91ac382c33 fixed invalid iterator 2015-08-17 12:43:05 +02:00
Jan Steemann c245f103e1 no explicit make_pair 2015-08-17 12:43:05 +02:00
Jan Steemann d0fd1ea373 use unique_ptr 2015-08-17 12:43:05 +02:00
Jan Steemann 46565e4daf fix parallel insertion 2015-08-17 12:43:05 +02:00
Jan Steemann 171119ed01 hold write lock on databases less often 2015-08-17 12:43:04 +02:00
Aurelijus Banelis 9c7c1ad88b Documentation: include createEdgeCollection in example
As it is useful for newcomer to know, how to create "vertex" and "relation".
It is first example, so all inforamtion should be included to try example.
2015-08-16 18:57:12 +03:00
Aurelijus Banelis cd9df3460e Documentation: Example of user data in _createDatabase 2015-08-15 22:22:27 +03:00
Jan Steemann 95a346edd2 fix leak 2015-08-14 18:17:22 +02:00
Jan Steemann 12d2a754fa remove unused header 2015-08-14 18:17:05 +02:00
Jan Steemann 18ba2d5659 fail if a task with non-parsable code is registered 2015-08-14 11:56:54 +02:00
Jan Steemann 7a7e14556f fix v8 assertion 2015-08-14 11:39:01 +02:00
Jan Steemann 006bf3d2c1 Revert "fix assertion"
This reverts commit 9e1ffac077452187acd4d652b4480495f4a2b608.
2015-08-14 11:37:39 +02:00
Jan Steemann 0aa3bb6104 fix assertion 2015-08-14 11:37:00 +02:00
Jan Steemann e754f0c3f0 cppcheck 2015-08-14 01:23:17 +02:00
Jan Steemann 57e9b55739 use TRI_CHAR_NODE_PAIR() 2015-08-14 00:54:59 +02:00
Jan Steemann e1bdca6997 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-08-13 15:48:57 +02:00
Willi Goesgens 662b3e76c7 Unify the usage of docublocks for the foxx-queues 2015-08-13 15:44:38 +02:00
Jan Steemann fe6d67daf4 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-08-13 15:40:35 +02:00
Willi Goesgens 209cbc9768 Move documentation into the source. 2015-08-13 15:37:43 +02:00
Jan Steemann 5b82096145 honor indexBuckets attribute in restore operation of collection 2015-08-13 15:37:32 +02:00
Jan Steemann dc1910e331 added AQL optimizer rule `patch-update-statements` 2015-08-13 13:02:47 +02:00
Jan Steemann 7c05077668 indentation 2015-08-12 23:40:25 +02:00
Jan Steemann e62974240b allow termination of current shell command 2015-08-12 21:39:16 +02:00
Jan Steemann 7b5ac63591 cppcheck 2015-08-12 21:37:28 +02:00
Jan Steemann f6f10dbd45 removed uncalled functions 2015-08-12 19:46:25 +02:00
Frank Celler 4a9d775061 cleanup 2015-08-12 17:54:15 +02:00
Frank Celler 9de6bd39db moved to strings, fixed #1432: arangosh doesn't ignore prefixed ....> on paste 2015-08-12 17:54:14 +02:00
Willi Goesgens bbb8198d2b Add a @brief to all descriptions, remove stray markup. 2015-08-12 16:58:06 +02:00
Willi Goesgens ff8e9e7e0d Merge branch 'devel' of github.com:arangodb/ArangoDB into devel 2015-08-12 11:12:38 +02:00
Willi Goesgens bfab367e3d Examplify docu. 2015-08-12 11:12:15 +02:00
Willi Goesgens e66b5907f6 Add examples to database basics 2015-08-12 11:11:30 +02:00
Jan Steemann 9fedf740ec Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-08-12 10:56:51 +02:00
Jan Steemann 85b1fe8419 pacify VS 2015-08-12 10:56:39 +02:00
Max Neunhoeffer b844ff3468 Finish the role "SECONDARY" in a cluster. Configure replication automatically. 2015-08-12 10:54:30 +02:00
Willi Goesgens 096ad46f05 revert ad5a2c49f1c8479fb4896a28b178d34fcfe3abe8 - arangodump isn't a plain json. 2015-08-11 14:49:06 +02:00
Jan Steemann 8b28251f58 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-08-11 14:16:54 +02:00
Willi Goesgens b6613208d0 switch to logging json formatted response for better user experience. 2015-08-11 14:15:15 +02:00
Jan Steemann 580c15639f Merge branch 'devel' of https://github.com/arangodb/arangodb into collection-not-loaded
Conflicts:
	CHANGELOG
2015-08-11 12:34:31 +02:00
Jan Steemann 434d6167db added configuration option `--database.throw-collection-not-loaded-error` 2015-08-11 12:31:42 +02:00
Frank Celler 3029891405 added better readline support for control-C 2015-08-11 12:05:55 +02:00
Jan Steemann e642ce972f throw error if collection not yet loaded 2015-08-10 17:08:41 +02:00
Jan Steemann 29b03e854d Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-08-10 16:44:45 +02:00
Jan Steemann 82940cda10 use std::vector 2015-08-10 16:43:59 +02:00
Max Neunhoeffer a851b5a69d Rename ThreadProtector to DataProtector. 2015-08-10 09:54:29 +02:00
Jan Steemann b659d9fa07 use unique_ptr 2015-08-07 16:48:35 +02:00
Jan Steemann 5d82f0b385 some cleanup 2015-08-07 15:16:33 +02:00
Jan Steemann 1a634cb426 use std::vector 2015-08-07 13:35:16 +02:00
Jan Steemann da38382202 remove CONST_CAST helper 2015-08-07 13:18:21 +02:00
Max Neunhoeffer 8c94df88bf Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2015-08-07 13:17:28 +02:00
Max Neunhoeffer 63b4aa641a Delete a TRI_vector_t usage. 2015-08-07 13:16:49 +02:00
Jan Steemann 9c28ea7976 remove compiler warning 2015-08-07 13:00:38 +02:00
Max Neunhoeffer aa341f790f Fix bugs with database lists on coordinator. 2015-08-07 12:38:47 +02:00
Jan Steemann 9778bc16fd fix Visual Studio compile errors 2015-08-07 11:07:56 +02:00
Max Neunhoeffer 5472655ca7 Untemplatify ThreadProtector for those with gcc < 4.9.2.
We will revert this later once everybody has gcc >= 4.9.2.
2015-08-07 10:20:31 +02:00
Jan Steemann 30839600e6 use unique_ptr 2015-08-06 22:13:33 +02:00
Jan Steemann 330fac6225 some unused function cleanup 2015-08-06 21:25:32 +02:00
Jan Steemann 568084f590 removed forward for non-existing type 2015-08-06 19:33:32 +02:00