1
0
Fork 0
Commit Graph

1968 Commits

Author SHA1 Message Date
Jan Steemann 520d2b7294 renamed objectLock to inventoryLock 2013-07-27 11:34:30 +02:00
Jan Steemann 384438ec7f removed unused elements 2013-07-27 00:57:02 +02:00
Jan Steemann 16b7b82266 updated type 2013-07-26 09:43:05 +02:00
Jan Steemann 3b57e80241 simplified HTTP import API 2013-07-25 18:24:21 +02:00
Jan Steemann 9de2910717 updated replication documentation 2013-07-25 16:32:11 +02:00
Jan Steemann 051e898a8a updated replication documentation 2013-07-25 14:13:53 +02:00
Jan Steemann 378e8313f3 added replication docs 2013-07-25 10:54:04 +02:00
Jan Steemann 8a254ea230 replication API documentation 2013-07-24 17:37:16 +02:00
Jan Steemann 39195af4c5 easier generation of swagger API docs 2013-07-24 15:24:27 +02:00
Jan Steemann 4f14062d10 replication tests 2013-07-24 15:22:45 +02:00
Jan Steemann 33f1bd87dd renaming 2013-07-23 18:32:26 +02:00
Jan Steemann 1ef0784b91 added "rev" 2013-07-23 18:08:23 +02:00
Jan Steemann 0adbe8410f log "rev" 2013-07-23 18:00:29 +02:00
Jan Steemann 47c8b7bfc8 fixed leaks 2013-07-23 15:37:12 +02:00
Jan Steemann 5fe1844ee1 replication tests 2013-07-23 15:03:59 +02:00
Jan Steemann bf12b6ec5a fixed journalSize 2013-07-23 11:57:56 +02:00
Jan Steemann f49ae77bc5 include replication tests 2013-07-23 11:19:41 +02:00
Jan Steemann f193015b5f fixed assertion 2013-07-23 10:01:20 +02:00
Jan Steemann 1c78c4bf40 added dataMin/dataMax stats for datafiles 2013-07-23 09:24:32 +02:00
Jan Steemann 149d4fe9d0 fixed memory zone mismatch 2013-07-23 09:24:17 +02:00
Jan Steemann d1a397b9af indentation 2013-07-23 09:08:26 +02:00
Jan Steemann 444a110b72 added timestamp 2013-07-22 18:52:43 +02:00
Jan Steemann 951f104f0e client id logging 2013-07-22 18:42:54 +02:00
Jan Steemann 2991510927 fixed an overrun 2013-07-22 18:36:45 +02:00
Jan Steemann 5de07a7d67 track client ids 2013-07-22 18:22:16 +02:00
Jan Steemann 539954894f log last access time of clients 2013-07-22 18:13:21 +02:00
Jan Steemann c4f82088dd replication tests 2013-07-22 18:12:56 +02:00
Jan Steemann d0961244c6 added range support for AQL 2013-07-19 18:38:13 +02:00
Jan Steemann 2a762ce1f7 replication logger tests 2013-07-19 17:22:06 +02:00
Jan Steemann 3ab117de67 added collection.first() and collection.last() 2013-07-19 14:21:46 +02:00
Jan Steemann 2552d3f389 fixed compiler warnings 2013-07-19 10:54:52 +02:00
Jan Steemann 937c843c38 added AQL INTERSECTION function 2013-07-18 16:43:31 +02:00
Jan Steemann 05860edd2f better output for explain 2013-07-18 15:06:16 +02:00
Jan Steemann e359dc29dd INCOMPATIBLE CHANGE: changed AQL user function namespace resolution operator from `:` to `::`
AQL user-defined functions were introduced in ArangoDB 1.3, and the namespace resolution
operator for them was the single colon (`:`). A function call looked like this:

    RETURN mygroup:myfunc()

The single colon caused an ambiguity in the AQL grammar, making it indistinguishable from
named attributes or the ternary operator in some cases, e.g.

    { mygroup:myfunc ? mygroup:myfunc }

