1
0
Fork 0
Commit Graph

57 Commits

Author SHA1 Message Date
Jan Steemann 6f3b4725f6 removed hash array statistics 2014-03-12 19:56:23 +01:00
Jan Steemann fd08bb0feb use indexes in AQL 2014-02-28 13:50:39 +01:00
Jan Steemann 4fc8cae57d index creation with ids 2014-02-13 11:00:08 +01:00
Jan Steemann 70988aa215 removed withStats option 2014-02-13 08:48:22 +01:00
Jan Steemann 9a1aa7a4cc removed superfluous error codes 2013-11-22 13:49:05 +01:00
Jan Steemann c5e9538547 Merge remote-tracking branch 'origin/devel' into inline-shapes
Conflicts:
	arangod/VocBase/document-collection.c
2013-11-14 01:01:24 +01:00
Max Neunhoeffer e257f9dd92 Add the option to return numUsed for each index in getIndexes.
This is currently implemented only for skip list indices and hash
indices, but not for full text, geo or bitarray, since these do not
export or even count this number.
2013-11-13 12:49:23 +01:00
Jan Steemann 978c12815a share basic shape types 2013-11-05 20:21:48 +01:00
Jan Steemann 0a6148f2d6 fixed some VS complaints 2013-10-16 17:27:35 +02:00
Jan Steemann 88f3830c53 refuse to start if no app path is set 2013-10-09 14:07:47 +02:00
Jan Steemann 8a996c5b60 less dependency on regex.h, also fixes some speed problems for key validation 2013-09-19 08:20:35 +02:00
Jan Steemann 4a2626525c async dropping of databases 2013-09-12 11:00:11 +02:00
Jan Steemann 970619d6ee do not traverse invalid memory for hash index results 2013-07-02 17:16:35 +02:00
Jan Steemann 64cfc7ccae fixed compiler warnings 2013-06-28 17:10:42 +02:00
Jan Steemann 8063ade2be fixed issues reported by cppcheck 2013-06-21 19:40:57 +02:00
Jan Steemann f5d87e32c1 init variables 2013-06-06 20:28:21 +02:00
Jan Steemann e3cc4628bc removed unused define 2013-06-06 12:07:04 +02:00
Frank Celler 57e7224494 fixed ordering 2013-03-23 17:54:35 +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 9a4a0e5dfb fixed memory zone mismatches 2013-03-18 09:13:32 +01:00
Jan Steemann 51d8638164 typos 2013-03-15 18:16:47 +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
Jan Steemann 276627fd4c only free pointers if set 2013-03-14 11:51:51 +01:00
Frank Celler c501d2e0b4 fixed rollback 2013-03-12 14:26:16 +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 799d7f02ee fixed memory zones 2013-03-11 10:59:16 +01:00
Jan Steemann d5855c0c1f fixed some memory zone mismatches 2013-03-11 10:25:09 +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
Frank Celler 2553b572ab fixed mode 2013-02-21 14:14:20 +01:00
Jan Steemann 3b547f9416 fixed invalid error codes when inserting into multi-hash index failed 2013-01-30 22:12:47 +01:00
Frank Celler 621e4409bc Merge remote-tracking branch 'origin/1.1' into devel
Conflicts:
	.gitignore
	CHANGELOG
	Documentation/Makefile.files
	Installation/build.sh
	Installation/epm/arangodb.list
	Makefile.in
	README
	README.md
	VERSION
	aclocal.m4
	arangod/HashIndex/hasharray.c
	arangod/RestServer/ArangoServer.cpp
	arangod/V8Server/ApplicationV8.cpp
	config/config.guess
	config/config.sub
	config/depcomp
	configure
	configure.ac
	html/admin/js/master.js
	js/server/arango-password.js
	js/server/version-check.js
	lib/BasicsC/files.c
	lib/BasicsC/logging.c
	utils/Makefile.files
2012-12-18 13:37:34 +01:00
Jan Steemann 4d04853597 fixed #311 2012-12-04 20:49:58 +01:00
Jan Steemann 7c94afad4f fixed issue #311 2012-12-04 20:44:07 +01:00
Jan Steemann 1811ce9186 fixed some issues found by cppcheck 2012-12-04 18:21:29 +01:00
Frank Celler 249492a89c Merge remote-tracking branch 'origin/1.1' into devel
Conflicts:
	CHANGELOG
	Documentation/Manual/GlossaryCollectionName.md
	Documentation/Manual/NewFeatures11.md
	Documentation/UserManual/FirstStepsArangoDB.md
	VERSION
	arangod/Documentation/api-blueprints.dox
	arangod/HashIndex/hasharray.c
	arangod/RestHandler/RestVocbaseBaseHandler.cpp
	arangod/RestServer/ArangoServer.cpp
	arangod/V8Server/v8-actions.cpp
	arangod/V8Server/v8-vocbase.cpp
	arangod/VocBase/compactor.c
	arangod/VocBase/document-collection.c
	configure.ac
	html/admin/js/master.js
	js/server/ahuacatl.js
	js/server/arango-upgrade.js
	lib/BasicsC/voc-errors.h
	lib/V8/V8LineEditor.cpp
	lib/V8/v8-utils.cpp
2012-11-27 12:34:58 +01:00
Jan Steemann b2faa016a6 fixed gcc compile warnings 2012-11-22 21:34:41 +01:00
Jan Steemann aaf34f44f4 fixed lots of compile warnings 2012-11-22 21:20:22 +01:00
Frank Celler 3b5a0967bc Merge branch '1.1' of github.com:triAGENS/ArangoDB into devel
Conflicts:
	CHANGELOG
	Documentation/Makefile.files
	Installation/build.sh
	arangod/Documentation/communication.dox
	arangod/HashIndex/hasharray.c
	arangod/HashIndex/hashindex.c
	lib/Rest/Endpoint.cpp
	lib/Rest/Endpoint.h
	lib/Rest/EndpointIp.h
	lib/Rest/EndpointIpV4.h
	lib/Rest/EndpointIpV6.h
	lib/Rest/EndpointUnixDomain.cpp
2012-10-20 22:37:25 +02:00
Jan Steemann 83b9001f62 removed many unused variables 2012-10-17 18:50:17 +02:00
Jan Steemann 937168d098 slightly less comparisons 2012-10-17 17:51:19 +02:00
Jan Steemann a5402ee458 comments 2012-10-17 17:02:45 +02:00
Jan Steemann 58c9eada7b fixed hasharray bug introduced yesterday 2012-10-17 11:49:46 +02:00
Jan Steemann 7716a6a0e3 fixed hasharray bug introduced yesterday 2012-10-17 11:49:02 +02:00
Jan Steemann c5996869b6 hash index fixes 2012-10-16 17:43:22 +02:00
Jan Steemann 7b9bdd3357 slight refactoring of hash indexes
made internal statistics counters conditional (not compiled in by default)
align hash array entries on cache line boundary
preallocate big enough hash table when a hash index is created for an existing collection
2012-10-16 17:15:14 +02:00
Jan Steemann 0beeeb6c2a reduce element size in hash index 2012-10-16 15:15:31 +02:00
Jan Steemann 94057c0d0a sizeof(hash element) /= 2 2012-10-16 13:48:03 +02:00
Jan Steemann e1c46efdd9 fixed uint32_t overrun on hash index entry address calculation 2012-10-15 15:59:01 +02:00
Jan Steemann 2fc2693ddc fixed uint32_t overrun in hash index address calculation 2012-10-15 15:57:29 +02:00