[dovecot/core] 724c4a: imapc: Cleanup - change delayed_expunged_uids to s...

GitHub noreply at github.com
Wed Nov 23 16:00:09 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 724c4a962ea72d9c7ad719740f4351368f8eee51
      https://github.com/dovecot/core/commit/724c4a962ea72d9c7ad719740f4351368f8eee51
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-11-23 (Wed, 23 Nov 2016)

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

  Log Message:
  -----------
  imapc: Cleanup - change delayed_expunged_uids to seq_range.

This simplifies the next commit.


  Commit: 22788c0ac1776a7d633ef3ba3841289d22abbe17
      https://github.com/dovecot/core/commit/22788c0ac1776a7d633ef3ba3841289d22abbe17
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-11-23 (Wed, 23 Nov 2016)

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

  Log Message:
  -----------
  imapc: Fix assert that checks if mail is expunged locally.

The EXPUNGE may have been sent while imapc_sync_index() was issuing
remote imapc commands. It would end up being in delayed_expunged_uids,
so the assert needs to check that too.

Fixes:
Panic: file imapc-sync.c: line 290 (imapc_initial_sync_check): assertion failed: (mail_index_is_expunged(view, lseq))


Compare: https://github.com/dovecot/core/compare/99abb1302ae6...22788c0ac177


More information about the dovecot-cvs mailing list