bcb4e51a409d94ae670de96afb8483a4f7855294 |
|
01-Jan-2018 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2018. |
9c42095655057048c18aee9de20a0ddce77df379 |
|
22-May-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-index: Fix crash in mail_transaction_log_view_set_all() error handling |
a0c8af555ec481ab12c2a99518cf7b20debd1627 |
|
20-May-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-index: mail_transaction_log_file_get_highest_modseq_at() - return error string
This can help figuring out why some error happened when more context is
provided in the caller's error messages. |
ce9d23c7c1e621398d2572a1d95171136f7ef6a2 |
|
20-May-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-index: mail_transaction_log_file_map() - return reason/error string
This can help figuring out why some error happened when more context is
provided in the caller's error messages. |
ac8cb75fb110a9d03363d1219a5672ce3c4ff89a |
|
20-May-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-index: mail_transaction_log_view_set_all() - don't entirely ignore corrupted logs
Ignore them only if it's followed by an index reset. |
92dab926b2f2270057b40a907a00cf8eb2309ed6 |
|
02-Apr-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-index: Don't increase modseq for backend/dirty flag changes
These flags are used only for internal changes and they shouldn't be
triggering any modseq changes.
To avoid modseqs from unexpectedly shrinking, the new modseq counting
behavior is enabled only for newly rotated transaction log files that have
a new minor_version. |
2454dfa32c93c20a8522c6ed42fe057baaac9f9a |
|
01-Jan-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2017. |
9e0b187933b52db68c1aefb913970eeba47b986e |
|
21-Nov-2016 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
lib-index: Do not crash if log is missing
Fixes sigfault when index and index.log files are
corrupted. |
6321d9d33937c7fc13a8ff04c220a9e377efeeb8 |
|
18-Nov-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-index: Add more information to "Missing middle file" error. |
faee566824fe3567c8beacf097f9dcfc0d3761b7 |
|
16-Nov-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-index: Fix flushing NFS if minimum wanted transaction log file is lost |
6a4bfb2b0bb9f53fb1d4e705bf3948ef4d1ecccb |
|
11-Nov-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-index: Improve error messages when transaction log is unexpectedly lost |
b88c43d09a288e99d439c78de4cc613212ea924c |
|
03-May-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: Avoid using buffer_get_data()
Especially buffer_get_data(buf, NULL) generates worse code than just
using buf->data directly. |
02c335c23bf5fa225a467c19f2c063fb0dc7b8c3 |
|
12-Jan-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: freshen copyright
git ls-files | xargs perl -p -i -e 's/(\d+)-201[0-5]/$1-2016/g;s/ (201[0-5]) Dovecot/ $1-2016 Dovecot/' |
1f4f81ba81bb9fa8abe2d94f344373c230066d67 |
|
05-Apr-2015 |
Timo Sirainen <tss@iki.fi> |
lib-index: Added reason_r parameter to mail_transaction_log_view_set()
This is used to improve some of the error messages about index corruption. |
7cb128dc4cae2a03a742f63ba7afee23c78e3af0 |
|
05-Jan-2015 |
Phil Carmody <phil@dovecot.fi> |
global: freshen copyright
Robomatically:
git ls-files | xargs perl -p -i -e 's/(\d+)-201[0-4]/$1-2015/g;s/ (201[0-4]) Dovecot/ $1-2015 Dovecot/'
Happy 2015 everyone!
Signed-off-by: Phil Carmody <phil@dovecot.fi> |
a8c5a86d183db25a57bf193c06b41e092ec2e151 |
|
04-Feb-2014 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2014. |
89334d8c6915db0fc8630470b7f3cd5ee9aa29aa |
|
06-May-2013 |
Timo Sirainen <tss@iki.fi> |
lib-index: Previous commit sometimes broke scanning transaction log view.
If min_file_seq+offset pointed to the end of the previous file that no
longer existed, we didn't just skip over it. |
dcf4c70f8358db12859c3ab5b81b3abaac4109a3 |
|
06-May-2013 |
Timo Sirainen <tss@iki.fi> |
lib-index: The previous assert-crashfix didn't actually fix the problem. |
23c502c6ef08d83e8ed68f90ed75138e14a3a246 |
|
10-Apr-2013 |
Timo Sirainen <tss@iki.fi> |
lib-index: Assert-crashfix on some rare situations.
mail_index_modseq_get_next_log_offset() might have returned e.g. (seq=4,
offset=40) to point to the beginning of a next file. The view itself could
still have been pointing to seq=3 end of file. Now calling
mail_transaction_log_view_set() with these two positions (that are basically
the same) should result in an empty view instead of assert crash. |
fee561b9d9162b130e662914fcebc9dd99b5c320 |
|
14-Mar-2013 |
Timo Sirainen <tss@iki.fi> |
lib-index: mail_index_attribute_[un]set() adds changed attributes' keys to transaction log.
This provides them both a modseq (so their changes become visible) as well
as an efficient way to see what attributes have changed by reading the
transaction log. The values themselves aren't written to the log, because
they could be large. |
5a580c3a38ced62d4bcc95b8ac7c4f2935b5d294 |
|
02-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
Oops :) Update copyrights to 2013 without breaking all .c files. |
cca4ba2a504d70a9fe9fee37f8433997359de52c |
|
02-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2013. |
1e16e4fb4b1d99e835f19f0f5720d6c75d8c6783 |
|
21-Jan-2013 |
Timo Sirainen <tss@iki.fi> |
lib-index: mail_transaction_log_view_set_all() didn't necessarily scan .log.2 file. |
3281669db44d09a087a203201248abbc81b3cc1a |
|
06-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
Renamed buffer_create_*data() to buffer_create_from_*data() for consistency.
Especially i_stream_create_from_data() was a very similar function, which
made it difficult to remember which one should have "from" and which one
shouldn't. |
0fa842717a8b163252e55c229c37ca0c5d7ff056 |
|
12-Aug-2012 |
Timo Sirainen <tss@iki.fi> |
lib-index: Support clearing the whole log view with mail_transaction_log_view_clear(0) |
cf05507f63b12bd1ee4efffc2f316ebcd9fd7089 |
|
12-Aug-2012 |
Timo Sirainen <tss@iki.fi> |
lib-index: Verify validity of ext-intro records in transaction log. |
3ea86ed7cf06ba04e4aa6cd1c4df9be336c06cd3 |
|
24-Jun-2012 |
Timo Sirainen <tss@iki.fi> |
Make static analyzer happier. |
6d3bb841d4ec2c12ac2d4ecf6146ef8d8a7dd731 |
|
22-May-2012 |
Timo Sirainen <tss@iki.fi> |
lib-index: Added mail_transaction_log_view_set_all() |
5f5870385cff47efd2f58e7892f251cf13761528 |
|
12-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2012. |
d200ae87140a1985fe527e6527bc4bd3035189b1 |
|
04-Jan-2012 |
Timo Sirainen <tss@iki.fi> |
lib-index: Avoid assert-crashing on keyword-update record with empty keyword. |
2e37d45867d081db150ab78dad303b9077aea24f |
|
04-Mar-2011 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2011. |
183bea41fa640dc8117f3eb45ff935cd81377a84 |
|
04-Mar-2011 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2011. |
1727610dbc69920b7f0d0622b4e5d7127c59093d |
|
24-Feb-2011 |
Timo Sirainen <tss@iki.fi> |
lib-index: Give better assert-crashes if view or log view isn't closed.
Earlier it should have also assert-crashed with "log->files == NULL", which
didn't make it clear enough why the files aren't NULL. |
6f0bb992c9f55de912295493892651d57e5e9827 |
|
22-Feb-2011 |
Timo Sirainen <tss@iki.fi> |
lib-index: Verify that expunge-guid records have valid UID. |
7471f28b16b81f9af413c879b3efb16eeafd2bd9 |
|
25-May-2010 |
Timo Sirainen <tss@iki.fi> |
lib-index: Fix to recent error handling change.
--HG--
branch : HEAD |
b5b3b4c9159f506cdfdce7399faaeeffdf73faf7 |
|
25-May-2010 |
Timo Sirainen <tss@iki.fi> |
Changed some index error handling conditions to log an error instead of assert-crash.
--HG--
branch : HEAD |
e376e08040b5f21ff79a15ae728d2532a34207f6 |
|
05-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
Small code changes to make static analyzer happier.
--HG--
branch : HEAD |
7f7533a29d0e65876acc0ab9dd56b3d7840c3ee7 |
|
05-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
lib-index: Small code cleanup.
--HG--
branch : HEAD |
e59faf65ce864fe95dc00f5d52b8323cdbd0608a |
|
25-Jan-2010 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2010.
--HG--
branch : HEAD |
ad48319996942463675b53877092ab7e13a7a75a |
|
29-Jul-2009 |
Timo Sirainen <tss@iki.fi> |
Added ability to specify message's minimum modseq value.
--HG--
branch : HEAD |
0c909e3461607eadcd66f4eac69b7f34e37fccf1 |
|
14-Jul-2009 |
Timo Sirainen <tss@iki.fi> |
Keep track of expunged messages' GUIDs and expose them via mailbox_get_expunges().
The message GUIDs are stored in expunge records to transaction log. Before
doing the final expunge, Maildir and dbox verify that the GUID in expunge
request matches the current actual GUID. The GUID is stored in 128 bit
field. If the real GUID isn't 128 bit, the bits are taken from SHA1 of the
GUID.
--HG--
branch : HEAD |
8e361d2906b0e44f7175a20981f8d2280645b58b |
|
14-Jul-2009 |
Timo Sirainen <tss@iki.fi> |
buffer_create_[const_]data() API change: Take buffer_t as parameter instead of allocating it.
--HG--
branch : HEAD |
993e6c2caaae971dd3c34913a42d854e3b623261 |
|
09-May-2009 |
Timo Sirainen <tss@iki.fi> |
Transaction log view code cleanups.
--HG--
branch : HEAD |
096953143c4032bad154637f687551856f7946cb |
|
09-May-2009 |
Timo Sirainen <tss@iki.fi> |
mail_transaction_log_view_clear() should keep oldest_file_seq and newer referenced.
--HG--
branch : HEAD |
1478db54b02b6e977e5e8a5a1acc12918c63a6bf |
|
09-May-2009 |
Timo Sirainen <tss@iki.fi> |
Removed assert.
--HG--
branch : HEAD |
688f0fdfb7ca946e38ae34459b0ca30b71c8457c |
|
14-Apr-2009 |
Timo Sirainen <tss@iki.fi> |
indexes: Added a new assert.
--HG--
branch : HEAD |
37b805dfb45902b6b41c45482f67e6f98e08b0a3 |
|
12-Jan-2009 |
Timo Sirainen <tss@iki.fi> |
index: Expunge records' UIDs weren't verified to be valid before using them.
--HG--
branch : HEAD |
45312f52ff3a3d4c137447be4c7556500c2f8bf2 |
|
06-Jan-2009 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2009.
--HG--
branch : HEAD |
c21c33a8c98972c45349066fc76ac9e2c05013c1 |
|
18-Oct-2008 |
Timo Sirainen <tss@iki.fi> |
index files: Another try at fixing handling log files with different header sizes.
--HG--
branch : HEAD |
7360e48fe84ca34ab28e21a50717907eca69d6c8 |
|
18-Oct-2008 |
Timo Sirainen <tss@iki.fi> |
index files: Fix for handling two log files with different header sizes.
--HG--
branch : HEAD |
85144b5f0bc763de14c7d87291a90ef74ac241a2 |
|
21-Jun-2008 |
Timo Sirainen <tss@iki.fi> |
Keep modseqs as 1 until the first modseq ext intro record enables them.
Performance should be better again when modseqs are disabled.
--HG--
branch : HEAD |
95a1a5195d56f3cf5d1e529aad668f87ad3b979b |
|
11-Jun-2008 |
Timo Sirainen <tss@iki.fi> |
Modseqs are no longer calculated from transaction log sequence + offset.
Now they begin from 1 and each "visible" transaction increases it by one.
--HG--
branch : HEAD |
be18b5067f9f787179f04c49168060165ed6be08 |
|
25-May-2008 |
Timo Sirainen <tss@iki.fi> |
Fixed previous transaction log assert-avoidance check.
--HG--
branch : HEAD |
a4d209d480d453566d331e870b8d0c99af7716c8 |
|
25-May-2008 |
Timo Sirainen <tss@iki.fi> |
Avoid assert-crashing with broken transaction log files.
--HG--
branch : HEAD |
19e8adccba16ff419f5675b1575358c2956dce83 |
|
11-Feb-2008 |
Timo Sirainen <tss@iki.fi> |
Renamed T_FRAME_BEGIN/END to T_BEGIN/END. Removed T_FRAME() macro and
replaced them with T_BEGIN/END calls. T_FRAME() made it difficult to debug
code with gdb.
--HG--
branch : HEAD |
76b43e4417bab52e913da39b5f5bc2a130d3f149 |
|
01-Jan-2008 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2008.
--HG--
branch : HEAD |
eddd9bf1a1369aea4a2715f6be1137da6d17d293 |
|
05-Dec-2007 |
Timo Sirainen <tss@iki.fi> |
Replaced t_push/t_pop calls with T_FRAME*() macros.
--HG--
branch : HEAD |
f537e7efaec891d6b3320ca94331d09ca8c4a4db |
|
15-Nov-2007 |
Timo Sirainen <tss@iki.fi> |
Keep better track of when we need to flush NFS attribute caches.
--HG--
branch : HEAD |
c680a6b35b459045e92814778908da5a93922107 |
|
22-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Keep transaction logs referenced while we know we need them. This fixes
desync errors with in-memory indexes.
--HG--
branch : HEAD |
89a126810703c666309310d0f3189e9834d70b5b |
|
16-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Replaced my Copyright notices. The year range always ends with 2007 now.
My name was replaced with "Dovecot authors". In many cases I didn't really
even own the copyright, so this is more correct.
--HG--
branch : HEAD |
f5c5486be5ad021ff57cbc3a962fb5a066491fd1 |
|
02-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
assertfix
--HG--
branch : HEAD |
ae8817f05005f57bba32479a610b52d083e2b6eb |
|
01-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Added support for resetting index.
--HG--
branch : HEAD |
1cf72a848805fcf014b01c9d3665b6a157846a21 |
|
20-Jun-2007 |
Timo Sirainen <tss@iki.fi> |
Map the log files only after they've all been found. Otherwise we could have
skipped some transactions from the end of non-head logs.
--HG--
branch : HEAD |
5f78b33aa505b17e23cdf27b071a24e127b3db54 |
|
13-Jun-2007 |
Timo Sirainen <tss@iki.fi> |
Removed sync_mask parameter from mail_transaction_log_view_set(). The user
will now have to check the types itself.
--HG--
branch : HEAD |
def1cf4b4d2d7bf8dd47258a46b5079682b99251 |
|
13-Jun-2007 |
Timo Sirainen <tss@iki.fi> |
Compiler warning fixes
--HG--
branch : HEAD |
df2b9ceb22139a572ba47c8a6dc86e77a2c8f81c |
|
13-Jun-2007 |
Timo Sirainen <tss@iki.fi> |
Fix for last change
--HG--
branch : HEAD |
4163ec6941bd55fe2c963a6c4605e7fa38f05ea2 |
|
13-Jun-2007 |
Timo Sirainen <tss@iki.fi> |
Removed mail-transaction-util.[ch]. They're no longer needed.
--HG--
branch : HEAD |
847b3aa7e14ce05d382a44937a8ef5277bce5acb |
|
13-Jun-2007 |
Timo Sirainen <tss@iki.fi> |
Don't bother checking record sizes here. They're already checked elsewhere,
and most records are variable sized so they can't even be checked here.
--HG--
branch : HEAD |
8bae533c96e129dca8ee7b494d7de5aeb4a043a2 |
|
13-Jun-2007 |
Timo Sirainen <tss@iki.fi> |
Don't assume that transaction record type is a bitmask in the transaction
log file, even though it's internally used as such.
--HG--
branch : HEAD |
a5b331e18b220fac557480b569b85215a1b3bd8e |
|
13-Jun-2007 |
Timo Sirainen <tss@iki.fi> |
Added more corruption detection code.
--HG--
branch : HEAD |
b5ac20e30146562322ceb7939f044d52d1e51184 |
|
13-Jun-2007 |
Timo Sirainen <tss@iki.fi> |
Variable name cleanup
--HG--
branch : HEAD |
075912b4566a79c7bc59bf229c9f629ef7be0ea2 |
|
13-Jun-2007 |
Timo Sirainen <tss@iki.fi> |
Minor variable name cleanup
--HG--
branch : HEAD |
c91de2744f8c1e61e91082ff5e214450f28a0e7c |
|
13-Jun-2007 |
Timo Sirainen <tss@iki.fi> |
Moved duplicated log record validation code to a single place.
--HG--
branch : HEAD |
2a6af811ea3de3cf9e2f15e446674dd21b0705f3 |
|
11-Jun-2007 |
Timo Sirainen <tss@iki.fi> |
Initial commit for major index file code cleanup.
- dovecot.index file isn't anymore required to be updated when syncing.
- Getting the latest index file mapping is now done always by reading
dovecot.index and then reading the latest changes from dovecot.index.log.
- mmap()ing dovecot.index file is slower than reading it, so it's not
currently done unless the file is at 256kB. This may change though.
- Some things are still broken.
--HG--
branch : HEAD |
c9c24293550541307f1bb41bba4a0fdfe2fa59e0 |
|
22-May-2007 |
Timo Sirainen <tss@iki.fi> |
Added mail_transaction_log_view_is_last()
--HG--
branch : HEAD |
ccffbed92cb02c24fd717808a84138240bf1885b |
|
11-Mar-2007 |
Timo Sirainen <tss@iki.fi> |
If we run out of disk space, move to in-memory indexes.
--HG--
branch : HEAD |
a942db367328a91e3a0b6c810bb8abbcb7663707 |
|
09-Mar-2007 |
Timo Sirainen <tss@iki.fi> |
cleanups
--HG--
branch : HEAD |
ccb77e2f63626ec46e5745ef4f38baa8e8e504fc |
|
26-Jan-2007 |
Timo Sirainen <tss@iki.fi> |
Cleanups and minor fixes
--HG--
branch : HEAD |
95a284736b8b11319a3f575ba249ba2eb7dbac1b |
|
17-Jan-2007 |
Timo Sirainen <tss@iki.fi> |
Fixes to error handling paths.
--HG--
branch : HEAD |
213b139965e8bde6c8aff02ffd9fd39a74c887a9 |
|
19-Nov-2006 |
Timo Sirainen <tss@iki.fi> |
Compile fix
--HG--
branch : HEAD |
bbce20cb4e5739e9a06058cf8ee1f38a7f6884f6 |
|
18-Nov-2006 |
Timo Sirainen <tss@iki.fi> |
Reference counting fixes. Fixes an assert crash when closing the index.
--HG--
branch : HEAD |
45e62043058738e294f89504c319d852e25943cc |
|
12-Nov-2006 |
Timo Sirainen <tss@iki.fi> |
Code cleanup
--HG--
branch : HEAD |
02a3001389237da331e70c1cf7c85ebc9cf94888 |
|
12-Nov-2006 |
Timo Sirainen <tss@iki.fi> |
Memory/fd leak fix
--HG--
branch : HEAD |
d5cebe7f98e63d4e2822863ef2faa4971e8b3a5d |
|
14-Jan-2006 |
Timo Sirainen <tss@iki.fi> |
deinit, unref, destroy, close, free, etc. functions now take a pointer to
their data pointer, and set it to NULL. This makes double-frees less likely
to cause security holes.
--HG--
branch : HEAD |
6ef7e31619edfaa17ed044b45861d106a86191ef |
|
13-Jan-2006 |
Timo Sirainen <tss@iki.fi> |
Added "bool" type and changed all ints that were used as booleans to bool.
--HG--
branch : HEAD |
a050ca9def13949dbaa67bd6574a41c4f397ae26 |
|
06-Jan-2006 |
Timo Sirainen <tss@iki.fi> |
Handle missing/broken transaction logs better. Handle broken sync position
in index header better.
--HG--
branch : HEAD |
01ac83a86f9f29741b585205eefeec9c0c546f8b |
|
12-Oct-2005 |
Timo Sirainen <tss@iki.fi> |
Fixed some printf-type mismatches
--HG--
branch : HEAD |
1225a5a7ce39f1d5545d5ed3b84ecd4f72438d36 |
|
29-Apr-2005 |
Timo Sirainen <tss@iki.fi> |
Added offsets to log file corruption error messages
--HG--
branch : HEAD |
6eb30032b4a50c383dea4c9c74342d906de6ad36 |
|
26-Apr-2005 |
Timo Sirainen <tss@iki.fi> |
Minor error checking fixes.
--HG--
branch : HEAD |
fc7b17677ac1a5fa3f7fe13d5ef7dcfea8d9b4a1 |
|
22-Apr-2005 |
Timo Sirainen <tss@iki.fi> |
index.log file is now rotated to .index.log.2 file. When log file is
missing, it's used if the wanted log is in it.
--HG--
branch : HEAD |
f75188af11dce30be322cc2eefa3e3884871abf7 |
|
17-Apr-2005 |
Timo Sirainen <tss@iki.fi> |
If transaction log file is lost, mark the index inconsistent. Later we
should try to autocreate the missing log files..
--HG--
branch : HEAD |
fadd878cd6098f5b873c21c121209a922679dae4 |
|
05-Mar-2005 |
Timo Sirainen <tss@iki.fi> |
Several transaction log cleanups and fixes.
--HG--
branch : HEAD |
f2786c07cbd4a7a0a6a46c3e06dc4545aaf2f278 |
|
05-Mar-2005 |
Timo Sirainen <tss@iki.fi> |
We could have gone past the transaction log view's boundaries if log was
just rotated. Plus other transaction log cleanups, fixes and new asserts.
--HG--
branch : HEAD |
e86d0d34fe365da4c7ca4312d575bfcbf3a01c0e |
|
14-Nov-2004 |
Timo Sirainen <tss@iki.fi> |
Avoid re-reading index file with mmap_disabled=yes. Instead sync it by
reading transaction log file.
--HG--
branch : HEAD |
6e354c4070b611471727692919d29440d73a73f7 |
|
13-Nov-2004 |
Timo Sirainen <tss@iki.fi> |
When view was synced without expunges, we didn't actually sync the expunges
later anymore.
--HG--
branch : HEAD |
2a734f36105e33ab452d057df6bc7a2b7d9f96f0 |
|
25-Oct-2004 |
Timo Sirainen <tss@iki.fi> |
Use separate sync offsets for internal/external transactions. Pending external
transactions are committed into index at the beginning of syncing, internal
ones aren't.
--HG--
branch : HEAD |
834b90e1f426d1e3308670e09c050bcdea546eb8 |
|
07-Oct-2004 |
Timo Sirainen <tss@iki.fi> |
Don't complain about corruption when there is none.
--HG--
branch : HEAD |
a9bbb619908c206d9cb319398d4aaad37a22cd67 |
|
07-Oct-2004 |
Timo Sirainen <tss@iki.fi> |
fix
--HG--
branch : HEAD |
bbf796c17f02538058d7559bfe96d677e5b55015 |
|
03-Oct-2004 |
Timo Sirainen <tss@iki.fi> |
Index extensions can now specify record alignment, and it's possible to
resize header and records. Fixes mbox crashes with some 64bit systems.
--HG--
branch : HEAD |
7797aa2479e99aeb71057b7a2584b2cb72e4d3f8 |
|
26-Sep-2004 |
Timo Sirainen <tss@iki.fi> |
Renamed "extra record info" and variations of it to "extension" or "ext" in
short.
--HG--
branch : HEAD |
a8012fea2a7315033bc467acbf46be8e7323318c |
|
12-Sep-2004 |
Timo Sirainen <tss@iki.fi> |
Don't check extra updates data_id validity if we're just skipping over them.
--HG--
branch : HEAD |
879efdd73d307cdc38162edc4cad9fc0b4f5a0c7 |
|
10-Sep-2004 |
Timo Sirainen <tss@iki.fi> |
minor fix for error message
--HG--
branch : HEAD |
7eb0a7b2ad64bacefb8b14711cd25188bd06966d |
|
10-Sep-2004 |
Timo Sirainen <tss@iki.fi> |
Crashfix with corrupted log files.
--HG--
branch : HEAD |
5a07b37a9df398b5189c14872a600384208ab74b |
|
05-Sep-2004 |
Timo Sirainen <tss@iki.fi> |
Save extra record/header infos into index file permanently.
--HG--
branch : HEAD |
0d658231054332c3f4c04aab0422af649de89a8c |
|
28-Aug-2004 |
Timo Sirainen <tss@iki.fi> |
Handle correctly the case when index hasn't yet been synced with transaction
log.
--HG--
branch : HEAD |
527ed64bc924b4a13b570a8450f8be3efdf71879 |
|
15-Aug-2004 |
Timo Sirainen <tss@iki.fi> |
assert crashfix
--HG--
branch : HEAD |
a928e7efabb1672b1476e597106d4b4b81ac6f3c |
|
31-Jul-2004 |
Timo Sirainen <tss@iki.fi> |
Small cleanups.
--HG--
branch : HEAD |
44ff75ca53188056ff5a3e50428e3f2078800b3c |
|
31-Jul-2004 |
Timo Sirainen <tss@iki.fi> |
Transaction log file is now read-lockless.
--HG--
branch : HEAD |
b7cf555b699d73f2d71de0dabc088af6a7be3627 |
|
30-Jul-2004 |
Timo Sirainen <tss@iki.fi> |
mail_transaction_log_view_next() didn't actually stop at the end of view
window, but continued to the end of file. That sometimes caused crashes and
maybe other problems.
--HG--
branch : HEAD |
d6f50f100ce17fa4b3a89e9567a5ff993b38b872 |
|
18-Jul-2004 |
Timo Sirainen <tss@iki.fi> |
Don't crash if mail_index_view_sync_next() is called again after it's finished.
--HG--
branch : HEAD |
1175f27441385a7011629f295f42708f9a3a4ffc |
|
14-Jun-2004 |
Timo Sirainen <tss@iki.fi> |
Modifying extra_records should work now.
--HG--
branch : HEAD |
8830fab191cab8440281eb641dfdd93974b2933b |
|
30-May-2004 |
Timo Sirainen <tss@iki.fi> |
fixes
--HG--
branch : HEAD |
1b56f5fdd415270c743a38719d41b4d9497bcacd |
|
30-May-2004 |
Timo Sirainen <tss@iki.fi> |
show error messages when log files are missing
--HG--
branch : HEAD |
8eeafcb306872435f3171e6acf5a9937aec3a175 |
|
30-May-2004 |
Timo Sirainen <tss@iki.fi> |
added assert
--HG--
branch : HEAD |
9df8c9225140d9d1df5ddf4c6c9da61662ae6c44 |
|
30-May-2004 |
Timo Sirainen <tss@iki.fi> |
assert fix
--HG--
branch : HEAD |
a24f6b02ed8d0dde933a715be1c86f01977bf610 |
|
28-May-2004 |
Timo Sirainen <tss@iki.fi> |
Keep the transaction log view open all the time for index views (not just
while syncing) to avoid losing the log files.
--HG--
branch : HEAD |
e06c0b65c16ccce69bbee009ead14d7d3d17a256 |
|
24-May-2004 |
Timo Sirainen <tss@iki.fi> |
Index header changes now go through transaction log. Removed the kludgy
parameters for mail_index_sync_end(). Removed code duplication of syncing
index root mapping and view mapping. Some fixes to handling uidvalidity and
nextuid in syncing.
--HG--
branch : HEAD |
659fe5d24825b160cae512538088020d97a60239 |
|
22-May-2004 |
Timo Sirainen <tss@iki.fi> |
Transaction log contains only UIDs now, no more sequences which just mess up
everything.
--HG--
branch : HEAD |
1f2c3bde353d45f6d76c5210adf1e0a952247f3a |
|
20-May-2004 |
Timo Sirainen <tss@iki.fi> |
last tried fixes with sequences-in-log approach. moving to uids next, wonder
why I didn't earlier.
--HG--
branch : HEAD |
ed1f14af0d426b5550521a58fc414d130aa14172 |
|
02-May-2004 |
Timo Sirainen <tss@iki.fi> |
Don't crash in assert() with corrupted index file.
--HG--
branch : HEAD |
93b29720c5141f787bd1861796867e4595c9d084 |
|
01-May-2004 |
Timo Sirainen <tss@iki.fi> |
handle losing index file
--HG--
branch : HEAD |
7888a9d2008eab9985096c46e1da9ee985c22a2a |
|
01-May-2004 |
Timo Sirainen <tss@iki.fi> |
automatically fix broken/missing transaction log files on the fly
--HG--
branch : HEAD |
0add8c99ca65e56dbf613595fc37c41aafff3f7f |
|
01-May-2004 |
Timo Sirainen <tss@iki.fi> |
fixes
--HG--
branch : HEAD |
40ef82c46f6652412b068ebcdac7c3e74840a284 |
|
29-Apr-2004 |
Timo Sirainen <tss@iki.fi> |
Don't modify index file when creating new transaction log.
--HG--
branch : HEAD |
f1e1d821d93e4a1dc6ed8f23febde868b5d64cd5 |
|
29-Apr-2004 |
Timo Sirainen <tss@iki.fi> |
fixes for mmap_disable
--HG--
branch : HEAD |
5c1a8aee989af87bddefd71e2aa83aa2bd695155 |
|
28-Apr-2004 |
Timo Sirainen <tss@iki.fi> |
Locking changes. bugfixes.
--HG--
branch : HEAD |
c1d45cada20777e1973579d40d0ebe43f89bb053 |
|
28-Apr-2004 |
Timo Sirainen <tss@iki.fi> |
locking fixes, mmap_disable=yes fixes
--HG--
branch : HEAD |
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834 |
|
27-Apr-2004 |
Timo Sirainen <tss@iki.fi> |
importing new index code. mbox still broken.
--HG--
branch : HEAD |