1
0
Fork 0
Commit Graph

1702 Commits

Author SHA1 Message Date
Jan Steemann 00f5cab407 changed compaction to only clean datafiles with at least 10 % of dead objects 2013-05-03 16:37:32 +02:00
Jan Steemann bfb35a4b3c issue #495 2013-05-03 11:38:10 +02:00
Jan Steemann fde26e6913 fixed doxygen errors 2013-05-03 11:25:24 +02:00
Jan Steemann ee7ab712d6 issue #495 2013-05-03 11:08:58 +02:00
Frank Celler a27fb94fb2 issue #491 2013-05-02 16:18:19 +02:00
Frank Celler b3b7a45e62 issue #502 2013-05-02 15:21:30 +02:00
Jan Steemann 2c381d5d6a issue #498 2013-05-02 12:27:06 +02:00
Thomas Richter 85a5f05c93 swagger documentation for api-grap.js 2013-04-30 14:52:35 +02:00
Thomas Richter 1dcab18497 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-04-30 11:40:29 +02:00
Thomas Richter 1d232d6967 some fixes in generateSwagger 2013-04-30 11:40:19 +02:00
a-brandt 43aec7e76b Merge branch 'devel' of github.com:triAGENS/ArangoDB into multiple_databases 2013-04-30 10:05:53 +02:00
Oreste Panaia 115d87196c sync windows dev 2013-04-29 23:13:06 +08:00
Oreste Panaia c42c0bf565 sync dev for windows 2013-04-29 21:49:28 +08:00
Oreste Panaia 532c7eae8e windows dev update 2013-04-29 21:24:57 +08:00
a-brandt 6839fe7701 Merge branch 'devel' of github.com:triAGENS/ArangoDB into multiple_databases 2013-04-24 17:46:36 +02:00
a-brandt 9f4658fed5 added private constructor 2013-04-24 17:46:11 +02:00
Thomas Richter cb940c85bd added some query and header parameters to the swagger tags 2013-04-24 15:28:31 +02:00
Oreste Panaia 1ddbd2e4d9 update 2013-04-23 19:02:46 +08:00
Oreste Panaia b83d90f021 skiplist transaction support 2013-04-23 18:56:26 +08:00
Thomas Richter 2fdada8724 backtick problem in REST-URL fixed 2013-04-23 12:25:16 +02:00
a-brandt 234b1460f8 Merge branch 'devel' of github.com:triAGENS/ArangoDB into multiple_databases 2013-04-23 09:55:08 +02:00
Frank Celler cca0f8de16 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-04-22 16:56:46 +02:00
Frank Celler cbc2ab93ba fixed _shallowCopy, fixed creating of unknown attributes 2013-04-22 16:48:36 +02:00
Thomas Richter 62b870e725 in REST-documentation @LIT{} and @FA{} replaced by backticks 2013-04-22 15:42:59 +02:00
Thomas Richter 874b855fe8 in REST-documentation @LIT{} and @FA{} replaced by backticks 2013-04-22 15:39:43 +02:00
a-brandt 7a0a9ff3b4 Merge branch 'devel' of github.com:triAGENS/ArangoDB into multiple_databases 2013-04-22 14:53:33 +02:00
a-brandt 8f52b8916b vocbase handling 2013-04-22 14:52:46 +02:00
a-brandt 3b4e2b7e82 json document wrapper 2013-04-22 14:52:10 +02:00
Jan Steemann a241c6959e fixed segfault 2013-04-22 13:11:52 +02:00
Frank Celler bab92e9c04 fixed help messages 2013-04-21 22:12:58 +02:00
Frank Celler df03d38ee2 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-04-21 21:46:00 +02:00
Frank Celler d2ea4e9bd2 added SlowBuffer from node 2013-04-21 21:32:32 +02:00
Jan Steemann 7b9cad3ce0 added db._query() to auto-completion 2013-04-21 19:29:21 +02:00
Jan Steemann 8e23b92fb9 made "limit" an optional parameter for AQL NEAR() 2013-04-21 15:45:13 +02:00
Jan Steemann cdb7705380 issue #481 2013-04-21 12:12:51 +02:00
Jan Steemann cd17f1ef44 issue #481 2013-04-21 11:37:46 +02:00
Jan Steemann 8ea6915b55 added IndexedPropertyGetter for ShapedJson 2013-04-19 11:35:55 +02:00
a-brandt 7c0e5fb16f Merge branch 'devel' of github.com:triAGENS/ArangoDB into multiple_databases 2013-04-18 12:01:47 +02:00
Jan Steemann 91c63338f2 some locking fixes 2013-04-17 18:02:55 +02:00
a-brandt 58de325e98 Merge branch 'devel' of github.com:triAGENS/ArangoDB into multiple_databases 2013-04-17 16:58:23 +02:00
a-brandt fcae2b2961 added RequestContext 2013-04-17 16:56:48 +02:00
Jan Steemann b667e458fc fixed error messages 2013-04-16 11:55:17 +02:00
Jan Steemann 30b2b2ef3e adjusted locks 2013-04-16 11:23:21 +02:00
Jan Steemann 2914a1a319 fixed assertion 2013-04-15 13:05:31 +02:00
Jan Steemann 8e4af7a952 fixed some locking 2013-04-15 12:43:53 +02:00
Jan Steemann c945dbd2cd updated transaction API 2013-04-15 11:54:36 +02:00
Jan Steemann dee5adb9f5 added client side API for transactions 2013-04-12 23:18:48 +02:00
Jan Steemann 3f698acef8 transaction API, unfinished 2013-04-12 18:42:01 +02:00
Jan Steemann d17fc17bf2 updated documentation 2013-04-12 18:09:48 +02:00
a-brandt 3c4fb08548 Merge branch 'devel' of github.com:triAGENS/ArangoDB into multiple_databases 2013-04-12 15:04:46 +02:00
Jan Steemann fb522e7c59 added TRI_DocumentIteratorPrimaryCollection 2013-04-12 15:03:03 +02:00
a-brandt 0a44b019db Merge branch 'devel' into multiple_databases 2013-04-12 14:16:25 +02:00
a-brandt aa216c2edb changes for multiple databases 2013-04-12 14:15:06 +02:00
Jan Steemann 74a7733867 removed unused file 2013-04-12 11:43:51 +02:00
Jan Steemann 430db4e0f0 ignore some obviously invalid markers 2013-04-12 11:39:05 +02:00
Jan Steemann f41e8e1da0 added _drop to auto-completion 2013-04-12 11:28:16 +02:00
Jan Steemann 5257e22f5e fixed warning messages 2013-04-12 10:59:20 +02:00
Jan Steemann 3629eecddd documented upgrade procedure 2013-04-12 10:25:01 +02:00
Jan Steemann 9b5849f650 updated documentation 2013-04-12 00:42:02 +02:00
Jan Steemann 23a929a957 disallow creation of pqindexes 2013-04-11 21:07:09 +02:00
Jan Steemann 5a41aae8d4 fixed memory zone 2013-04-11 21:03:30 +02:00
Jan Steemann b64ee0cbdc fixed ifdefs 2013-04-11 19:18:54 +02:00
Jan Steemann e128b40735 fixed gcc warnings 2013-04-11 19:11:09 +02:00
Jan Steemann b6925a7b7b transactions 2013-04-11 19:06:55 +02:00
Frank Celler e10f6bc01d fixed deprecated warnings 2013-04-11 14:16:53 +02:00
Frank Celler 2135e2633e Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-04-11 13:55:43 +02:00
Frank Celler 142cc08704 replaced more deprecated calls 2013-04-11 13:55:33 +02:00
a-brandt 3e80cb0071 fixed typo 2013-04-11 09:04:35 +02:00
Frank Celler f373615268 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
Conflicts:
	arangod/V8Server/v8-actions.cpp
