1
0
Fork 0
Commit Graph

429 Commits

Author SHA1 Message Date
Jan Steemann 298c96f2cc store information about datafile in upper bit 2016-03-01 16:29:09 +01:00
Jan Steemann 3fa4623dd1 made some methods private 2016-03-01 15:53:10 +01:00
Jan Steemann 0cb0c0142f remove _rid from master pointer 2016-03-01 15:06:54 +01:00
Jan Steemann 15350cf4b8 renamed and removed 2016-03-01 12:34:03 +01:00
jsteemann adae2e7c67 fixed saving 2016-02-29 23:31:21 +01:00
Jan Steemann 4140c3fa93 Merge branch 'spdvpk' of https://github.com/arangodb/arangodb into spdvpk 2016-02-29 18:33:29 +01:00
Jan Steemann eae225f4c8 changed marker storage 2016-02-29 18:33:16 +01:00
Michael Hackstein 11102d4799 Merge branch 'spdvpk' of github.com:arangodb/arangodb into spdvpk 2016-02-29 18:00:36 +01:00
Michael Hackstein cb40281543 Unshapified the GeoIndex 2016-02-29 17:58:26 +01:00
Jan Steemann 254f6b49b9 write prologue markers for document & remove markers 2016-02-29 17:08:38 +01:00
Jan Steemann 18c6fb35e1 removed warning 2016-02-29 15:23:25 +01:00
Jan Steemann f4f7bcb044 recovery 2016-02-29 14:24:46 +01:00
jsteemann 545b0ed6a2 cleanup 2016-02-27 02:44:51 +01:00
jsteemann f0aeab0d12 cleanup 2016-02-27 01:10:42 +01:00
jsteemann 4845b3fc93 cleanup 2016-02-26 23:07:19 +01:00
Jan Steemann bd9293802d marker changes, unfinished 2016-02-26 19:39:17 +01:00
Jan Steemann 67397ab58b cleanup 2016-02-26 16:31:59 +01:00
Jan Steemann 27fac1e05e removed marker types 2016-02-26 16:24:17 +01:00
Jan Steemann daea98ea50 cleanup 2016-02-26 12:27:19 +01:00
Jan Steemann ebf2d1520b removed TRI_doc_mptr_copy_t 2016-02-26 11:46:33 +01:00
Jan Steemann 693b31d032 remove _prev and _next from mptr 2016-02-26 11:23:01 +01:00
Jan Steemann 589dc42243 renamed _headersPtr to _masterPointers 2016-02-25 16:45:26 +01:00
Jan Steemann 3e82064770 Merge branch 'devel' of https://github.com/arangodb/arangodb into spdvpk 2016-02-25 14:59:08 +01:00
Michael Hackstein 7b42fc7ae8 Unified lookup in PrimaryIndex to use identical format as HashIndex lookup does 2016-02-25 14:38:39 +01:00
Frank Celler 37a0a7fc05 Merge branch 'devel' of github.com:arangodb/arangodb into solaris 2016-02-25 10:56:14 +01:00
jsteemann 74fa6cf207 Merge branch 'devel' of https://github.com/arangodb/arangodb into spdvpk 2016-02-25 00:02:03 +01:00
jsteemann 851d19a9d6 logging simplifications 2016-02-25 00:00:18 +01:00
Frank Celler 4b2b85f1b5 more cleanup 2016-02-24 19:19:04 +01:00
Frank Celler 022a5f457c cleanup of TRI_ options 2016-02-23 15:27:35 +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 eb202f528c pass vocbase in TransactionContext 2016-02-23 13:03:30 +01:00
Frank Celler 963578180a cleanup of TRI_ options 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
Jan Steemann 2a627d419d removed unused method 2016-02-22 12:42:28 +01:00
Jan Steemann ea3a7f3dab removed cap constraints 2016-02-22 12:37:16 +01:00
Max Neunhoeffer f679a50b5c Fix replace and update bug. 2016-02-19 15:09:51 +01:00
Jan Steemann 8b8101fc59 Merge branch 'devel' of https://github.com/arangodb/arangodb into spdvpk 2016-02-19 11:44:06 +01:00
jsteemann 62130d3239 locking-related bugfixes 2016-02-19 00:31:28 +01:00
Jan Steemann 157bbe3cf7 fixed replace() 2016-02-18 16:16:54 +01:00
Jan Steemann 9b80a8a371 return _rev in case of revision mismatch for document(), fixed update() 2016-02-18 14:42:38 +01:00
Jan Steemann d6cc325c43 initial implementation of update, still broken 2016-02-17 18:06:35 +01:00
Jan Steemann dda2459f41 added document() 2016-02-17 15:59:44 +01:00
Jan Steemann bce6b4f130 remove 2016-02-17 13:41:18 +01:00
Jan Steemann 9898103bc1 initial vpack documents 2016-02-11 21:56:10 +01:00
jsteemann be5d6fe756 remove obsolete functionality 2016-02-06 01:13:36 +01:00
Jan Steemann 437160f921 minor datafile statistics correction 2016-02-04 16:54:10 +01:00
Jan Steemann 22df27632a added helper method 2016-02-01 13:30:47 +01:00
Jan Steemann b7abf5a40d attempt to fix Windows build 2016-02-01 12:04:28 +01:00
jsteemann 349a6d9754 more logging 2016-01-31 21:48:59 +01:00
jsteemann 353c9732b7 removed last LOG_xxx macros 2016-01-30 04:03:18 +01:00
jsteemann dbd5c500cb remove TRI_ENABLE_LOGGING 2016-01-30 00:46:40 +01:00
jsteemann ff21453255 logger transition: all files in arangod exception transactions.cpp 2016-01-29 23:28:44 +01:00
Jan Steemann cd4cbae6ce ported fixes to devel 2016-01-29 19:05:27 +01:00
Max Neunhoeffer 238937128a Merge branch 'devel' into ClustUp2 2016-01-29 13:59:11 +01:00
Max Neunhoeffer dcf4ed8bca Sort out FollowerInfo. 2016-01-29 13:56:37 +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
Jan Steemann 3fc862f0ef changed locking macros 2016-01-26 15:39:12 +01:00
Jan Steemann 31bdc67d12 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-01-25 13:47:57 +01:00
Jan Steemann 47b77150f3 more trace logging 2016-01-25 13:47:21 +01:00
Michael Hackstein 5b2062b4e4 Removed legacy toJson function from Index.h. All callers now use VelocyPack directly 2016-01-25 11:42:31 +01:00
jsteemann 9ba3b68109 cppcheck 2016-01-23 16:22:39 +01:00
jsteemann 0a12bd2732 more diagnosis 2016-01-22 00:58:36 +01:00
Jan Steemann d03a8376a4 catch exception 2016-01-21 09:55:17 +01:00
jsteemann 842384016d namespace cleanup 2016-01-21 00:20:22 +01:00
Jan Steemann 1e847fbb0a please the Visual Studio 2016-01-20 14:03:54 +01:00
Jan Steemann 5daa529404 compaction fix attempt II 2016-01-18 18:24:25 +01:00
jsteemann 431900f17a changed namespace from triagens to arangodb 2016-01-17 00:44:53 +01:00
Michael Hackstein 2029d185be Merge branch 'devel' of github.com:arangodb/arangodb into vpack 2016-01-13 17:20:32 +01:00
Jan Steemann 8404d0eac1 better OOM handling in ThreadPool constructor 2016-01-13 16:19:53 +01:00
Michael Hackstein 9f24c7ad2f Removed TRI_json_t from VocBase/document-collection. YaY 2016-01-13 15:55:46 +01:00
Michael Hackstein 98fdb95932 Modified OpenIndexIterator to use VelocyPack instead of TRI_json_t 2016-01-13 11:29:18 +01:00
Michael Hackstein b45ac55d58 Clang-format fixes 2016-01-12 15:16:04 +01:00
Michael Hackstein af1c96cf01 KeyGenerators are now generated from VPack instead of TRI_json_t 2016-01-12 14:25:57 +01:00
jsteemann 9f0576c65f don't rely so much on namespace std being present 2016-01-08 01:05:06 +01:00
Jan Steemann 3ad20c0cae auto-generated headers 2016-01-06 18:41:51 +01:00
Jan Steemann a3b026d9d1 removed useless sections from code, unified include guards 2016-01-06 14:15:22 +01:00
Jan Steemann f422576ee0 clang-format 2016-01-05 17:43:24 +01:00
jsteemann e5db136f99 internal function signature cleanup 2016-01-05 01:12:11 +01:00
Max Neunhoeffer 169d6b74e2 Adjust TODOs. 2015-12-23 15:07:01 +01:00
Max Neunhoeffer c7f00bfeda Continue work on TODOs. 2015-12-23 14:40:04 +01:00
Max Neunhoeffer 225c8cd843 Work on TODOs. 2015-12-22 16:50:09 +01:00
Michael Hackstein d99a6977b5 Fixed illegal access to empty buffer 2015-12-17 15:26:06 +01:00
Michael Hackstein 002c876858 Fixed nullptr exception for keyOptions. 2015-12-17 11:35:08 +01:00
Jan Steemann 2b3f3f997b Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack 2015-12-17 10:59:30 +01:00
Jan Steemann 6ee9a6f90e replication fixes 2015-12-16 19:52:01 +01:00
Michael Hackstein 82eea28fea Merge branch 'vpack' of github.com:arangodb/arangodb into vpack 2015-12-16 19:03:15 +01:00
Michael Hackstein e40679e4b5 Integrated the new VocbaseCollectionInfo in Document-collection 2015-12-16 18:59:03 +01:00
Jan Steemann 84fae4ebcb Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack 2015-12-14 18:16:30 +01:00
Jan Steemann 8e7ac689a2 issue #1606: fail gracefully on invalid index definitions 2015-12-14 16:58:05 +01:00
jsteemann 4a62f3d389 Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack 2015-12-11 18:38:30 +01:00
Jan Steemann a2940b20ca fixed leak in ExampleMatcher 2015-12-11 17:15:45 +01:00
Michael Hackstein 1af985003d Merge branch 'devel' of github.com:arangodb/arangodb into vpack 2015-12-10 10:26:14 +01:00
Jan Steemann fec29ac9c8 better compaction diagnostics 2015-12-09 19:02:22 +01:00
Michael Hackstein 5dce6b512f Added a helper to build an index from VelocyPack description 2015-12-07 14:23:05 +01:00
Jan Steemann 5c033f566b Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack 2015-12-04 13:47:08 +01:00
Jan Steemann 9c0d7420f4 removed unused struct attribute 2015-12-01 12:56:41 +01:00
Jan Steemann 0ee556d07d added transaction to hash index APIs 2015-11-25 14:55:43 +01:00
Jan Steemann 19b2d28167 pass transaction to index APIs 2015-11-25 14:42:29 +01:00
Jan Steemann 75e4e6e815 added transaction to all signatures 2015-11-24 17:34:23 +01:00
Jan Steemann 317ef4b8a2 remove, not working yet 2015-11-24 11:30:15 +01:00
Jan Steemann bd090571fb insertion of documents using vpack 2015-11-23 18:34:36 +01:00
Jan Steemann 7bd6a00c84 changed API 2015-11-23 13:26:33 +01:00
Jan Steemann bcb31ab4c2 insertv continued 2015-11-19 16:46:06 +01:00
Jan Steemann dc53e9fe95 move away from mutex to atomic variables 2015-11-05 10:58:35 +01:00
Jan Steemann 01499dde43 added deadlock detection for lazy locking of collections 2015-10-29 11:57:22 +01:00
Michael Hackstein 48a445d963 Merge branch 'aql-jmmh-conditions' of github.com:arangodb/arangodb into aql-jmmh-conditions 2015-10-13 16:26:55 +02:00
Michael Hackstein 4c6b0f283a AttributeNames from the attribute parser are now non-nested attributes. They offer a function to join nested elements 2015-10-13 16:26:11 +02:00
Jan Steemann deb0a132ae rewrite of optimizer rule `use-index-for-sort` 2015-10-13 15:00:09 +02:00
jsteemann 5c0ff48478 cppcheck 2015-09-22 23:40:57 +02:00
jsteemann 0670f504a4 fixed sizeDead / numberDead calculation on collection load 2015-09-16 01:19:42 +02:00
Jan Steemann b6a1684605 primary index speedup 2015-09-07 16:22:39 +02:00
Jan Steemann 39939fc1c9 primary index initial insertion speedup 2015-09-07 13:05:02 +02:00
Michael Hackstein 630c8fd42f Improved Primary Sequential read 2015-09-03 16:25:24 +02:00
Jan Steemann 2e617ac0cc Merge branch 'american-english' of https://github.com/CoDEmanX/ArangoDB into devel
Conflicts:
	arangod/Wal/Slots.cpp
	lib/Basics/debugging.cpp
	lib/Basics/files.cpp
