]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
lib-index: Don't update max_tail_offset if write to dovecot.index.log fails
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Sun, 5 Feb 2023 18:47:08 +0000 (20:47 +0200)
committertimo.sirainen <timo.sirainen@open-xchange.com>
Thu, 15 Jun 2023 17:21:25 +0000 (17:21 +0000)
commit830a7db7c030dc831ba11873b09a1c937f095ab3
treed0856dcc1c7823dfe64a1dd74916ef5dc7781b7c
parent08740f79029af5de396571b82d41e0e686bba758
lib-index: Don't update max_tail_offset if write to dovecot.index.log fails

The max_tail_offset didn't actually increase in that situation.
This fixes wrongly updating mail_index_header.log_file_tail_offset after
write to dovecot.index.log failed (due to out of disk space), which in
turn can cause some unexpected errors.
src/lib-index/mail-transaction-log-append.c