2013-04-10 21:47:51 +02:00
Frank Celler 828b939053 fixed isolates, made ArangoError internal 2013-04-10 21:22:09 +02:00
a-brandt 2d8c547fc8 added cookie support 2013-04-10 16:23:42 +02:00
Jan Steemann ffb2a0f545 added generated file 2013-04-10 08:51:55 +02:00
Jan Steemann badf20e47e added AQL function NEIGHBORS 2013-04-09 18:14:46 +02:00
Frank Celler 1d98c4b0f0 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-04-09 16:26:12 +02:00
Frank Celler c4223c5437 added saveOrReplace 2013-04-09 13:50:34 +02:00
Frank Celler 683284340e fixed typo 2013-04-08 17:02:54 +02:00
Frank Celler b71f31bcbb fixed wrong error message 2013-04-06 23:43:25 +02:00
Frank Celler 38a2ff49c2 fixed wrong length check 2013-04-06 23:05:03 +02:00
Frank Celler 6c8ec64dae comment out unfinished stuff 2013-04-06 22:00:50 +02:00
Frank Celler c567f0a81d Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-04-06 21:58:05 +02:00
Frank Celler 5b5e2b4dae removed DATABASEPATH (same as db._path) 2013-04-06 11:19:24 +02:00
Frank Celler a0278476da Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
Conflicts:
	lib/Basics/StringUtils.cpp