2015-09-02 13:14:49 +02:00
Jan Steemann 0e802d6438 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-09-02 10:20:18 +02:00
Jan Steemann a80d6635ab create fat datafiles
This prevents SIGBUS when a sparse datafile is accessed and the disk is full. In
this case the mmapped region is not necessarily backed by physical memory, and
accessing the memory may crash the program
2015-09-02 10:18:24 +02:00
CoDEmanX b4593a7e82 Change spelling of 'initialize' to American English (comments and log messages only) 2015-09-01 17:07:21 +02:00
Michael Hackstein 027445697d Renamed SkiplistIndex2 to SkiplistIndex ;) 2015-09-01 15:05:49 +02:00
Claudius Weinberger f52beeacb0 fixed invalid index lookupus 2015-09-01 12:38:51 +00:00
Michael Hackstein ef259e5088 Removed external resizing of index in document-collection 2015-08-28 10:19:39 +02:00
Michael Hackstein 81fa8018b0 Improved primary index lookups to use parameter by reference instead of byPointer. less error prone. Fixed some issues with it. 2015-08-28 09:28:24 +02:00
Michael Hackstein d6839ad519 Fixed another BAD_ACCESS 2015-08-28 09:28:24 +02:00
Michael Hackstein e0e373fcf1 Removed shape counting test 2015-08-28 09:28:24 +02:00
Michael Hackstein 87b28a1277 Pleased the compiler for the new Primary Index in document-collection. 2015-08-28 09:28:23 +02:00
Michael Hackstein a786b797d7 Adoption of document-collection to new primary index 2015-08-28 09:28:23 +02:00
Michael Hackstein 4effa2291e Merge branch 'devel' of github.com:arangodb/arangodb into array_indexing 2015-08-26 10:41:27 +02:00
Jan Steemann f4c542795c getIndexes(true) 2015-08-26 09:48:48 +02:00
Jan Steemann 75ad81401b slightly improved logging 2015-08-25 17:35:54 +02:00
Michael Hackstein 40c1361244 Merge branch 'devel' of github.com:arangodb/arangodb into array_indexing 2015-08-25 16:40:31 +02:00
Jan Steemann 7540059f36 uint32_t => uint64_t 2015-08-25 15:08:09 +02:00
Jan Steemann 31a6547d4c fix replication resumption 2015-08-21 15:57:24 +02:00
Michael Hackstein 4bb8508d82 Implemented a new improved version of the Array index insertion function. 2015-08-20 14:03:17 +02:00
Michael Hackstein d69c9a920e Fixed an issue with expanded attribteus to pid strings 2015-08-17 12:43:13 +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
Michael Hackstein d7d00a5d0d Fixed index comparision with multiple components. Introduced by AttributeName format. 2015-08-17 12:43:09 +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
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 46565e4daf fix parallel insertion 2015-08-17 12:43:05 +02:00
Jan Steemann da38382202 remove CONST_CAST helper 2015-08-07 13:18:21 +02:00
Jan Steemann 2a88c76e0e fix parallel insertion 2015-08-05 15:16:07 +02:00
Jan Steemann 38227a81f8 speed up initial edge index creation 2015-08-03 18:27:50 +02:00
Jan Steemann b331c22d37 use std::vector 2015-07-29 16:07:05 +02:00
Jan Steemann 6d7ccd7699 move shaper to cxx 2015-07-28 17:38:31 +02:00
Jan Steemann 4d0872f2b9 more cxx 2015-07-20 18:42:02 +02:00
Jan Steemann 8372c33993 fixed invalidation with index creation etc., adjusted tests 2015-06-25 23:40:31 +02:00
Jan Steemann ffab0ef47d renamed file 2015-06-18 17:29:49 +02:00
Michael Hackstein 99afc6ec87 CXX ExampleMatcher learned about internal attributes. This makes all AQL-Graph tests pass again ;) 2015-05-30 00:00:49 -07:00