8d4caad878
Add more logs
2017-05-26 16:35:09 +02:00
26f4d7b1be
Make RdbMap::m_numPositiveRecs & RdbMap::m_numNegativeRecs atomic
2017-05-04 15:42:59 +02:00
7b75932bce
Be more specific in logs
2017-03-10 14:52:22 +01:00
02ffc91e95
Add more trace logs
2017-03-10 14:47:33 +01:00
b570b1f9f6
Log list last key
2017-03-10 14:34:21 +01:00
df3f33e52c
Add more trace logs
2017-03-10 13:32:20 +01:00
7090500b2c
Add trace log to RdbMerge, RdbDump, RdbMap
2017-03-10 12:22:11 +01:00
386daecb58
Bugfix map rebuild of posdb
...
When reading next chunk from the .dat file posdb needs to have both Hi and Lo key part set due to its double compression.
2016-12-27 12:05:44 +01:00
1bd9d77574
Fix mass search&replace error in comments (as int32_t as --> as long as)
2016-12-19 17:14:13 +01:00
7cee4ea8e3
Fix clang unreachable code warnings
2016-11-22 15:36:54 +01:00
a6e02a052c
Name local variables better
2016-11-14 16:21:14 +01:00
b58ca512ae
Add space in log
2016-11-01 12:35:16 +01:00
c23eaf9ddf
#include cleanup of File.h
2016-10-28 14:12:25 +02:00
769aba563e
Make more BigFile members private
2016-10-27 14:28:04 +02:00
bacc239572
#include cleanup of BigFile.h
2016-10-27 13:47:49 +02:00
e4afd2320f
Removed non-const verions of getFilename() in BigFile/RdbIndex/RdbMap
2016-10-24 16:03:38 +02:00
582258ab74
RdbMap::readSegment now returns -1 instead of false to indicate error
2016-10-19 20:38:10 +02:00
94394ae22a
RdbMap::writeSegment now returns -1 instead of false to indicate error
2016-10-19 20:37:08 +02:00
ba81b7a7d6
Use proper English: alloced -> allocated
2016-10-17 11:57:37 +02:00
0950180c58
add shutdown in RdbMap::addRecord if corrupted data detected
2016-10-14 12:43:20 +02:00
fccf4e4c7e
Removed commented-out code from RdbMap
2016-10-10 17:09:59 +02:00
6b55f31a44
More constness in RdbMap
2016-10-10 17:02:38 +02:00
66a43f450a
moved member init from reset to constructor as coverity found ref to null'ed ptr after RdbMap reset
2016-09-29 15:19:43 +02:00
f9b3b92280
init class members in RdbMap
2016-09-26 21:51:59 +02:00
76125c2ed6
More encapsulation for RdbList
2016-09-05 14:23:38 +02:00
2311cd4ec5
Encapsulate RdbList
2016-09-05 13:45:59 +02:00
a040a78c99
Use key96_t instead of key_t and redefining std lib key_t (which breaks std lib functionality that uses key_t)
2016-09-02 14:49:06 +02:00
460a5b487b
Add some simple validation on RdbIndex generated file
2016-08-31 15:36:50 +02:00
a88751ed69
Use logError instead
2016-08-31 11:51:43 +02:00
05d084bc38
Modify goto to for loop
2016-08-31 11:13:31 +02:00
b18a9f1439
Code style changes, remove commented out code
2016-08-31 11:13:31 +02:00
9b41b7a614
Remove now unused RdbMap::m_generatingMap variable
2016-08-31 11:13:31 +02:00
1432836a2e
Code style changes
2016-08-31 11:13:31 +02:00
0256f76c18
Remove suspicious looking code that fails addRecord once a second when there is error.
2016-08-31 11:13:31 +02:00
7a9df33cb5
Code style changes, add comments, remove redundant code
2016-08-31 11:13:31 +02:00
86d47933ee
Code style changes
2016-08-31 11:13:31 +02:00
295014a131
Remove double read in RdbMap::truncateFile
2016-08-31 11:13:31 +02:00
cdbebefc83
Code style changes
2016-08-31 11:13:31 +02:00
7f6fcf241b
Simplify code
2016-08-31 11:13:31 +02:00
e83f777bb9
Code style changes
2016-08-31 11:13:31 +02:00
349b713790
Code style changes
2016-08-31 11:13:31 +02:00
a8652e0e67
#include cleanup in File.h (and resulting other cleanup)
2016-08-10 00:32:00 +02:00
cbb9189054
Renamed KEYADD to KEYINC and KEYSUB to KEYDEC
...
Because that is what they actually do
2016-08-04 13:49:40 +02:00
56409fd0dd
constness in RdbMap
2016-08-01 17:08:53 +02:00
3c2773a928
Removed gbstrlen()
...
gbstrlen() just checked for NULL and called gbshutdownAbort(). Dereferncing NULL on mordern platforms cases a SIGSEGV which is cought by our signal handler and .... gbshutdownAbort() is called. So gbstrlen() was superfluous and complicated static analysis.
2016-07-28 17:04:35 +02:00
4903d9fefd
Don't move files to trash
2016-07-20 18:16:22 +02:00
a95a4d6063
Use logTrace instead
2016-07-20 18:16:22 +02:00
8197188394
Simplify code, log WARN instead of DEBUG for errors
2016-07-19 14:50:48 +02:00
7b200ef3f0
Code style changes. Log WARN instead of DEBUG
2016-07-19 11:28:05 +02:00
350c348ec7
Remove IndexList.cpp and unnecessary IndexList.h includes
2016-07-12 16:51:20 +02:00