2013-04-06 10:19:09 +02:00
Frank Celler 1d7ee507e2 added TRI_ERROR_ARANGO_DOCUMENT_KEY_MISSING 2013-04-06 10:18:29 +02:00
Jan Steemann 884806ee9e complain about non-existing paths 2013-04-05 14:41:07 +02:00
Jan Steemann 0d1076211a fixed memleak 2013-04-05 14:26:58 +02:00
Jan Steemann 085e6be3bb fixed memleak 2013-04-05 14:02:56 +02:00
Jan Steemann ce66172328 updated generated files 2013-04-05 13:08:47 +02:00
Jan Steemann d752d2cc57 fixed tests 2013-04-05 13:05:43 +02:00
Jan Steemann 225f623d90 added alias for getRows() 2013-04-05 12:51:23 +02:00
Jan Steemann ed10d9b6aa AQL user functions 2013-04-05 12:50:44 +02:00
Frank Celler 37e134ff50 new Foxx 2013-04-04 18:56:38 +02:00
Jan Steemann 6187c516a3 push before compactor change 2013-04-04 11:15:58 +02:00
Jan Steemann addf02a97b update the tick counter on startup with ticks from journals 2013-04-04 10:08:05 +02:00
Jan Steemann b3b2602885 adjusted wording and log-level 2013-04-04 09:47:21 +02:00
Jan Steemann 1417def879 disallow create/drop/rename operations inside transactions 2013-04-04 09:41:44 +02:00
Jan Steemann 059980ed50 read & write collection ids as strings in parameter.json files 2013-04-04 08:49:40 +02:00
Jan Steemann af1ed1e0f0 fixed some race conditions in transactions 2013-04-03 18:43:13 +02:00
Jan Steemann bc28fff205 explicit NULL checks 2013-04-03 18:00:15 +02:00
Jan Steemann 67984f06a0 clean shutdown for --upgrade 2013-04-03 18:00:03 +02:00
Jan Steemann f7a5cf4cf3 transactions 2013-04-03 14:40:23 +02:00
Jan Steemann ab9baf2f9b moved include 2013-04-03 08:30:50 +02:00
Frank Celler f810711a79 FreeBSD port 2013-04-02 18:43:10 +02:00
Frank Celler 711b5884d3 Merge branch 'devel' of github.com:triAGENS/ArangoDB into HEAD 2013-04-02 17:47:33 +02:00
Frank Celler 42b92c794f fixed error messages and tests 2013-04-02 17:46:19 +02:00
Frank Celler 3512fa6ff0 fixed error handling 2013-04-02 15:00:55 +02:00
Frank Celler cb5427cbce replaced throwing of strings by real objects 2013-04-02 11:27:31 +02:00
Thomas Richter f876e30816 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-04-02 09:38:45 +02:00
Frank Celler 661b222dab fixed help 2013-03-28 23:04:55 +01:00
Frank Celler 2ed6b0145f changed app-path and dev-app-path to be just one directory 2013-03-28 21:48:52 +01:00
Jan Steemann 0fc4d233a1 extended documentation on key generators 2013-03-28 16:56:27 +01:00
Jan Steemann 666eae6b41 allow writing too big markers into collections if maximalJournalSize is bigger than current datafile's size 2013-03-28 14:41:40 +01:00
Jan Steemann ba0d608a25 renamed function 2013-03-28 14:13:11 +01:00
Jan Steemann 6b3b181930 pass transaction collection into CRUD operations 2013-03-28 13:26:49 +01:00
Frank Celler 8eeb59cb71 fixed log output 2013-03-27 16:28:41 +01:00
Frank Celler 440170c144 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-03-27 15:05:22 +01:00
Frank Celler 7a6cdcf9b1 changing to app-id 2013-03-27 15:05:08 +01:00
Thomas Richter f77fa798c8 generateArangoshRun db._collections() error fixed 2013-03-27 14:37:28 +01:00
Jan Steemann bfe232c299 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-03-27 14:24:19 +01:00
Jan Steemann 4bb32107ba triAGENS/ArangoDB-PHP#55
optimiser may have mis-optimised duplicate filter statements with limit
2013-03-27 14:22:49 +01:00
Frank Celler d8159a990e Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-03-27 11:32:52 +01:00
Frank Celler be971602f2 added install and uninstall of FOXX apps 2013-03-27 11:32:39 +01:00
Jan Steemann 1e051dff07 use realloc 2013-03-26 17:57:54 +01:00
Jan Steemann a5c1ebd09d more cleanup 2013-03-26 17:57:45 +01:00
Jan Steemann 771b03ced3 fixed exception handling in ArangoSh 2013-03-26 16:01:05 +01:00
Frank Celler a8d9a14e7d Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-03-26 13:58:20 +01:00
Frank Celler 557184631d more fox-manager, added files section 2013-03-26 13:58:00 +01:00
Jan Steemann 81d5c71cf3 fixed documentation 2013-03-26 10:08:26 +01:00
Thomas Richter 9a08a1d609 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
work in progress swagger
2013-03-26 09:14:05 +01:00
Thomas Richter 48df7ab80a work in progress 2013-03-26 09:13:56 +01:00
Jan Steemann fc35dffa92 potential improvement for #459 2013-03-25 16:56:10 +01:00
Jan Steemann 0e6c21e4e7 removed NEW_BORN collection status in server 2013-03-25 15:51:42 +01:00
Jan Steemann 0d41462823 added statistics function 2013-03-25 12:54:36 +01:00
Jan Steemann 54dbcb8121 fixed some caching issues 2013-03-25 12:23:42 +01:00
Jan Steemann d62a3a08a1 shutdown with lock 2013-03-25 11:11:33 +01:00
Jan Steemann 124d7cb29f fixed file uploads 2013-03-24 18:13:13 +01:00
Jan Steemann 071144ecc0 temporary file functons 2013-03-24 14:32:09 +01:00
Jan Steemann d9595caaf5 added upload API 2013-03-24 13:17:50 +01:00
Frank Celler 1736221bac fixed cyclic objects 2013-03-24 10:57:44 +01:00
Jan Steemann 76a86a853f fixed build? 2013-03-24 10:43:55 +01:00
Frank Celler 6f8e8ffbd1 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-03-23 19:50:43 +01:00
Frank Celler b99ee9517f cached collection in db 2013-03-23 19:50:31 +01:00
Jan Steemann fd446bac1a Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-03-23 19:14:02 +01:00
Jan Steemann 5cf913b2ca zlib 2013-03-23 19:13:31 +01:00
Frank Celler 57e7224494 fixed ordering 2013-03-23 17:54:35 +01:00
Jan Steemann 0d2fdcae58 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
Conflicts:
	js/common/bootstrap/module-fs.js