The change of the namespace resolution operator from `:` to `::` fixes this ambiguity.

Existing user functions in the database will be automatically fixed when starting ArangoDB
1.4 with the `--upgrade` option. However, queries using user-defined functions need to be
adjusted on the client side to use the new operator.
2013-07-18 12:02:28 +02:00
Jan Steemann 088d8aebf8 more tailored AQL error messages in case collection cannot be found 2013-07-18 10:48:02 +02:00
Jan Steemann d6dff8ee2b removed unused function 2013-07-18 02:32:25 +02:00
Jan Steemann 5cf234b40d simplified query testing and query interface a bit 2013-07-18 02:15:22 +02:00
Jan Steemann c61395dff6 added single line comments for AQL 2013-07-17 15:12:53 +02:00
Jan Steemann 781514f78d added timestamps 2013-07-17 14:06:40 +02:00
Jan Steemann 08b9f57166 stoppable replication applier 2013-07-17 10:58:10 +02:00
Oreste Panaia 7ae004895f enum name change due to conflict on windows 2013-07-16 16:16:07 +08:00
Oreste Panaia b4acec0fe6 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-07-15 22:54:38 +08:00
Jan Steemann b5e26235a7 replication configuration 2013-07-12 17:37:24 +02:00
Oreste Panaia b8163e79c4 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-07-12 22:40:37 +08:00
Jan Steemann dcd8b63db3 added configuration 2013-07-12 15:40:18 +02:00
Jan Steemann 0266e2339a replication apply state tracking 2013-07-12 15:06:52 +02:00
Jan Steemann 9137c57cb3 fixed compiler warning 2013-07-12 08:57:19 +02:00
Jan Steemann 1f564ef6ae linkage between C and C++ 2013-07-11 17:50:48 +02:00
Jan Steemann 98c33a943b removed unused files 2013-07-11 14:47:00 +02:00
Jan Steemann 98dd1c2522 moved replication parts into separate files 2013-07-11 14:44:09 +02:00
Jan Steemann ec9589b44c sync last write of replication 2013-07-11 10:15:22 +02:00
Jan Steemann bba497a76c cppcheck 2013-07-11 10:15:02 +02:00
Jan Steemann 746a4fddbc suppress compile warnings due to unused variables 2013-07-11 10:02:40 +02:00
Jan Steemann 80362ec82f fixed issues reported by cppcheck 2013-07-11 10:02:27 +02:00
Jan Steemann 3f718ef0fa fixed some issues in replication 2013-07-10 18:08:18 +02:00
Jan Steemann 29385b0b4a continuously save apply state 2013-07-10 17:29:17 +02:00
Jan Steemann 7cb90e675e fixed memory leak 2013-07-10 17:00:53 +02:00
Jan Steemann ca6b184286 added TRI_JSON_STRING_REFERENCE 2013-07-10 17:00:29 +02:00
Jan Steemann 222e9c0c42 create JSON structs on stack 2013-07-10 12:42:08 +02:00
Jan Steemann 7ef7ad297f added TRI_StealStringBuffer() 2013-07-10 12:02:42 +02:00
Jan Steemann 3cc4405c18 added collection.checksum() 2013-07-10 11:10:00 +02:00
Jan Steemann 25a8ab6c59 handle transactions 2013-07-09 18:36:23 +02:00
Jan Steemann c87eac71fd intermediate commit 2013-07-09 18:25:20 +02:00
Jan Steemann 60907e6f56 fixed compiler warning 2013-07-09 16:43:01 +02:00
Jan Steemann d283f4d32d Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-07-09 16:41:55 +02:00
Jan Steemann c5e693c814 create/drop collections/indexes 2013-07-09 16:41:46 +02:00
Jan Steemann 4749f2b7c0 changed replication log format 2013-07-09 16:41:07 +02:00
Jan Steemann 304d6dc3ab change type to number 2013-07-09 14:37:38 +02:00
Jan Steemann a7c1ee0191 less lock 2013-07-09 13:36:38 +02:00
Jan Steemann 9fa91447ce renamed attributes 2013-07-09 12:58:10 +02:00
Jan Steemann 9290838dd2 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-07-09 11:16:26 +02:00
Jan Steemann 1f30c592f3 follow logs 2013-07-09 11:16:17 +02:00
Jan Steemann ca94bf3f39 replication 2013-07-09 11:15:58 +02:00
Jan Steemann 72c4d319cc incremental fetching, doing nothing 2013-07-08 17:21:05 +02:00
Jan Steemann beedcc34b9 log dump 2013-07-08 16:58:16 +02:00
Jan Steemann 48d851bb7b log dump 2013-07-08 16:33:47 +02:00
Jan Steemann dfd9117fd1 some cleanup, initial implementation of log dump 2013-07-08 12:27:20 +02:00
Oreste Panaia 752a60025c merge conflicts 2013-07-08 16:47:39 +08:00
Oreste Panaia a7661542a2 windows 2012 fixes 2013-07-08 16:44:32 +08:00
Jan Steemann 3f73009410 add indexes after data xfer 2013-07-05 17:57:33 +02:00
Jan Steemann d79d95a3a7 moved attribute names to defines 2013-07-05 14:41:23 +02:00
Jan Steemann ebb121b44a sync all collection markers 2013-07-05 13:59:48 +02:00
Jan Steemann a07d2ea011 replication 2013-07-05 12:12:38 +02:00
Jan Steemann 054ed3ca3f apply collection data dumps 2013-07-05 11:41:37 +02:00
Jan Steemann a33dcede42 data synchronisation 2013-07-04 17:56:54 +02:00
Jan Steemann 6249b1d5ab memory zone fix 2013-07-04 17:13:05 +02:00
Jan Steemann 10327f0870 initial code for collection data dump 2013-07-04 16:55:46 +02:00
Jan Steemann a0c1308edb initial synching of collections 2013-07-04 15:53:51 +02:00
Jan Steemann f5968a4646 handle a master's state response 2013-07-04 10:13:09 +02:00
Jan Steemann 8b8cd1fc74 stubs 2013-07-03 17:47:37 +02:00
Jan Steemann a2e7cc1043 added stub for ReplicationFetcher 2013-07-03 16:44:13 +02:00
Jan Steemann 22b859ad81 initialise _json 2013-07-03 16:21:44 +02:00
Jan Steemann c794060673 changed memory zone 2013-07-03 16:16:51 +02:00
Jan Steemann 82b82c70be fixed compiler warning 2013-07-03 15:45:30 +02:00
Jan Steemann 7967936f67 added server id to output 2013-07-03 15:42:34 +02:00
Jan Steemann f4b62f78d3 exclude failed operations from dump 2013-07-03 15:16:05 +02:00
Jan Steemann 3fa6c511d3 keep a list of failed transactions 2013-07-03 12:41:28 +02:00
Jan Steemann e84b9b9204 indentation 2013-07-03 12:39:54 +02:00
Jan Steemann cd3593427c less syncs 2013-07-03 10:53:12 +02:00
Jan Steemann ebcf63d1cc error handling 2013-07-03 10:53:03 +02:00
Jan Steemann 35da795446 handle failure in case indexes are added 2013-07-03 10:49:57 +02:00
Jan Steemann 554c8def0c fixed ambiguous situation during primary key insertion 2013-07-03 10:36:01 +02:00
Jan Steemann 613652126e less syncing of shapes, faster creation of collections 2013-07-03 09:57:07 +02:00
Jan Steemann 74489d9f93 OOM handling 2013-07-02 17:33:31 +02:00
Jan Steemann 8f27323f61 handle OOM 2013-07-02 17:21:45 +02:00
Jan Steemann 5b1f9f2a14 handle OOM 2013-07-02 17:21:07 +02:00
Jan Steemann 40b7f372f9 handle OOM 2013-07-02 17:20:51 +02:00
Jan Steemann a35de51042 handle OOM 2013-07-02 17:19:03 +02:00
Jan Steemann 678cc23935 handle OOM 2013-07-02 17:17:52 +02:00
Jan Steemann 970619d6ee do not traverse invalid memory for hash index results 2013-07-02 17:16:35 +02:00
Jan Steemann bcf1a70c77 changed memory zone 2013-07-02 17:10:25 +02:00
Jan Steemann ae4b1330ea changed memory zone 2013-07-02 17:10:04 +02:00
Jan Steemann 820324f10c avoid double freeing 2013-07-02 17:09:21 +02:00
Jan Steemann 20786db859 fixed memory errors 2013-07-02 17:08:59 +02:00
Jan Steemann ef8d26d30e changed memory zone 2013-07-02 17:07:53 +02:00
Jan Steemann cfd1551f51 object lock 2013-07-01 17:55:09 +02:00
Jan Steemann 63d739b0aa added objLock 2013-06-28 19:15:42 +02:00
Jan Steemann 7a7d833b18 intermediate commit 2013-06-28 19:04:08 +02:00
Jan Steemann c2de84fd45 improved error message 2013-06-28 19:02:40 +02:00
Jan Steemann 64cfc7ccae fixed compiler warnings 2013-06-28 17:10:42 +02:00
Jan Steemann d89262dc6a incremental collection dump 2013-06-28 12:07:13 +02:00
Jan Steemann 4b758eb0e8 moved functions 2013-06-28 10:25:45 +02:00
Jan Steemann 61c43a47b7 fixed queries 2013-06-28 09:54:05 +02:00
Jan Steemann cf10b0e8ff added missing ifdefs 2013-06-27 19:28:53 +02:00
Jan Steemann b643ff4b43 added dump command 2013-06-27 19:26:10 +02:00
Jan Steemann 1cb3296e70 implemented start/stop HTTP methods for replication 2013-06-27 16:10:01 +02:00
Jan Steemann 2115d97036 added simple start/stop functionality for replication 2013-06-27 15:21:14 +02:00
Jan Steemann 7cc7f2d28e added authentication tests, fixed authentication 2013-06-27 13:53:19 +02:00
Jan Steemann 44eddc05c7 updated documentation for --server.authenticate-system-only 2013-06-27 11:32:43 +02:00
Jan Steemann 14422986e0 added option --server.authenticate-system-only 2013-06-26 23:23:37 +02:00
Jan Steemann f7fcd6119d added tests for special collections 2013-06-26 17:46:43 +02:00
Jan Steemann aa5a20784b removed comments about barrier 2013-06-26 12:06:19 +02:00
Jan Steemann 0de3bd4213 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-06-26 12:05:11 +02:00
Jan Steemann 6e9c3e8e2c replication logging 2013-06-26 12:04:55 +02:00
Jan Steemann 1b01bced08 updated CHANGELOG 2013-06-25 17:31:11 +02:00
Jan Steemann 81b94bff94 added missing error handling for importing edges 2013-06-25 16:22:10 +02:00
Jan Steemann cffe8cf4eb added string sizes 2013-06-25 09:57:03 +02:00
Jan Steemann 2cf2bdc906 move shaper initialisation 2013-06-25 09:56:44 +02:00
Jan Steemann 8f15e31076 comments 2013-06-24 20:55:45 +02:00
Jan Steemann b2ce00f8a9 indenting 2013-06-24 19:24:21 +02:00
Jan Steemann 865597b8c2 indenting 2013-06-24 19:24:09 +02:00
Jan Steemann 0f7c632f0f less strlen 2013-06-24 17:31:37 +02:00
Jan Steemann 71a69d0997 fixed compile warning 2013-06-24 16:28:53 +02:00
Jan Steemann 93a6ed8b08 potential fix for #554 2013-06-24 15:59:29 +02:00
Jan Steemann 8b62c479f2 more asserts 2013-06-24 15:59:21 +02:00
Jan Steemann ebc61295e7 more assertions 2013-06-24 14:25:21 +02:00
Jan Steemann b2e5888db9 add unload protection when there are this barriers in the barrier list 2013-06-24 13:50:23 +02:00
Jan Steemann 4c88adc054 potential fix for issue #554 2013-06-24 10:46:13 +02:00
Jan Steemann 5c1fc950d4 reset pointer after freeing 2013-06-22 02:48:13 +02:00
Jan Steemann ae5b06176e indentation 2013-06-22 02:45:07 +02:00
Jan Steemann 654ea77f25 extended cap constraints with size constraints 2013-06-22 02:44:48 +02:00
Jan Steemann 2d7edbef96 added db._exists() 2013-06-21 21:50:00 +02:00
Jan Steemann d2a0d17c2a indenting 2013-06-21 21:24:42 +02:00
Jan Steemann 4c716aee0e fixed 1.2 upgrade under 32 bits 2013-06-21 20:22:23 +02:00
Jan Steemann 9f804ed83d typos 2013-06-21 19:41:43 +02:00
Jan Steemann 8063ade2be fixed issues reported by cppcheck 2013-06-21 19:40:57 +02:00
Jan Steemann 140fc280e6 free later 2013-06-21 17:46:06 +02:00
Jan Steemann e0f7eb9df7 fixed invalid unlocking 2013-06-21 11:22:04 +02:00
Jan Steemann 1691cf4036 fixed issues reported by Valgrind 2013-06-21 10:26:48 +02:00
Jan Steemann e07e168bec indentation fix 2013-06-21 10:26:11 +02:00
Jan Steemann 30a747f3ef fixed client-side tests 2013-06-20 19:15:30 +02:00
Jan Steemann b1f243d296 fixed segfault for too big shapes, make shape collection filesize adaptive 2013-06-20 19:14:14 +02:00
Jan Steemann d9c0d588f9 added internal.adminDirectory 2013-06-20 15:47:48 +02:00
Jan Steemann d617e86437 ensure proper order of _tick values in datafiles 2013-06-20 14:33:41 +02:00
Jan Steemann 0ddeb23df0 added comments 2013-06-19 16:51:41 +02:00
Jan Steemann 314a0f926a added assertion 2013-06-19 16:51:35 +02:00
Jan Steemann 9dfb7483ff "doCompact" attribute for collections 2013-06-19 16:51:16 +02:00
Jan Steemann 2bd699045f move free() out of critical section 2013-06-19 15:44:52 +02:00
Jan Steemann 55b20b2858 removed unused function 2013-06-19 15:42:26 +02:00
Jan Steemann 2ef2f60cc4 removed unused section 2013-06-19 14:04:24 +02:00
a-brandt 69fd2b5bb1 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-06-13 10:48:45 +02:00
a-brandt 9fa28224e8 added PARSE_DATETIME function 2013-06-13 10:48:05 +02:00
Oreste Panaia 81f20c7ba0 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-06-12 17:03:29 +08:00
a-brandt c9cb2a2008 deleted unused variable 2013-06-12 09:12:07 +02:00
a-brandt 8850add4e5 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-06-11 17:20:32 +02:00
a-brandt 3cc5843247 deleted _path 2013-06-11 17:16:04 +02:00
a-brandt 9d29619897 deleted function TRI_WrapVocBase 2013-06-11 11:17:55 +02:00
a-brandt d9fc2a6c60 Merge branch 'devel' into multiple_databases
Conflicts:
	arangod/V8Server/v8-vocbase.cpp
	arangod/VocBase/primary-collection.c
