bcb4e51a409d94ae670de96afb8483a4f7855294 |
|
01-Jan-2018 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2018. |
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. |
efe78d3ba24fc866af1c79b9223dc0809ba26cad |
|
24-Dec-2016 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
global: Replaced all instances of memset(p, 0, sizeof(*p)) with the new i_zero() macro.
Used the following script:
C_FILES=`git ls-files *.c`
H_FILES=`git ls-files *.h`
for F in "$C_FILES $H_FILES"; do
echo "$F"
perl -p -i -e 's/safe_memset\(&\(?([^,]*)\)?,\s*0,\s*sizeof\(\g1\)\)/i_zero_safe(&$1)/g' $F
perl -p -i -e 's/safe_memset\(([^,]*),\s*0,\s*sizeof\(\*\g1\)\)/i_zero_safe($1)/g' $F
perl -p -i -e 's/memset\(&\(?([^,]*)\)?,\s*0,\s*sizeof\(\g1\)\)/i_zero(&$1)/g' $F
perl -p -i -e 's/memset\(([^,]*),\s*0,\s*sizeof\(\*\g1\)\)/i_zero($1)/g' $F
done |
6ded8819b9002150a95a7615e4f64f091c250464 |
|
22-Feb-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-index: Small improvements to logging the reason for long transaction log lock waits |
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/' |
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> |
2f8da04d700cc23fcd6630226a4866e828b761bd |
|
09-Oct-2014 |
Timo Sirainen <tss@iki.fi> |
lib-index: Include reason string in warnings about keeping transaction log locked for too long. |
082e82792b8ac33ad42beac510441b37a3c50737 |
|
07-Jul-2014 |
Timo Sirainen <tss@iki.fi> |
lib-index: Don't update log_file_tail_offset unnecessarily.
Update it only if we're already writing to transaction log anyway or if
we're required to update the offset because mail_index_sync_commit() has
increased it past non-external transactions (this is especially important
with mdbox map index). |
a8c5a86d183db25a57bf193c06b41e092ec2e151 |
|
04-Feb-2014 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2014. |
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. |
bd503f12eb667df389a99162f567bd8785798f55 |
|
03-Nov-2012 |
Timo Sirainen <tss@iki.fi> |
lib-index: Write to transaction log using O_APPEND flag.
Most OSes should do the writes atomically so that reads won't see partially
written data. We don't currently rely on this, but it would be possible in
future to remove locking entirely from writing to transaction log. |
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. |
e169102fb38ce788b76c2a344bee7d77079dea05 |
|
03-May-2012 |
Timo Sirainen <tss@iki.fi> |
Added MAIL_INDEX_TRANSACTION_FLAG_SYNC |
5f5870385cff47efd2f58e7892f251cf13761528 |
|
12-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2012. |
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. |
8f430e257605b2fd2b54cdf4c2a20ef8b53cf0ba |
|
07-Feb-2011 |
Timo Sirainen <tss@iki.fi> |
lib-index: Avoid writing tail offset unnecessarily to transaction log file.
This could have happened with MAIL_INDEX_TRANSACTION_FLAG_AVOID_FLAG_UPDATES
when all flag updates were cancelled and no other changes were done. |
e188bab0b830136d04a1dd8b55e9afefae20d930 |
|
03-Dec-2010 |
Timo Sirainen <tss@iki.fi> |
lib-index: Added "transaction boundary" record for future compatibility. |
07e80e04c8876b6bf3f95266f48b41e1a681e445 |
|
06-Oct-2010 |
Timo Sirainen <tss@iki.fi> |
lib-index: Avoid unnecessary pread()s at end of transaction log file.
If we've already read until EOF while the file has been locked, there's no
need to do it again. Previously this worked while index was being synced,
but not while committing a transaction. |
b780aa272b742a43579cdb523cc79cc8d4521306 |
|
25-Jun-2010 |
Timo Sirainen <tss@iki.fi> |
Renamed fsync_disable to mail_fsync=optimized|always|never.
--HG--
branch : HEAD |
d6370c8138546e27119c6da3d482b7ea7c0b2289 |
|
25-May-2010 |
Timo Sirainen <tss@iki.fi> |
lib-index: Recent "save transaction commits to memory" may have assert-crashed sometimes.
--HG--
branch : HEAD |
d8a786d2069fab818d0b62cd3eaa3ed08fe7c620 |
|
14-May-2010 |
Timo Sirainen <tss@iki.fi> |
lib-index, mmap_disable=yes: Save data also to memory after appending to transaction log.
This seems to fix a bug at least with CentOS 4.8 kernel (2.6.9-89.0.25.ELsmp)
where after a write() a read() didn't realize that data was written, so it
returned EOF too early.
Of course, this change also improves performance since it avoids re-reading
the same data that was just written.
--HG--
branch : HEAD |
e59faf65ce864fe95dc00f5d52b8323cdbd0608a |
|
25-Jan-2010 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2010.
--HG--
branch : HEAD |
02752bc8d64df8cd361f464e55422f7b3f2f143e |
|
25-Nov-2009 |
Timo Sirainen <tss@iki.fi> |
Removed buffer_create_static_hard().
buffer_create_data() handles most of the situations where it was wanted.
--HG--
branch : HEAD |
66ecc94150cbce23aad3240135e0782e0a74d479 |
|
30-Jul-2009 |
Timo Sirainen <tss@iki.fi> |
index: Removed duplication of mail_index_open_flags from struct mail_index.
--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 |
ab11c996ff754af701b03c63db20e434469064e0 |
|
27-May-2009 |
Timo Sirainen <tss@iki.fi> |
Fixed bugs caused by recent mail-transaction-log-append refactoring.
--HG--
branch : HEAD |
40a5aeebf6b4858b93f0ddff0bf12fba769cf903 |
|
09-May-2009 |
Timo Sirainen <tss@iki.fi> |
Tests are now run on "make check". Added initial tests for lib-index.
Moved old tests away from tests/ to libraries' individual directories.
--HG--
branch : HEAD |
77bc2bda5b781c4ffddc8a74b175cf32e9e2c2ec |
|
09-May-2009 |
Timo Sirainen <tss@iki.fi> |
More cleanups to transaction log writing code.
--HG--
branch : HEAD |
1279090ba03f9c176976a69ab7718f0ed77b19af |
|
09-May-2009 |
Timo Sirainen <tss@iki.fi> |
Moved transaction commiting code to mail-index-transaction-*.c
--HG--
branch : HEAD |
6f90ce01176bd920609d9d12e6419b9ba27c1359 |
|
13-Apr-2009 |
Timo Sirainen <tss@iki.fi> |
indexes: Error handling fixes.
--HG--
branch : HEAD |
5d264bf541597af95a31c342644f6bb0fa6e0708 |
|
10-Mar-2009 |
Timo Sirainen <tss@iki.fi> |
indexes: Fixes to handling shrinking tail offsets.
--HG--
branch : HEAD |
61cfcb75224b54bf20e864e85e1a343c72a84066 |
|
10-Mar-2009 |
Timo Sirainen <tss@iki.fi> |
If indexes had been reset, extension changes may have been written wrong.
--HG--
branch : HEAD |
8562da433e7659ce8ad6044ff5d8f44869c8cb73 |
|
05-Mar-2009 |
Timo Sirainen <tss@iki.fi> |
indexes: Make sure we don't shrink log_file_tail_offset.
--HG--
branch : HEAD |
346ee8b23fe6187632efe5930e59dafa17625138 |
|
20-Mar-2009 |
Timo Sirainen <tss@iki.fi> |
Removed some asserts that dbox code hits now.
--HG--
branch : HEAD |
807b48fe1f6a57b01ed2cc20247d5b5e3facc562 |
|
20-Mar-2009 |
Timo Sirainen <tss@iki.fi> |
Added FSYNC flag for transactions.
--HG--
branch : HEAD |
f153a2cec0319f549388d28f8cfd4d50229d1132 |
|
10-Mar-2009 |
Timo Sirainen <tss@iki.fi> |
indexes: Fixes to handling shrinking tail offsets.
--HG--
branch : HEAD |
5af0f76a95a11af59af75c9f290fbf53b68b7187 |
|
10-Mar-2009 |
Timo Sirainen <tss@iki.fi> |
If indexes had been reset, extension changes may have been written wrong.
--HG--
branch : HEAD |
b33167e3b630480ccf4654c6b380f66f7fc8fa61 |
|
10-Mar-2009 |
Timo Sirainen <tss@iki.fi> |
indexes: Don't add ext-intros unnecessarily twice for ext-rec updates.
Also did some code cleanups.
--HG--
branch : HEAD |
dffa503fd4ce31334346e539496084c80a2d8d37 |
|
05-Mar-2009 |
Timo Sirainen <tss@iki.fi> |
indexes: Make sure we don't shrink log_file_tail_offset.
--HG--
branch : HEAD |
c5794838af9995f50bfecb06a3cd4f9a0ac77858 |
|
04-Mar-2009 |
Timo Sirainen <tss@iki.fi> |
Added mail_index_atomic_inc_ext() for atomically incrementing numbers in extensions.
--HG--
branch : HEAD |
45312f52ff3a3d4c137447be4c7556500c2f8bf2 |
|
06-Jan-2009 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2009.
--HG--
branch : HEAD |
25c22e54d1071d120641e9eecd0023e7373e65ff |
|
18-Oct-2008 |
Timo Sirainen <tss@iki.fi> |
Fixes to handling "out of disk space/quota" write failures.
--HG--
branch : HEAD |
894987bf45718f8849cc3898afdfb1ac3cfa2445 |
|
31-Aug-2008 |
Timo Sirainen <tss@iki.fi> |
Replaced "no extension resizing" flag with "no extension shrinking".
It fixes some bugs while still handling the original reason it was added.
--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 |
48270badadd82279bfe50ae3d187aea8b0b2b30e |
|
21-Jun-2008 |
Timo Sirainen <tss@iki.fi> |
CONDSTORE: STORE UNCHANGEDSINCE conflicts are now checked atomically.
--HG--
branch : HEAD |
81a5d8714c566ce50c4a2409f59e82e716d576d2 |
|
18-Jun-2008 |
Timo Sirainen <tss@iki.fi> |
mail_index_update_header_ext() can now be called multiple times for the same
extension.
--HG--
branch : HEAD |
838f56174b963779a88083a0d0e85b30d2d846e7 |
|
18-Jun-2008 |
Timo Sirainen <tss@iki.fi> |
Mail index extension introductions now add a "no resizes" flag to the
intro records. If it's found, the header and record sizes are used only if
the extension doesn't exist yet, otherwise they're ignored.
--HG--
branch : HEAD |
c584c749b2894edce2323b12fa24957744ff556a |
|
18-Jun-2008 |
Timo Sirainen <tss@iki.fi> |
mail_index_update_header_ext(): Don't crash if size isn't 32bit aligned.
--HG--
branch : HEAD |
d67c6dc68cdb90b53434a25ead1590650e4d84e7 |
|
17-Jun-2008 |
Timo Sirainen <tss@iki.fi> |
Update sync_highest_modseq while appending new transactions.
Our own transaction commits
--HG--
branch : HEAD |
6e07b4251bf6a3cf34019c351a32a65c08392e58 |
|
29-May-2008 |
Timo Sirainen <tss@iki.fi> |
Added mail_index_ext_reset_inc() to atomically increase extension's
reset_id. Added clear_data parameter to mail_index_ext_reset*().
--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 |
9b5a8e766112d24c12499aca85da5ddf24baad25 |
|
14-Nov-2007 |
Timo Sirainen <tss@iki.fi> |
If mail_nfs_index=yes, we need to call fdatasync() for all written
transactions. Also this fdatasyncing needs to be done after rewriting the
first record's size.
--HG--
branch : HEAD |
80fc743146da5130de34174cdaad2576f103723f |
|
08-Nov-2007 |
Timo Sirainen <tss@iki.fi> |
fsync transaction commits only if the transaction contains change types
specified by mail_index_set_fsync_types().
--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 |
0f66f12eb4cdbf47670975044c88d8f388bf92df |
|
15-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Changed buffer_free() and buffer_free_without_data() APIs to take ** pointer
which is set to NULL instead of hiding it with a macro.
--HG--
branch : HEAD |
a022088674a5ae72ed29ae001834cbad62a4f19f |
|
19-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Keep flag updates separately from transaction.log_updates flag, because the
flag updates array can become empty.
--HG--
branch : HEAD |
db87d16551d1081ada01f787ea21aa3ed1402c31 |
|
19-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Changed mail_transaction_begin() API to take flags parameter instead of two
booleans.
--HG--
branch : HEAD |
7d9954a0609f942dada5ebf98031f1f1b94c5f35 |
|
18-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Don't crash if mail_index_reset() is the only change in transaction.
--HG--
branch : HEAD |
59dd7ec90e6e2e78df64e954d65a7b3f28eccfb2 |
|
17-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Removed extension intro caching, it doesn't currently work right.
--HG--
branch : HEAD |
a2cbf1d392ee983520451bc9b849a490f28ac298 |
|
14-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
If mail_index_ext_set_reset_id() is called, the transaction may go back to
unchanged state and we don't want to write it to transaction log then.
--HG--
branch : HEAD |
e4cdda3f359a3f120c4ab0acd3fe04c0ca7f8816 |
|
14-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
If we're modifying just one extension record, don't write the ext intro
twice.
--HG--
branch : HEAD |
2abddf4f02571af58bbc5954e07e7d4d68861189 |
|
14-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
When resetting extensions, the ext intro's reset_id must be the old one.
--HG--
branch : HEAD |
5e96e0a8a59aa5d3e2d38a21a211335a023fbbc8 |
|
13-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
mail_index_ext_set_reset_id() handling fix
--HG--
branch : HEAD |
1b8887ba5759f78f4f819bfeba07f8f7b1133bdb |
|
12-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Fixes to handling reset_id changes.
--HG--
branch : HEAD |
893e5bbd5184ec5c21f47c67c8ea6efbea41f7d0 |
|
12-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Added mail_index_ext_set_reset_id().
--HG--
branch : HEAD |
beb6125ee872e7fed57745ab33e6de99639180f3 |
|
08-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Implemented mail_index_update_header_ext()
--HG--
branch : HEAD |
ae8817f05005f57bba32479a610b52d083e2b6eb |
|
01-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Added support for resetting index.
--HG--
branch : HEAD |
a23197a5232f34121b1d32b73f2279c5d2f4491c |
|
20-Jun-2007 |
Timo Sirainen <tss@iki.fi> |
Fixed in-memory indexes
--HG--
branch : HEAD |
51795bfe9d05d92fe942cb451aec2b9d16d32a11 |
|
15-Jun-2007 |
Timo Sirainen <tss@iki.fi> |
int/ext/mailbox sync offset changes: Combined mailbox and int offsets to
"tail" offset and renamed ext offset to "head". This makes it clearer how
they're supposed to be used.
--HG--
branch : HEAD |
437b1d7e0a91ed93ff66a9056d0aac16ae23603c |
|
13-Jun-2007 |
Timo Sirainen <tss@iki.fi> |
Handle mail_transaction_log_file_map() == 0 failures.
--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 |
45474bb5e230ab045f3c9b3f1772ac5c9efaa109 |
|
23-May-2007 |
Timo Sirainen <tss@iki.fi> |
We don't need to get the hidden array position anymore.
--HG--
branch : HEAD |
137c1851d63c6575ebab35d261380423c4cf2b47 |
|
22-May-2007 |
Timo Sirainen <tss@iki.fi> |
Write transactions with two pwrite() calls instead of lots of tiny ones.
--HG--
branch : HEAD |
87ca2e468841829b44c09d618ac02f61a30b7a49 |
|
22-May-2007 |
Timo Sirainen <tss@iki.fi> |
mail_index_view_add_hidden_transaction() takes now a whole area parameter so
it has to be called only once for each transaction, instead of each for each
transaction record.
mail_index_view_add_synced_transaction() is no longer public.
--HG--
branch : HEAD |
20252533b373c42e9a9e33d857b95accb4c7376a |
|
11-Mar-2007 |
Timo Sirainen <tss@iki.fi> |
If we can't rotate log file because there's no disk space, don't abort
appending the transaction.
--HG--
branch : HEAD |
4d5d16ff85dacf56ddd70f76e0ccdb12b9d314d0 |
|
11-Mar-2007 |
Timo Sirainen <tss@iki.fi> |
If write to transaction log fails, we may later need to truncate the file so
that after the write there won't be garbage after it.
--HG--
branch : HEAD |
7e235b3a5f622813121cd18f351e036650aaf8f8 |
|
11-Mar-2007 |
Timo Sirainen <tss@iki.fi> |
If transaction log grows larger than 1MB, rotate it even if it was created
less than 5 minutes ago.
--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 |
41e09cca158ab614961e03deac60f12a58235cd3 |
|
07-Mar-2007 |
Timo Sirainen <tss@iki.fi> |
If write fails with "not enough space" error, log it instead of silently
handling it.
--HG--
branch : HEAD |
b529a94ab17fe69cdcfab08d7030266cb2a564e4 |
|
16-Jan-2007 |
Timo Sirainen <tss@iki.fi> |
Fixed a race condition in transaction log rotation, which could have caused
log data to be overwritten.
--HG--
branch : HEAD |
8d80659e504ffb34bb0c6a633184fece35751b18 |
|
28-Jun-2006 |
Timo Sirainen <tss@iki.fi> |
Array API redesigned to work using unions. It now provides type safety
without having to enable DEBUG, as long as the compiler supports typeof().
Its API changed a bit. It now allows directly accessing the array contents,
although that's not necessarily recommended. Changed existing array usage to
be type safe in a bit more places. Removed array_t completely. Also did
s/modifyable/modifiable/.
--HG--
branch : HEAD |
03739a8eaad2d8b34b9d87dbbe5b13c5d5dfa11a |
|
15-Jun-2006 |
Timo Sirainen <tss@iki.fi> |
We used "already synced log positions in view" array to store locations of
committed hidden transactions. They however weren't really synced, which
caused some problems. Added a separate "hidden sync log positions" array
for them which is handled differently.
--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 |
0d0451206a91e9f96e522075dce28a89adc2325d |
|
07-Jan-2006 |
Timo Sirainen <tss@iki.fi> |
Beginnings of fallbacking to in-memory indexes when write fails with "out of
disk space" error.
--HG--
branch : HEAD |
f0df86d62853dc11fc76c4111e614ad3a7b5262b |
|
06-Jan-2006 |
Timo Sirainen <tss@iki.fi> |
Hidden transaction changes weren't hiding everything. This resulted STORE
+FLAGS.SILENT not being silent always.
--HG--
branch : HEAD |
8afec4d1a32b78f540257a27769b372aad753384 |
|
06-Jan-2006 |
Timo Sirainen <tss@iki.fi> |
Comment updates, small cleanups and optimizations.
--HG--
branch : HEAD |
c27f03fa8fd2ef4acd1db814fae7d90e0eb9d3ae |
|
06-Jan-2006 |
Timo Sirainen <tss@iki.fi> |
Cleanup: Created mail_index_registered_ext which is used for
index->extensions array. Put sync_handler to it and removed sync_handlers
array.
--HG--
branch : HEAD |
da23c301b2f97a67f6100a35f2f2160b04bf49f9 |
|
18-Aug-2005 |
Timo Sirainen <tss@iki.fi> |
Removed fsync() call when appending to transaction log file. It's not all
that important and just slows down.
--HG--
branch : HEAD |
16f816d3f3c32ae3351834253f52ddd0212bcbf3 |
|
04-Jul-2005 |
Timo Sirainen <tss@iki.fi> |
Moved array declaration to array-decl.h and include it in lib.h. So array.h
needs to be now included to use any array_*() functions.
--HG--
branch : HEAD |
aa38d1a0945f0bc13a225d043f53fad2eec666b1 |
|
23-Apr-2005 |
Timo Sirainen <tss@iki.fi> |
If UIDVALIDITY changes, don't invalidate the whole index. Just expunge all
existing messages and update uidvalidity/nextuid fields. Now we don't have
to re-login when this happens.
--HG--
branch : HEAD |
75ef04fc62a3955d3a5310410e09735cbd4e972b |
|
17-Apr-2005 |
Timo Sirainen <tss@iki.fi> |
mmap_disable=yes: Transaction log might have been rotated before everything
was committed to index.
--HG--
branch : HEAD |
bb10ebcf076c959c752f583746d83805d7686df8 |
|
02-Apr-2005 |
Timo Sirainen <tss@iki.fi> |
Keywords are now stored in X-Keywords headers in mbox. Did several related
API changes to get better performance.
--HG--
branch : HEAD |
4b231ca0bbe3b536acbd350101e183441ce0247a |
|
29-Mar-2005 |
Timo Sirainen <tss@iki.fi> |
In-memory indexes work again. Just pass dir as NULL to mail_index_alloc().
--HG--
branch : HEAD |
d89f65495aa2c3922f5ede61f9fa468f89b1efd5 |
|
18-Mar-2005 |
Timo Sirainen <tss@iki.fi> |
Compiler warning fix
--HG--
branch : HEAD |
287ba82a8da3eaa473b5735d4eeac2fb4c5d8117 |
|
12-Mar-2005 |
Timo Sirainen <tss@iki.fi> |
Changed many buffers to arrays. Cleans up the code a lot.
--HG--
branch : HEAD |
1f979271d18100207bf5f4e32f8ccd319e1e63d6 |
|
05-Mar-2005 |
Timo Sirainen <tss@iki.fi> |
When rotating log, we locked index and tried to use its header. We didn't
call mail_index_map() however to update the header..
--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 |
105addcb709523868418cc3e3baad7ad3453a91e |
|
04-Mar-2005 |
Timo Sirainen <tss@iki.fi> |
Added versioning to transaction log header. Added create_stamp to its
header and it's not used to determine if the transaction log should be
rotated, not the last time the log was updated. So now if the log is over
128kB, it's rotated as soon as it's at least 5 minutes old.
--HG--
branch : HEAD |
d48a2f3288eba53dd10d9d8029ec583d78a977e0 |
|
08-Feb-2005 |
Timo Sirainen <tss@iki.fi> |
forgot to add
--HG--
branch : HEAD |