2013-03-23 14:36:45 +01:00
Jan Steemann c473e42f77 fixed memleak 2013-03-22 18:38:17 +01:00
Frank Celler a8d5a06f57 added resetEngine 2013-03-22 18:09:01 +01:00
Frank Celler f1c7852eb4 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-03-22 17:33:34 +01:00
Frank Celler 38a5cf6a2d added development-mode 2013-03-22 17:33:25 +01:00
Jan Steemann 517c6f98dc document counting 2013-03-22 15:45:36 +01:00
Frank Celler 213e5ab214 added missing HandleScope 2013-03-22 15:15:02 +01:00
Frank Celler dfe96a0919 Merge branch 'feature/v8cleanup' into devel 2013-03-22 14:54:39 +01:00
Jan Steemann 564f35141e refactored writing of markers 2013-03-22 14:50:32 +01:00
Frank Celler f5ef270d50 Merge branch 'devel' of github.com:triAGENS/ArangoDB into feature/v8cleanup 2013-03-22 14:47:29 +01:00
Frank Celler 12f0c901e5 Merge branch 'devel' of github.com:triAGENS/ArangoDB into feature/v8cleanup
Conflicts:
	arangod/V8Server/v8-vocbase.cpp
	arangosh/V8Client/arangosh.cpp
