[dovecot/core] b835c5: quota: Fix negative quota_warnings with count back...
GitHub
noreply at github.com
Mon Jun 12 16:30:15 EEST 2017
Branch: refs/heads/master-2.2
Home: https://github.com/dovecot/core
Commit: b835c5acc4e07ffecbeb0b1cbd7e901f86c2f4c5
https://github.com/dovecot/core/commit/b835c5acc4e07ffecbeb0b1cbd7e901f86c2f4c5
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2017-06-12 (Mon, 12 Jun 2017)
Changed paths:
M src/plugins/quota/quota-private.h
M src/plugins/quota/quota-storage.c
M src/plugins/quota/quota.c
Log Message:
-----------
quota: Fix negative quota_warnings with count backend
For example this never triggered:
quota_warning = -messages=100%% quota-warning %u -100
The change to quota_alloc() to update the count_used doesn't seem to
actually fix anything right now, but it makes the code more correct.
Commit: be715b3a41d6449c5a508c6b1e18242af0d78a8d
https://github.com/dovecot/core/commit/be715b3a41d6449c5a508c6b1e18242af0d78a8d
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2017-06-12 (Mon, 12 Jun 2017)
Changed paths:
M src/lib-storage/mail-storage.c
Log Message:
-----------
lib-storage: Fix setting the correct cache record corrupted
It was mixing UIDs and sequences, so a wrong mail could have been set
corrupted or it could have crashed with:
Panic: file mail-index-transaction-update.c: line 1018 (mail_index_update_ext): assertion failed: (seq > 0 && (seq <= mail_index_view_get_messages_count(t->view) || seq <= t->last_new_seq))
Commit: f723c6d7217b27c0567b0a147c1869382e117f33
https://github.com/dovecot/core/commit/f723c6d7217b27c0567b0a147c1869382e117f33
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2017-06-12 (Mon, 12 Jun 2017)
Changed paths:
M src/lib-storage/index/index-sort-string.c
Log Message:
-----------
lib-storage: Add details to "Broken sort-* indexes" error
Commit: 930f8be909c503f66cd9e16a16f25c868850a12e
https://github.com/dovecot/core/commit/930f8be909c503f66cd9e16a16f25c868850a12e
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2017-06-12 (Mon, 12 Jun 2017)
Changed paths:
M src/lib-storage/index/index-sort-string.c
Log Message:
-----------
lib-storage: Fix sort index writing to not leave sort_id=0 gaps
This fixes errors like:
Error: INBOX: Broken sort-f indexes, resetting
Commit: 410ef08d75e75955a69b63d5e4a37ab76c84731e
https://github.com/dovecot/core/commit/410ef08d75e75955a69b63d5e4a37ab76c84731e
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2017-06-12 (Mon, 12 Jun 2017)
Changed paths:
M src/lib/ioloop-kqueue.c
Log Message:
-----------
lib: ioloop-kqueue - Improve kevent() panic log message
Compare: https://github.com/dovecot/core/compare/ee339bbbd43f...410ef08d75e7
More information about the dovecot-cvs
mailing list