[dovecot/core] f776b9: lib-storage: Move backend code to a common index_s...

GitHub noreply at github.com
Fri Apr 28 15:30:10 EEST 2017


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: f776b9a125c59a96de6807e9558942cf7b7ab079
      https://github.com/dovecot/core/commit/f776b9a125c59a96de6807e9558942cf7b7ab079
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-04-28 (Fri, 28 Apr 2017)

  Changed paths:
    M src/lib-storage/index/dbox-multi/mdbox-save.c
    M src/lib-storage/index/dbox-single/sdbox-save.c
    M src/lib-storage/index/index-storage.c
    M src/lib-storage/index/index-storage.h
    M src/lib-storage/index/maildir/maildir-save.c
    M src/lib-storage/index/mbox/mbox-save.c

  Log Message:
  -----------
  lib-storage: Move backend code to a common index_storage_save_abort_last()


  Commit: cca398c2ed3200f826220a62ce2a609509823c52
      https://github.com/dovecot/core/commit/cca398c2ed3200f826220a62ce2a609509823c52
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-04-28 (Fri, 28 Apr 2017)

  Changed paths:
    M src/lib-storage/index/index-storage.c

  Log Message:
  -----------
  lib-storage: When save is aborted, close dest_mail without crashing

Fixes:
Panic: file mail-index-transaction-update.c: line 1023 (mail_index_update_ext): assertion failed: (seq > 0 && (seq <= mail_index_view_get_messages_count(t->view) || seq <= t->last_new_seq))

Because cache was still attempted to be updated, but the mail was already
expunged from index.


Compare: https://github.com/dovecot/core/compare/53e2b6954089...cca398c2ed32


More information about the dovecot-cvs mailing list