2013-03-22 14:47:17 +01:00
Jan Steemann 28e0f8bd09 notify collections about transaction status changes 2013-03-22 13:34:02 +01:00
Thomas Richter f14efc0278 swagger added 2013-03-22 12:21:55 +01:00
Jan Steemann ccc7c3665b locking 2013-03-22 11:31:36 +01:00
Jan Steemann 228f273bc0 added isRollback hints to index insert/remove functions 2013-03-22 11:18:44 +01:00
Jan Steemann 69db58a154 index cleanup 2013-03-22 10:38:47 +01:00
Jan Steemann a9ab2695d6 changed error message 2013-03-22 09:00:29 +01:00
Jan Steemann 9b282ab74c some cleanup of transaction code 2013-03-21 18:54:38 +01:00
Jan Steemann b40ade45ce simplified code 2013-03-21 10:09:52 +01:00
Jan Steemann b175486258 changed to TRI_ASSERT_DEBUG 2013-03-20 19:01:19 +01:00
Jan Steemann 26af2995db some cleanup in transaction code 2013-03-20 18:44:29 +01:00
Jan Steemann 114acf1701 make datafile->_fid identical to datafile name for new datafiles 2013-03-20 12:41:36 +01:00
Jan Steemann 40199d64b7 fixed handling of empty and reserved attribute names in documents
specifying an empty attribute name in a document may have led to segmentation faults
when the document was unpacked later.
2013-03-20 11:48:33 +01:00
Jan Steemann a0bf485e11 fixed usage of invalid pointer 2013-03-19 11:31:42 +01:00
Jan Steemann d17a034d59 moved crc calculation into datafile 2013-03-18 20:17:31 +01:00
Jan Steemann 95d78faa3c fixed doxygen errors 2013-03-18 20:07:31 +01:00
Jan Steemann 61cb229ca8 simplified writing of markers into datafiles 2013-03-18 20:04:31 +01:00
Jan Steemann e8a6c9ee6e cleaned up doc operation context 2013-03-18 17:34:17 +01:00
Jan Steemann 6f2bf0b139 removed unused property 2013-03-18 16:41:48 +01:00
Jan Steemann fe8dd6d6fc Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-03-18 13:05:45 +01:00
Jan Steemann 99522ccb84 switch order of insertion into indexes & datafile for updates
updates are now done in the indexes first, then written to the datafile
2013-03-18 13:03:05 +01:00
Oreste Panaia 081ad862a6 CAS modifications 2013-03-18 19:52:53 +08:00
Oreste Panaia 8333858eac CAS modifications 2013-03-18 19:11:18 +08:00
Jan Steemann 0ef011d408 changed function signature 2013-03-18 09:17:49 +01:00
Jan Steemann 741dec2f7a changed function signature 2013-03-18 09:17:32 +01:00
Jan Steemann 9a4a0e5dfb fixed memory zone mismatches 2013-03-18 09:13:32 +01:00
Jan Steemann d1cde4457a wrapped some assertions into TRI_ASSERT_DEBUG 2013-03-15 19:00:59 +01:00
Jan Steemann b5895daabe fixed some printf format specifiers 2013-03-15 18:42:30 +01:00
Jan Steemann 51d8638164 typos 2013-03-15 18:16:47 +01:00
Jan Steemann b6f680cd46 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
Conflicts:
	arangod/VocBase/document-collection.c
2013-03-15 18:16:36 +01:00
Jan Steemann ab83c3ea29 some cleanup 2013-03-15 18:07:22 +01:00
Jan Steemann 312b5fda64 some refactoring of document CRUD operations 2013-03-15 17:58:56 +01:00
Frank Celler 71fbdf87cd Mac fixes 2013-03-15 15:46:17 +01:00
Frank Celler 7908f2b26d cleanup of indexes, fix for compaction (hash, cap, geo, skiplist, pq, bit-array)
Conflicts:
	arangod/Ahuacatl/ahuacatl-tokens.c
	arangod/BitIndexes/bitarray.c
	arangod/BitIndexes/bitarray.h
	arangod/BitIndexes/bitarrayIndex.c
	arangod/BitIndexes/bitarrayIndex.h
	arangod/BitIndexes/masterblocktable.h
	arangod/GeoIndex/geo-index.c
	arangod/HashIndex/hash-index.c
	arangod/PriorityQueue/pqueueindex.c
	arangod/PriorityQueue/pqueueindex.h
	arangod/PriorityQueue/priorityqueue.c
	arangod/PriorityQueue/priorityqueue.h
	arangod/SkipLists/compare.h
	arangod/SkipLists/skiplist.c
	arangod/SkipLists/skiplist.h
	arangod/SkipLists/skiplistIndex.c
	arangod/SkipLists/skiplistIndex.h
	arangod/V8Server/v8-query.cpp
	arangod/VocBase/compactor.c
	arangod/VocBase/document-collection.c
	arangod/VocBase/index.c
	arangod/VocBase/index.h
	arangod/VocBase/synchroniser.c
	arangod/VocBase/voc-shaper.c
	arangod/VocBase/vocbase.c
	lib/BasicsC/hashes.h
	lib/BasicsC/memory.c
	lib/ShapedJson/json-shaper.h
	lib/ShapedJson/shaped-json.h
	utils/cleanupCFiles
