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

GitHub noreply at github.com
Wed Nov 23 16:30:11 UTC 2016


  Branch: refs/heads/master-2.2
  Home:   https://github.com/dovecot/core
  Commit: baca122407664bff1164d8d16b473f3ed423799c
      https://github.com/dovecot/core/commit/baca122407664bff1164d8d16b473f3ed423799c
  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: 5e21c15a7f53eccfe6da5f1bcb435d4050821aca
      https://github.com/dovecot/core/commit/5e21c15a7f53eccfe6da5f1bcb435d4050821aca
  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/2c3f37672277...5e21c15a7f53


More information about the dovecot-cvs mailing list