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

GitHub noreply at github.com
Thu May 11 16:00:13 EEST 2017


  Branch: refs/heads/master-2.2
  Home:   https://github.com/dovecot/core
  Commit: d670c0cf2532c7ef9bd81e9cc302615c444b337c
      https://github.com/dovecot/core/commit/d670c0cf2532c7ef9bd81e9cc302615c444b337c
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-05-11 (Thu, 11 May 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()

Conflicts:
	src/lib-storage/index/index-storage.c
	src/lib-storage/index/index-storage.h


  Commit: f1d136a7da8cda13b346d7a0b7bb5d2fcb167f42
      https://github.com/dovecot/core/commit/f1d136a7da8cda13b346d7a0b7bb5d2fcb167f42
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-05-11 (Thu, 11 May 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/ca9ca6f68ba1...f1d136a7da8c


More information about the dovecot-cvs mailing list