1
0
Fork 0
Commit Graph

428 Commits

Author SHA1 Message Date
Guido Reina 011117edee In the function: TRI_LocateBinaryPath(), "binaryPath" was duplicated from "dir" and then "dir" freed. Better just to assign to "binaryPath" the result of TRI_Dirname(). 2013-08-16 06:55:43 +02:00
Guido Reina 72c8847324 In the function: RemoveAllLockedFiles(void), if we call TRI_RemoveVectorString() and TRI_RemoveVector() the next elements in the vector will be memmoved to the left. The next iteration of the loop will check the element at position 1 (but we are skipping the new element at position 0), so these calls have been removed.
The other alternative would be to have a loop: while (FileNames._length > 0) and take always the element at position 0. But this has the disadvantage that we are performing memmove() when later the vectors will be freed anyway.
2013-08-15 18:36:41 +02:00
Guido Reina 5da5715fa9 Merge branch 'experiment' of https://github.com/guidoreina/ArangoDB into experiment 2013-08-13 20:07:17 +02:00
Guido Reina a371aac4af In the function TRI_StringInt8InPlace, when attr == INT8_MIN, it was copying only 4 bytes instead of 5 and it was returning 3 instead of 4. 2013-08-13 20:02:25 +02:00
Jan Steemann 5f1bfcf9cd documentation for replication 2013-08-02 15:28:30 +02:00
Jan Steemann 1fc1bb108d added replication client tests 2013-08-02 11:45:55 +02:00
Jan Steemann 48fbdb1b6a cap constraint for replication logger 2013-07-31 16:56:56 +02:00
Jan Steemann 936fb6c6a6 better progress reports for replication applier 2013-07-31 10:01:56 +02:00
Jan Steemann 002ebd48bc removed all replication conditionals 2013-07-30 13:16:37 +02:00
Jan Steemann ec6792e11e added authentication 2013-07-28 16:02:21 +02:00
Jan Steemann 08b9f57166 stoppable replication applier 2013-07-17 10:58:10 +02:00
Oreste Panaia 2d4a26e29d Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-07-16 16:17:40 +08:00
Jan Steemann cdbcf71411 removed superfluous space 2013-07-15 17:48:44 +02: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 98dd1c2522 moved replication parts into separate files 2013-07-11 14:44:09 +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 ca6b184286 added TRI_JSON_STRING_REFERENCE 2013-07-10 17:00:29 +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 c6ff61b159 added new error code 2013-07-09 12:33:10 +02:00
Jan Steemann 4c952ad927 added unit tests 2013-07-09 12:32:47 +02:00
Jan Steemann 48d851bb7b log dump 2013-07-08 16:33:47 +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 054ed3ca3f apply collection data dumps 2013-07-05 11:41:37 +02:00
Jan Steemann 230f0ddcc3 added errors 2013-07-04 15:51:24 +02:00
Jan Steemann f5968a4646 handle a master's state response 2013-07-04 10:13:09 +02:00
Jan Steemann 44c9ca4e90 issue #565, plus a few usability fixxes for aal.search() 2013-07-03 14:06:57 +02:00
Jan Steemann e34566aa68 messed it up and fixed it 2013-07-03 13:06:20 +02:00
Jan Steemann cf04fcfc44 memory size restrictions 2013-07-03 13:01:01 +02:00
Jan Steemann c5cbfdb3e6 indentation 2013-07-03 12:40:12 +02:00
Jan Steemann 74489d9f93 OOM handling 2013-07-02 17:33:31 +02:00
Jan Steemann a35de51042 handle OOM 2013-07-02 17:19:03 +02:00
Jan Steemann d2b12968e0 avoid usage of NULL pointer 2013-07-02 17:09:44 +02:00
Jan Steemann 00b5970bfc check for NULL values 2013-07-02 17:08:27 +02:00
Jan Steemann d7561e70e1 added logging options 2013-07-02 12:16:13 +02:00
Jan Steemann 2e063df6c1 fixed some zone debugging output 2013-06-29 00:10:41 +02:00
Jan Steemann 64f01e9a7b prevent logging deadlock 2013-06-28 19:14:33 +02:00
Jan Steemann 1f68cb50a0 replaced LOG_ERROR with fprintf to not run into logging deadlock 2013-06-28 19:04:56 +02:00
Jan Steemann 6e9c3e8e2c replication logging 2013-06-26 12:04:55 +02:00
Jan Steemann b0acfba634 less faults when server cannot start 2013-06-25 09:56:09 +02:00
Jan Steemann 191d389e8c a few mallocs less 2013-06-24 20:55:12 +02:00
Jan Steemann 315848c93c typo 2013-06-24 20:52:43 +02:00
Jan Steemann 0f7c632f0f less strlen 2013-06-24 17:31:37 +02:00
Jan Steemann 2d7edbef96 added db._exists() 2013-06-21 21:50:00 +02:00
Jan Steemann 8063ade2be fixed issues reported by cppcheck 2013-06-21 19:40:57 +02:00
Jan Steemann ee2de60670 less syscalls in logging, do not use file-logging in tests
file-based logging creates a problem with Valgrind 3.8.1 for `make unittests-http-server VALGRIND=valgrind` on OpenSuse 64 bits, -O2
2013-06-21 16:05:58 +02:00