1
0
Fork 0
Commit Graph

1338 Commits

Author SHA1 Message Date
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
Jan Steemann 4f37fada0d some mini-modifications for slightly higher throughput 2013-02-19 09:54:36 +01:00
Jan Steemann 382047dbd6 issue #404 2013-02-18 14:28:19 +01:00
Jan Steemann 216f04927b potential fix for issue #411 2013-02-18 10:35:32 +01:00
Frank Celler ced7b05cca added fix for TRI_ENABLE_LOGGING from Jan 2013-02-16 14:03:35 +01:00
Jan Steemann 21e5a5e555 fixed typo in comment 2013-02-15 17:55:45 +01:00
Frank Celler 78ba7acb17 generated files 2013-02-15 13:22:02 +01:00
Frank Celler 7072fab0f1 fixed merge error 2013-02-15 13:10:46 +01:00
Frank Celler cf2888b4fc Merge branch 'devel' of github.com:triAGENS/ArangoDB into 1.2
Conflicts:
	CHANGELOG
	Documentation/Manual/Upgrading12.md
	Installation/Linux/rc.arangod.OpenSuSE
2013-02-15 12:59:16 +01:00
Frank Celler 45c815b7eb fixed issue #403: Usage of exit() etc. 2013-02-15 12:19:09 +01:00
Frank Celler cf9a942417 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
Conflicts:
	CHANGELOG
2013-02-15 11:52:53 +01:00
Frank Celler e4d1c8a6bd partly fix for issue #333: [debian] Group arangodb is not used when starting vie init.d script 2013-02-15 11:50:05 +01:00
Jan Steemann d321f32523 moved some const value out of loop 2013-02-15 11:35:48 +01:00
Jan Steemann 2543eeca2d moved containsMore member 2013-02-15 10:26:02 +01:00
Jan Steemann 0a00760907 performance patch, improving parallelity for concurrent document creation 2013-02-14 17:18:28 +01:00
Frank Celler dd1657a1f8 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-02-14 16:47:45 +01:00
Frank Celler 069dcdfc94 changed logging of fatal errors 2013-02-14 16:47:35 +01:00
Jan Steemann 3e04acf3ee added AQL functions KEEP() and UNSET() 2013-02-14 16:14:22 +01:00
Jan Steemann 831b84ab2e fixed issue #348 2013-02-14 15:19:08 +01:00
Jan Steemann 72fea38943 fix compile warnings 2013-02-13 22:20:04 +01:00
Jan Steemann 8b79f6e2b6 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-02-13 18:05:44 +01:00
Jan Steemann 5c922cca02 fixed compile warnings with conditional compilation 2013-02-13 18:00:35 +01:00
Frank Celler 83ef8421c0 fixed padding for 32bit systems 2013-02-13 15:33:20 +01:00
Jan Steemann f00bf9c8d2 be more strict with numeric limits 2013-02-13 12:08:59 +01:00
Jan Steemann 0f29e2b7dd pass request body to user-defined PATCH action 2013-02-12 18:17:07 +01:00
Jan Steemann 8365c4294c small mods 2013-02-12 18:16:23 +01:00
Jan Steemann f569639445 pass body to user action code for HTTP PATCH calls 2013-02-12 18:05:08 +01:00
Jan Steemann 0f8dc061cb comments 2013-02-12 16:30:13 +01:00
Jan Steemann afbc5da1de issue #395 2013-02-12 12:05:04 +01:00
Jan Steemann 3f4ab48305 issue #395 2013-02-12 12:05:04 +01:00
Jan Steemann 672a5c6c0f issue #395 2013-02-12 12:05:04 +01:00
Jan Steemann e02333a053 issue #395 2013-02-12 12:01:20 +01:00
Jan Steemann ca84aacd1d issue #395 2013-02-12 11:47:43 +01:00
Jan Steemann 861a2e6b25 issue #395 2013-02-12 11:46:55 +01:00
Frank Celler 77c3b233dc moved .dox to .md 2013-02-09 23:37:34 +01:00
Frank Celler 8fdb571728 moved .dox to .md 2013-02-09 22:37:14 +01:00
Frank Celler 23c1fb6023 moved .dox to .md 2013-02-09 22:16:40 +01:00
Frank Celler 7bf02ccf64 moved .dox to .md 2013-02-09 21:57:41 +01:00
Frank Celler 6ef349c473 moved .dox to .md 2013-02-09 21:42:20 +01:00
a-brandt ad570cf6c9 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-02-08 14:20:33 +01:00
a-brandt 4daf9d618b added "v8::V8::LowMemoryNotification()" before "while (!v8::V8::IdleNotification())" to trigger V8 GC 2013-02-08 14:20:12 +01:00
Jan Steemann ca81913abb added AQL function EDGES() 2013-02-07 22:53:50 +01:00
Jan Steemann 8eea104b39 remove 1.2 & 1.1 travis builds 2013-02-07 17:19:58 +01:00
Jan Steemann 3e140ec74a added a note about filesystems 2013-02-07 13:42:07 +01:00
Jan Steemann 51638a1a93 wrote new features 12 2013-02-07 12:55:06 +01:00
Frank Celler c2f2b7d0f0 converting .dox to .md 2013-02-06 23:29:02 +01:00
Frank Celler 3a389ffdae converting .dox to .md 2013-02-06 23:24:20 +01:00
Frank Celler 7164f0a362 converting .dox to .md 2013-02-06 18:20:38 +01:00
Frank Celler 05a70a236f converting .dox to .md 2013-02-06 18:05:45 +01:00
Frank Celler cc3f1939e9 converting .dox to .md 2013-02-06 17:51:38 +01:00
Frank Celler 366452a8c2 converting .dox to .md 2013-02-06 17:45:38 +01:00
Frank Celler df8fe7bf23 converting .dox to .md 2013-02-06 17:40:44 +01:00
Frank Celler 43ca4855d9 converting .dox to .md 2013-02-06 17:40:03 +01:00
Frank Celler 23a14fdb3b converting .dox to .md 2013-02-06 17:31:01 +01:00
Frank Celler 35819ea70e converting .dox to .md 2013-02-06 17:27:58 +01:00
Frank Celler 2be9e32a7b converting .dox to .md 2013-02-06 17:09:57 +01:00
Frank Celler fedda95c48 converting .dox to .md 2013-02-06 16:54:45 +01:00
Frank Celler 82c483afe6 converting .dox to .md 2013-02-06 16:47:53 +01:00
Frank Celler b9440c338a converting .dox to .md 2013-02-06 16:40:55 +01:00
Frank Celler f9d79280b1 converting .dox to .md 2013-02-06 16:33:29 +01:00
Frank Celler 5f01704256 converting .dox to .md 2013-02-06 16:14:54 +01:00
Jan Steemann 74c37726d2 moved graph API manual section 2013-02-06 14:48:24 +01:00
Jan Steemann 7273af5c53 fixed arango-dfdb to not segfault that often when reading corrupt datafile 2013-02-06 14:26:18 +01:00
Jan Steemann dbcc86171f added more crash-protection when reading corrupted collection files at startup 2013-02-06 12:34:53 +01:00
Jan Steemann f16f88a2e6 added docs for CONTAINS(), added LIKE() 2013-02-06 11:40:45 +01:00