2013-06-11 11:17:41 +02:00
a-brandt aadec76f8e Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-06-11 10:59:24 +02:00
a-brandt a3fad4484f added function JS_getIcuTimezones, JS_getIcuLocales and JS_formatDatetime 2013-06-11 10:59:13 +02:00
Jan Steemann e8e10844f4 moved compaction tests 2013-06-11 10:41:40 +02:00
Jan Steemann 564523896a compaction tests 2013-06-11 10:10:58 +02:00
Jan Steemann dc700fb186 use a write-lock when modifying file info in datafiles vector 2013-06-10 11:59:27 +02:00
Jan Steemann b65fecd880 fix reported datafile size for compacted files 2013-06-10 11:21:00 +02:00
Jan Steemann 8696048dbb removed now unnecessary _validTo from master pointers/headers 2013-06-10 11:20:19 +02:00
Oreste Panaia 35ab2e6f62 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-06-10 17:05:58 +08:00
Oreste Panaia 8e10a5e173 windows updates 2013-06-10 17:05:33 +08:00
Jan Steemann e3275136cd allow incremental access to all documents from a collection out of AQL 2013-06-07 16:51:42 +02:00
Jan Steemann 27d4c8c89d introduced compaction lock 2013-06-07 13:37:51 +02:00
Jan Steemann 40781d558b more error checking for halfway-created v8 objects 2013-06-07 11:39:21 +02:00
Jan Steemann ef19833ced fixed locking for truncate() 2013-06-07 11:34:48 +02:00
Jan Steemann 12f2e2e6a1 fixed type issue 2013-06-07 11:33:46 +02:00
Jan Steemann 4a8b4f5e73 pull shapedJson creation out of loop 2013-06-07 11:33:12 +02:00
Jan Steemann d31573a8b4 fixed a few type issues, updated TODOs 2013-06-07 11:31:42 +02:00
Jan Steemann f5d87e32c1 init variables 2013-06-06 20:28:21 +02:00
Jan Steemann 54b0552dee use a stable sort in COLLECT 2013-06-06 16:56:39 +02:00
a-brandt 9e0335a1bf Merge branch 'devel' into multiple_databases 2013-06-06 16:12:44 +02:00
Thomas Richter 638a0cb05f Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-06-06 14:52:35 +02:00
Thomas Richter dc691ca6c2 examples generated in api-simple.js 2013-06-06 14:43:36 +02:00
a-brandt e4096900cc Merge branch 'devel' into multiple_databases 2013-06-06 12:54:58 +02:00
Jan Steemann e3cc4628bc removed unused define 2013-06-06 12:07:04 +02:00
a-brandt 1f519da089 added configuration option to start in multiple database mode 2013-06-06 09:35:42 +02:00
a-brandt 3827ad8f52 added a log message 2013-06-06 09:34:15 +02:00
a-brandt 793dc6077d Merge branch 'devel' into multiple_databases 2013-06-05 17:29:34 +02:00
a-brandt 967e45e103 added adding of enpoints and prefix to database mappings 2013-06-05 17:29:00 +02:00
Oreste Panaia 2afd8a742c Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-06-05 19:53:25 +08:00
Oreste Panaia 8a95c1c2a8 update 2013-06-05 19:52:34 +08:00
Jan Steemann b94feca02c fixed documentation errors 2013-06-04 22:55:07 +02:00
Jan Steemann 5bdaa22049 issue #545 2013-06-04 18:31:16 +02:00
a-brandt 144c5ca634 bugfix wrong function call for mruby 2013-06-04 15:18:51 +02:00
a-brandt 0096f297ca added _endpoints and _prefix collection 2013-06-04 14:56:42 +02:00
a-brandt 68ac9a3adc bugfix wrong string length 2013-06-04 14:53:39 +02:00
a-brandt 384b3c283c Merge branch 'devel' into multiple_databases 2013-06-04 13:07:06 +02:00
a-brandt 21f9da2104 moved database version check to VocbaseManager 2013-06-04 13:05:06 +02:00
Jan Steemann c259f8ff4a fixed typo 2013-06-04 10:29:01 +02:00
a-brandt 1d255a9861 renamed a function 2013-06-03 17:42:21 +02:00
a-brandt 144af0c277 deleted old code 2013-06-03 17:38:11 +02:00
a-brandt aeec284400 Merge branch 'devel' into multiple_databases 2013-06-03 17:09:21 +02:00
a-brandt 1c0578c2b5 Merge branch 'devel' into multiple_databases
Conflicts:
	arangod/RestServer/ArangoServer.cpp
	arangod/VocBase/vocbase.c
	lib/HttpServer/ApplicationEndpointServer.cpp
	lib/HttpServer/ApplicationEndpointServer.h
	lib/HttpServer/HttpCommTask.h
	lib/HttpServer/HttpHandlerFactory.cpp
	lib/HttpServer/HttpHandlerFactory.h
	lib/Rest/HttpRequest.cpp
	lib/Rest/HttpRequest.h