2013-03-15 15:45:39 +01:00
Frank Celler f9ba951999 fixed comments 2013-03-15 13:42:52 +01:00
Frank Celler b0fc77d83d Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-03-15 11:37:59 +01:00
Frank Celler c773a0e825 replaced union by CONST_CAST 2013-03-15 11:37:49 +01:00
Oreste Panaia c8ea7ddc8b prepartion for skiplist transactions 2013-03-15 18:26:15 +08:00
Oreste Panaia 36733eb19f preparation for skiplists supporting transactions 2013-03-15 18:12:20 +08:00
Frank Celler 714eaa9f5f removed unused variable 2013-03-14 17:08:18 +01:00
Jan Steemann c8c0db8657 downgrade error message 2013-03-14 16:41:51 +01:00
Jan Steemann 12a0bc787c empty string optimisations 2013-03-14 16:41:28 +01:00
Jan Steemann 61af5f27da added startup option `--database.force-sync-properties` 2013-03-14 13:48:58 +01:00
Jan Steemann ab14179ee7 made fsync configurable when writing json files 2013-03-14 12:33:25 +01:00
Jan Steemann 276627fd4c only free pointers if set 2013-03-14 11:51:51 +01:00
Frank Celler d76a085a04 fixed cleanup 2013-03-13 17:12:59 +01:00
Frank Celler 891cac01b2 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
Conflicts:
	arangod/VocBase/collection.c
2013-03-13 17:05:59 +01:00
Frank Celler 1aa5109fa3 updated disclaimer 2013-03-13 17:03:18 +01:00
a-brandt 62b72d17a1 #344 added missing support of array-url-parameters 2013-03-13 14:20:01 +01:00
Jan Steemann 836963ae00 less compaction 2013-03-12 18:17:27 +01:00
Jan Steemann 3527a77f18 remove temporary files when opening a collection 2013-03-12 14:52:25 +01:00
Jan Steemann 91c38f8425 delete temporary files on startup 2013-03-12 14:45:42 +01:00
Frank Celler c501d2e0b4 fixed rollback 2013-03-12 14:26:16 +01:00
Jan Steemann 88c2bcb6f5 removed unused variable 2013-03-12 12:56:39 +01:00
Jan Steemann 80f01892b7 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-03-12 12:56:03 +01:00
Jan Steemann 71b2587d96 added assertions for debugging 2013-03-12 12:55:52 +01:00
Frank Celler deee332a3d fixed geo-index remove 2013-03-12 12:50:05 +01:00
Frank Celler 1803f409b2 fixed skip list index
Conflicts:
	arangod/SkipLists/skiplistIndex.c
2013-03-12 11:13:22 +01:00
Jan Steemann 8888fe4cc5 dont truncate collection id in error message 2013-03-12 10:31:54 +01:00
Jan Steemann 9b688907f0 handle out of memory properly when open-iterating a collection 2013-03-12 10:26:35 +01:00
Jan Steemann 082244cbeb handle out of memory in voc-shaper 2013-03-12 09:20:56 +01:00
Frank Celler 8787bb7f00 replaced index update by remove/insert
Conflicts:
	arangod/HashIndex/hash-index.c
	arangod/VocBase/index.c
2013-03-11 14:23:23 +01:00
Jan Steemann 206681159f fixed memory zone mismatches 2013-03-11 11:10:08 +01:00
Jan Steemann 799d7f02ee fixed memory zones 2013-03-11 10:59:16 +01:00
Jan Steemann ab0752102d why? 2013-03-11 10:44:26 +01:00
Jan Steemann 6a4245b5c8 fixed deadlock 2013-03-11 10:37:17 +01:00
Jan Steemann 660610ae71 fixed memory zone mismatches 2013-03-11 10:30:54 +01:00
Jan Steemann d5855c0c1f fixed some memory zone mismatches 2013-03-11 10:25:09 +01:00
Frank Celler b8ef779aa7 fixed merge errors 2013-03-11 09:54:56 +01:00
Frank Celler c915bfa5ff cleanup of indexes, fix for compaction (hash, cap, geo)
Conflicts:
	arangod/VocBase/compactor.c
	arangod/VocBase/document-collection.c
	arangod/VocBase/synchroniser.c
	arangod/VocBase/vocbase.c
