1
0
Fork 0
Commit Graph

491 Commits

Author SHA1 Message Date
Jan Steemann 3b73c8f900 dont write currently unnecessary data on collection creation and deletion 2013-05-22 11:09:58 +02: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 dd26635a35 removed debug comments 2013-05-17 14:54:24 +02:00
Jan Steemann ab6ca2f017 ported all recent fixes from 1.3 2013-05-16 21:04:04 +02:00
Jan Steemann c59f00efa8 fixed handling of --temp-path 2013-05-15 15:55:48 +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 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 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 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
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
Oreste Panaia 115d87196c sync windows dev 2013-04-29 23:13:06 +08:00
Oreste Panaia 532c7eae8e windows dev update 2013-04-29 21:24:57 +08: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
Frank Celler cbc2ab93ba fixed _shallowCopy, fixed creating of unknown attributes 2013-04-22 16:48:36 +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
Jan Steemann 91c63338f2 some locking fixes 2013-04-17 18:02:55 +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 fb522e7c59 added TRI_DocumentIteratorPrimaryCollection 2013-04-12 15:03:03 +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 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 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
Jan Steemann d752d2cc57 fixed tests 2013-04-05 13:05:43 +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 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 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 42b92c794f fixed error messages and tests 2013-04-02 17:46:19 +02:00