2013-06-03 17:05:01 +02:00
Thomas Richter c230a87879 minor changes 2013-05-31 16:40:24 +02:00
Thomas Richter 33563c3d37 names changed in Examples 2013-05-31 10:08:39 +02:00
Jan Steemann fadcb59423 issue #540 2013-05-23 15:24:40 +02:00
Jan Steemann aca42ef9fd issue #540: merged patch by @guidoreina, added test 2013-05-23 12:17:57 +02:00
Jan Steemann 7e1a107aa8 fixed typo 2013-05-22 19:13:49 +02:00
Jan Steemann 3b73c8f900 dont write currently unnecessary data on collection creation and deletion 2013-05-22 11:09:58 +02:00
Oreste Panaia 70bc62a5a5 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-05-21 17:47:22 +08:00
Oreste Panaia ee757b3f47 extended errors for skiplist 2013-05-21 17:46:57 +08:00
Jan Steemann d7b64d4ae2 merged patches by @guidoreina 2013-05-21 11:33:43 +02:00
Jan Steemann 78169e3626 issue #531: thanks to @guidoreina for bugfix suggestions! 2013-05-17 19:29:05 +02:00
Jan Steemann 68d2775b39 fixed uninitialised value 2013-05-17 15:22:40 +02:00
Jan Steemann dd26635a35 removed debug comments 2013-05-17 14:54:24 +02:00
Jan Steemann 645f31bba0 fixed typo 2013-05-17 14:54:09 +02:00
Jan Steemann ab6ca2f017 ported all recent fixes from 1.3 2013-05-16 21:04:04 +02:00
Jan Steemann ac8e947fb6 typo 2013-05-16 20:53:04 +02:00
Thomas Richter b09be801b9 swagger for RestDocumentHandler finished 2013-05-16 14:59:51 +02:00
Thomas Richter 38ce7df1a8 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-05-15 16:07:12 +02:00
Thomas Richter a11a0633b8 examples created until document PUT 2013-05-15 16:07:05 +02:00
Jan Steemann c59f00efa8 fixed handling of --temp-path 2013-05-15 15:55:48 +02:00
Jan Steemann 0d05d53670 switched examples back to English 2013-05-13 21:20:51 +02:00
Thomas Richter dbdd9b2b80 some REST documentation adapted for swagger 2013-05-13 16:30:23 +02:00
Jan Steemann 650419ed37 fix wrong message 2013-05-13 09:18:33 +02:00
Jan Steemann 7f5884626c Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-05-13 09:01:29 +02:00
Jan Steemann c7d2f8f8cd some json / shaped-json and string handling improvements 2013-05-13 09:01:07 +02:00
Jan Steemann 841d7d7355 English 2013-05-10 14:06:15 +02:00
Jan Steemann ebad0130ea updated docs 2013-05-10 12:26:15 +02:00
Frank Celler e98a22a31c added suffix .history to history files 2013-05-10 10:59:53 +02:00
Guido Reina ae8d686ae6 In the function CheckDatafile(), inside the while loop, there are two consecutive 'if' with the same body and similar condition. The first 'if' has been removed, as its condition is more restrictive than the second. 2013-05-09 20:26:32 +02:00
Guido Reina 7efd0a1ec7 Merge remote branch 'remotes/upstream/devel' into experiment 2013-05-09 18:56:50 +02:00
Guido Reina 3449b87e2c The 'json' structure was not freed in the function TRI_LoadCollectionInfo() if the file was not a JSON array. 2013-05-09 18:26:24 +02:00
Guido Reina d35a4034ef Memory leak in the function ScanPath() if the directory is not writable. 2013-05-09 18:00:43 +02:00
Guido Reina 7b3c1ed4dd In the function TRI_CreateNodeReturnEmptyAql(), if TRI_Allocate() failed to allocate memory for 'list', 'list' was freed, instead of 'node'. 2013-05-09 17:14:37 +02:00
Guido Reina e0c88e4a1a In the function TruncateAndSealDatafile(), 'filename' and 'oldname' were not freed. If TRI_UNMMFile() failed, the file was not closed.
In the function OpenDatafile(), if TRI_Allocate() failed to allocate memory for 'datafile', the file was not unmapped and not closed.
2013-05-09 16:43:20 +02:00
Guido Reina 952d643101 Fixed memory leak in the function ScanCollectionDirectory(). If the file extension is .db and it is a compaction file, 'filename' is leaked when 'newName' is assigned to it.
In the function TRI_LoadCollectionInfo(), when the value's type is a JSON string and the key is not the 'name', it checked again whether the value's type is a JSON string, instead of comparing the key with 'cid'.
2013-05-09 16:06:46 +02:00
Guido Reina fc9de8ed08 Typos. 2013-05-09 14:16:53 +02:00
Jan Steemann 5b94d9af98 less malloc/free for JSON parsing 2013-05-08 23:32:14 +02:00
Thomas Richter 760a2e0778 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-05-08 15:39:51 +02:00
Thomas Richter 0562e5c94d Header with 304 returncode fixed 2013-05-08 15:38:12 +02:00
Jan Steemann ccd129f69e fixed problem on restart ("datafile-xxx is not sealed") when server was killed during compaction 2013-05-08 11:09:48 +02:00
Jan Steemann 8ad21ec2cf fixed cursor leak for very small batch sizes 2013-05-07 18:48:41 +02:00
Jan Steemann 3ac55bedbb issue #512: bind parameters for limit 2013-05-06 10:47:53 +02:00
Jan Steemann 203aceccdf Merge pull request #510 from guidoreina/experiment
A bug fix and small code improvements?
2013-05-05 23:51:49 -07:00
Frank Celler 49b5507b73 fixed issue #489: Bug in aal.install
Conflicts:
	Makefile.in
2013-05-05 21:10:14 +02:00
Guido Reina 105662d5ba [Small improvements] In the function TRI_InitPQueue(), instead of initializing pq->_base._items with '\0's by using memset(), TRI_Allocate() is called with 'set' set to true (as it is done in the function CheckPQSize()).
In the function CheckPQSize(), the priority queue capacity will be increased only when the new item to be inserted doesn't fit (pq->_base._count + 1 > pq->_base._capacity).
In the function CheckPQSize(), instead of allocating a new buffer and then copying the elements, TRI_Reallocate() is used and the new area is filled with '\0's.
2013-05-05 16:33:09 +02:00
Guido Reina 0a08833b0f In the function PQueueIndex_new(), if TRI_Allocate() failed to allocate memory for the associative array idx->_aa, idx was freed before idx->_pq.
Fixed typos.
2013-05-05 16:15:23 +02:00
Guido Reina 4ac19a99fc Typos. 2013-05-05 16:12:17 +02:00
Jan Steemann 75ee749d78 read and write server SHUTDOWN files for faster startups
added documentation about server files
2013-05-03 18:30:17 +02:00
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