2013-03-11 09:49:58 +01:00
Jan Steemann af2d966559 fixed a typo 2013-03-08 22:31:17 +01:00
Jan Steemann b66a7492b9 addendum for issue #443 2013-03-08 22:30:35 +01:00
Jan Steemann 83c0326145 disallow specifying indexes on internal attributes (_key, _from, _to etc.).
This has never worked before and will never work, so return an error if this is tried
2013-03-08 17:26:47 +01:00
a-brandt b3c9654895 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-03-08 17:00:33 +01:00
Jan Steemann cd753182f1 fixed doxygen errors 2013-03-08 16:56:52 +01:00
a-brandt e952b28aab changed http return codes for document update and delete 2013-03-08 16:56:15 +01:00
Jan Steemann e6c28d50b3 cleanup: removed TRI_HAVE_ICU and internal.HAVE_ICU (always true) 2013-03-08 16:09:47 +01:00
Jan Steemann 99630450c2 removed checks for TRI_HAVE_ICU because ICU is a prerequisite for using ArangoDB 2013-03-08 16:03:54 +01:00
Jan Steemann 1ea4c1c4b0 issue #443 2013-03-08 15:16:29 +01:00
Jan Steemann 0a883f4076 merged some changes from trx branch into devel 2013-03-08 14:22:25 +01:00
Jan Steemann 8a6bac82ad removed headers->verify() because it was a non-op 2013-03-08 13:36:48 +01:00
Jan Steemann deb8946e1d added build date 2013-03-08 13:32:12 +01:00
Jan Steemann 2b97f97765 issue #212 2013-03-08 12:18:32 +01:00
Jan Steemann 5631314bc7 issue #212: added auto-increment support for collections
the feature can be used by creating a collection with the extra `keyOptions`
attribute as follows:

    db._create("mycollection", { keyOptions: { type: "autoincrement", offset: 1, increment: 10, allowUserKeys: true } });

The `type` attribute will make sure the keys will be auto-generated if no `_key` attribute is specified for a document.
The `allowUserKeys` attribute determines whether users might still supply own `_key` values with documents or if this
is considered an error.
The `increment` value determines the actual increment value, whereas the `offset` value can be used to seed to value
sequence with a specific starting value. This will be useful later in a multi-master setup, when multiple servers can use
different auto-increment seed values and thus generate non-conflicting auto-increment values.

The default values currently are:

- `allowUserKeys`: `true`
- `offset`: `0`
- `increment`: `1`

The only other available key generator type currently is `traditional`. The `traditional` key generator
will auto-generate keys in a fashion as ArangoDB always did (some increasing integer value, with a more or less unpredictable
increment value).

