1
0
Fork 0
Commit Graph

460 Commits

Author SHA1 Message Date
Michael Hackstein e16e6b6532 Templatified read and write locker. They can now use Cpp11 style locks. Also included distributeShardsLike in AgencyInformation about collections. 2016-09-26 18:29:51 +02:00
jsteemann fad7efe8c3 more diagnostics 2016-09-16 09:35:08 +02:00
jsteemann 3bfd0a874a cosmetics 2016-09-07 22:43:47 +02:00
jsteemann 99f2dd35f5 moved functionality into engine 2016-09-07 15:32:53 +02:00
jsteemann 528ebdf573 slightly prefer primary index 2016-09-07 11:42:13 +02:00
jsteemann eac7eafc4e fix collection creation 2016-09-06 18:33:08 +02:00
jsteemann 68ebbabe17 delete unused collection directories 2016-09-06 14:40:31 +02:00
jsteemann 288e5c3c3f fixed compile warning 2016-09-02 16:29:19 +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 2c92879161 cleanup 2016-09-02 10:26:43 +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
jsteemann 69bfca08ca Merge branch 'devel' of https://github.com/arangodb/arangodb into generic-col-types 2016-09-01 15:39:11 +02:00
jsteemann 29170414a2 removed unused property 2016-09-01 10:40:29 +02:00
jsteemann 0e15e5c25c fixed leak 2016-08-31 17:30:29 +02:00
jsteemann 2d1e0bd3ae fixed some leaks 2016-08-31 15:30:47 +02:00
jsteemann 9b94287fb7 unify id handling? 2016-08-30 16:07:35 +02:00
jsteemann bdd9d1422e bugfixes 2016-08-30 13:45:54 +02:00
jsteemann 672255fad7 removed some TRI_collection_t instances 2016-08-30 13:01:34 +02:00
jsteemann 983fca3b56 removed unused methods 2016-08-30 11:29:58 +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
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 2ea5794a18 moved _datafileStatistics into engine 2016-08-26 16:22:41 +02:00
jsteemann 4727c833c8 fixed some leaks 2016-08-26 14:29:31 +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 900c28aec9 moved _compactionLock out of TRI_collection_t 2016-08-26 11:53:42 +02:00
jsteemann bcd3e927a9 Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-vs-velocystream 2016-08-26 09:18:58 +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 e75567dae5 Further fixes for tests: Fixed unitialized count. Fixed some false CORRUPTED_COLLECTION states. 2016-08-26 08:02:34 +02:00
jsteemann e9fe772469 moved functionality into engine 2016-08-25 15:37:55 +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 4020d8f2e9 finalize classes 2016-08-25 14:25:17 +02:00
jsteemann 396ab41736 allow dropping system collections in some rare cases 2016-08-25 12:47:06 +02:00
jsteemann 3469b63449 fixed a replication test 2016-08-25 11:29:47 +02:00
Michael Hackstein e1ac5175b1 Merge branch 'engine-vs-velocystream' of github.com:arangodb/arangodb into generic-col-types 2016-08-25 11:09:11 +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
jsteemann a71ed2a09d privatize methods 2016-08-25 10:07:23 +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 2e48293c52 privatize methods 2016-08-25 09:56:00 +02:00
jsteemann 76bef45f39 privatize method 2016-08-25 09:43:33 +02:00
jsteemann ff3776ca01 fixed dumping 2016-08-24 16:32:20 +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 1b0d40eff2 cppcheck 2016-08-19 15:27:47 +02:00
jsteemann 9f424553ca stub implementation for engine-specific collections 2016-08-19 15:19:23 +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
jsteemann b2cb551685 moved functionality from vocbase into DatabaseFeature 2016-08-18 09:24:26 +02:00
jsteemann ca16eb691a moved drop collection functionality into engine 2016-08-17 16:43:48 +02:00
jsteemann a751834e6f move functionality into engine 2016-08-17 12:33:22 +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 84656f776b move CleanupThread into engine 2016-08-17 10:48:17 +02:00
jsteemann 803a3c84ce removed unused version attribute 2016-08-16 17:21:59 +02:00
jsteemann 76f3747d6d removed unused attributes 2016-08-16 16:57:16 +02:00
jsteemann 8e32f7abfa privatize some compaction infos 2016-08-16 16:08:27 +02:00
jsteemann b241ff1844 changed index detection 2016-08-16 15:55:10 +02:00
jsteemann 7b72451dd3 implemented dropIndex 2016-08-16 14:52:31 +02:00
jsteemann 61fc8993c6 small cleanup 2016-08-16 14:21:58 +02:00
jsteemann f8ed409997 moved CheckCollection into storage engine 2016-08-16 13:06:11 +02:00
jsteemann 7231436c5e always remove compactor thread 2016-08-16 12:18:09 +02:00
jsteemann a957963222 "privatize" compactor thread 2016-08-16 12:11:14 +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 680042b062 moved compaction info into StorageEngine 2016-08-15 18:35:22 +02:00
jsteemann ae40ea5450 finally fixed some nasty bugs after refactoring 2016-08-15 14:26:09 +02:00
Michael Hackstein 95d14e056d Fixed override warning 2016-08-12 15:04:17 +02:00
jsteemann 3733d64dda moved functionality 2016-08-05 16:23:22 +02:00
jsteemann 6b9a4a2e7f moved path-related functionality into engine 2016-08-05 14:09:58 +02:00
jsteemann 5d640b7144 fixed tests 2016-08-04 13:32:54 +02:00
jsteemann dd30b47b9d make _state private 2016-08-02 15:31:55 +02:00
jsteemann 9677210e57 refactoring 2016-08-02 15:00:25 +02:00
jsteemann 3664511e36 privatize vocbase methods 2016-08-02 13:49:22 +02:00
jsteemann 788922f55a some fixes 2016-08-01 17:16:23 +02:00
jsteemann 59ed0a902c refactoring 2016-07-29 17:07:16 +02:00
jsteemann b48779c821 fixed tests 2016-07-28 15:56:38 +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 314a6f6c29 reactivate TickIterator 2016-07-27 16:04:22 +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 b54f0a15d8 removed last occurrence of TRI_vector_t in arangod 2016-07-26 08:04:30 +02:00
jsteemann 253cb173a9 cleanup compaction responsibility a little bit 2016-07-26 07:34:02 +02:00
jsteemann 9e2b75de7d refactoring 2016-07-25 17:31:16 +02:00
jsteemann 0113c78712 use function object 2016-07-25 17:22:41 +02:00
jsteemann 2aa2e0dab4 removed server.h 2016-07-25 16:49:52 +02:00
jsteemann de6d7182c8 move deletion of databases into DatabaseFeature 2016-07-25 13:56:34 +02:00
jsteemann e8a5b5ccf5 move createDatabase into DatabaseFeature 2016-07-25 12:35:53 +02:00
jsteemann 95462e7796 moved database creation in DatabaseFeature 2016-07-22 17:43:22 +02:00
jsteemann 6c2d927e01 refactoring 2016-07-22 15:44:23 +02:00
jsteemann e55070dcd2 starting again... well, at least in some configuration 2016-07-22 14:03:03 +02:00
jsteemann b9529d80e3 moved functionality into engine 2016-07-20 17:26:58 +02:00
jsteemann ca1da8fd4a moved functionality from TRI_server_t into DatabaseFeature 2016-07-20 16:09:12 +02:00
jsteemann 8313682b2c refactoring 2016-07-18 17:48:24 +02:00
jsteemann f373a2c327 removed TRI_vocbase_defaults_t 2016-07-18 16:55:25 +02:00
jsteemann 904868d996 renamed DatabaseServerFeature to DatabasePathFeature 2016-07-18 15:41:10 +02:00
jsteemann 807f287868 moved server id detection and pagesize detection into their own features 2016-07-18 14:37:12 +02:00
jsteemann d8a95222a2 adjusted error messages 2016-07-18 11:08:12 +02:00
jsteemann 43b3b19ea5 server start 2016-07-15 16:30:03 +02:00
jsteemann 30d32bb70e factored out lock-file handling into LockFileFeature 2016-07-15 14:44:06 +02:00
jsteemann 87a96ece67 engine selection 2016-07-15 12:40:29 +02:00
jsteemann 7742e709a3 storage engine selection at server start 2016-07-15 12:26:40 +02:00
jsteemann bff23ecd06 added stub for storage engine 2016-07-15 10:54:37 +02:00