Note that for the `traditional` key generator there is no the option to disallow user-supplied keys and give the
server the sole responsibility for key generation.
2013-03-08 11:54:03 +01:00
Jan Steemann b307e4cd6d completed auto-increment key generator 2013-03-08 10:51:50 +01:00
Jan Steemann 5732ab8378 reduce the size for each collection struct
"path" attribute now has a max length of 512 bytes instead of 4K
2013-03-07 18:17:52 +01:00
Jan Steemann 0879cf8d15 added auto-increment key generator (not yet ready) 2013-03-07 18:17:35 +01:00
Jan Steemann a6dde1423d disallow defined, but non-string keys 2013-03-07 18:12:07 +01:00
Jan Steemann 4f59917201 added lost docs for collection.save() 2013-03-07 13:19:53 +01:00
Jan Steemann 092327058b potential solution for #438 (non-windows) 2013-03-07 10:50:40 +01:00
Jan Steemann 424ab3e759 removed redundant function 2013-03-07 01:30:34 +01:00
Jan Steemann a716f300a1 less strlen() calls 2013-03-07 00:58:08 +01:00
Jan Steemann a73d32c553 initialise lists to the correct size 2013-03-07 00:46:27 +01:00
Jan Steemann 529cf8c93e initialise vectors with basic sizes 2013-03-07 00:13:26 +01:00
Jan Steemann 1b2155baf8 minor AQL runtime optimisations 2013-03-06 22:31:03 +01:00
Jan Steemann 0fb397eabd adjusted startup output to be more compact, less verbose 2013-03-06 19:05:17 +01:00
Jan Steemann fbceb95f97 fixes 2013-03-06 17:38:31 +01:00
Jan Steemann 2a6180b5fe fixes 2013-03-06 17:10:52 +01:00
Jan Steemann d93c0693d0 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-03-06 14:33:40 +01:00
Jan Steemann bdf906ef89 fixed a memleak for barriers 2013-03-06 14:33:23 +01:00
a-brandt 82bf2bca17 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-03-06 14:06:07 +01:00
Jan Steemann 5098792b4f fixed invalid pointers when compacting deletion markers
fixed invalid pointers for updates
2013-03-06 14:02:32 +01:00
a-brandt 57c2eac80e Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-03-06 10:08:12 +01:00
Jan Steemann 01bf386e08 added test cases, fixed edge index key insertion 2013-03-06 09:38:59 +01:00
Frank Celler dfd20cd4e2 use TRI_AddGlobalVariableVocbase 2013-03-05 14:49:19 +01:00
a-brandt e41847c336 moved random generators and nonce functions to internal and crypto module 2013-03-04 16:18:00 +01:00
a-brandt 58148f33a4 changed nonce handling 2013-03-04 14:03:22 +01:00
Jan Steemann 2734060026 when compacting old markers, also adjust _key 2013-03-04 12:05:14 +01:00
a-brandt d6392971bf Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-03-04 09:06:45 +01:00
Frank Celler dd96bb4abd Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-03-03 22:40:55 +01:00
Frank Celler 60037971dc rewrote statistics 2013-03-03 22:39:41 +01:00
Jan Steemann d2469bf46d constified 2013-03-01 18:14:40 +01:00
Jan Steemann 486c2120bf fixed key URLs in arangob CRUD test case 2013-03-01 17:54:13 +01:00
a-brandt 354a540636 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-03-01 16:49:27 +01:00
a-brandt 8d78bb1c60 added rondom generator and nonce support 2013-03-01 16:48:37 +01:00
Jan Steemann f613c3c4d9 fixed race conditions when reading/deleting documents 2013-03-01 16:44:40 +01:00
Frank Celler f78dc0f5a6 added _admin/statistics and _admin/statistics-description 2013-03-01 13:40:49 +01:00
Jan Steemann 46a7f3e1a2 added AQL test case 2013-03-01 11:09:36 +01:00
Jan Steemann bacdbed093 more throughput with parallel deletes/inserts 2013-03-01 10:35:39 +01:00
Jan Steemann 1fde3ad1e9 fixed optimiser problem with PATHS 2013-03-01 10:11:38 +01:00
Jan Steemann 8d496dd701 fixed memleaks in cause of collection loading errors 2013-03-01 10:10:41 +01:00
Oreste Panaia 478a61f551 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-02-28 21:36:39 +08:00
Oreste Panaia fc5e1ba623 merge conflicts with devel 2013-02-28 19:42:58 +08:00
Jan Steemann 8ec5735418 added tests for SUM(), MEDIAN() etc. 2013-02-28 10:56:52 +01:00
Oreste Panaia a48696ec28 network modifications required for windows 2013-02-28 17:43:39 +08:00
Jan Steemann 14c3863a17 added tests for LEFT(), RIGHT() 2013-02-28 09:38:03 +01:00
Jan Steemann 47bce0a0b4 issue #436 2013-02-27 14:47:05 +01:00
Jan Steemann 16586c6ee1 make AQL REVERSE() work on strings, too 2013-02-27 14:16:40 +01:00
Frank Celler a79279445a Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-02-26 18:20:27 +01:00
Jan Steemann ebc653a0bd issue #435 2013-02-26 12:11:13 +01:00
Frank Celler 85d2e87154 added new package option 2013-02-25 18:15:32 +01:00
Jan Steemann 54449494bc issue #432: added option to turn off statistics gathering
without recompilation
2013-02-25 17:43:13 +01:00
Jan Steemann bed09cbbe2 fixed deleting indexes by numeric id 2013-02-25 13:52:50 +01:00
Jan Steemann b3f52d0bfc fixed dropping of indexes 2013-02-25 13:36:17 +01:00
Jan Steemann 71459b680f issue #426 2013-02-22 23:26:52 +01:00
Frank Celler 11cfadbf05 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-02-22 21:36:21 +01:00
Frank Celler 3af1f5c2e8 new documentation format for REST calls, hopefully allowing swagger.it like output 2013-02-22 21:36:11 +01:00
Jan Steemann 7f3a54f4cd removed resultgenerator and variant stuff for document operations 2013-02-22 16:44:28 +01:00
Frank Celler 85cc2fc3f3 Merge branch '1.2' of github.com:triAGENS/ArangoDB into devel 2013-02-22 14:47:37 +01:00
Jan Steemann be9fefa9d0 fix warning in conditional compilation (--disable-logger) 2013-02-22 14:20:26 +01:00
Oreste Panaia 5f95545dc2 attempt to remove compile warning message 2013-02-22 20:43:56 +08:00
Frank Celler 1b69e1bb6c regenerated files 2013-02-21 14:27:31 +01:00
Frank Celler fe9f10af8d Merge branch 'devel' of github.com:triAGENS/ArangoDB into 1.2
Conflicts:
	CHANGELOG
	Documentation/Manual/arangodb_1.2_shell_reference_card.pdf
	Makefile.in
	aclocal.m4
	config/compile
	config/config.guess
	config/config.sub
	config/depcomp
	config/missing
	configure
	lib/JsonParser/json-parser.c
2013-02-21 14:21:59 +01:00
Frank Celler 2553b572ab fixed mode 2013-02-21 14:14:20 +01:00
Oreste Panaia 2c12f63d7f libev interface 2013-02-19 20:58:21 +08:00
Jan Steemann a417429fba fixed memory-zone mismatch 2013-02-19 13:25:47 +01:00