[dovecot/core | refs/heads/master-2.2] 539a78f4: LAYOUT=index: Fix rebuilding mailbox list index on force-resync

noreply at dovecot.org noreply at dovecot.org
Fri Jan 25 13:00:21 EET 2019


  Branch: refs/heads/master-2.2
  Home:   https://github.com/dovecot/core
  Commit: 539a78f44732789c6251663ffaefba146338c0af
      https://github.com/dovecot/core/commit/539a78f44732789c6251663ffaefba146338c0af
  Author: Timo Sirainen <timo.sirainen at open-xchange.com>
  Date:   2019-01-25 (Fri, 25 Jan 2019)

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

  Log Message:
  -----------
  LAYOUT=index: Fix rebuilding mailbox list index on force-resync

The if-check was a bit confusing because have_backend==TRUE means that there
the mailbox list index is only an index, while have_backend==FALSE means
that the mailbox list index is the only source for the list of mailboxes
(= list index is the backend).

  Commit: c462c551457284becad8d34ba7518bee9b6d4acc
      https://github.com/dovecot/core/commit/c462c551457284becad8d34ba7518bee9b6d4acc
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2019-01-25 (Fri, 25 Jan 2019)

  Changed paths:
    M src/lib-master/ipc-client.c

  Log Message:
  -----------
  lib-master: ipc-client: Don't free command too early

When multiple replies were received by IPC only the final reply should free
the command. This may have caused e.g. "doveadm proxy list" to crash.
Broken by 435f0545b200767c25a5daee17cd6b4998d03710

  Commit: 70a1f63ff4e55d3ce83cdc5373de79b8286d4fc9
      https://github.com/dovecot/core/commit/70a1f63ff4e55d3ce83cdc5373de79b8286d4fc9
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2019-01-25 (Fri, 25 Jan 2019)

  Changed paths:
    M src/director/director.c

  Log Message:
  -----------
  director: Allow fully freeing user while waiting for IPC kick to finish

director_user_move_free() will now just free the IPC command, so this isn't
a problem anymore.

  Commit: 7dcf1cf845e9afd85c73205567c3a931a71f3400
      https://github.com/dovecot/core/commit/7dcf1cf845e9afd85c73205567c3a931a71f3400
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2019-01-25 (Fri, 25 Jan 2019)

  Changed paths:
    M src/director/director.c
    M src/director/director.h

  Log Message:
  -----------
  director: Fix crash when user kill times out before IPC finishes

Abort the IPC kick command when freeing kill context so the IPC callback
won't be called.

  Commit: aa1cfaf522b04bc98dd086e56a60883795ef2cf8
      https://github.com/dovecot/core/commit/aa1cfaf522b04bc98dd086e56a60883795ef2cf8
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2019-01-25 (Fri, 25 Jan 2019)

  Changed paths:
    M src/lib-master/ipc-client.c
    M src/lib-master/ipc-client.h

  Log Message:
  -----------
  lib-master: ipc-client: Support aborting commands

  Commit: 8687df53b320c577a6907ed5ef6dc6553f58853f
      https://github.com/dovecot/core/commit/8687df53b320c577a6907ed5ef6dc6553f58853f
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2019-01-25 (Fri, 25 Jan 2019)

  Changed paths:
    M src/lib-master/ipc-client.c

  Log Message:
  -----------
  lib-master: ipc-client: Cleanup - avoid extra return in the function

Simplifies the following commit.

  Commit: b7ecba9d6d358569d367620f95e3817da99e0036
      https://github.com/dovecot/core/commit/b7ecba9d6d358569d367620f95e3817da99e0036
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2019-01-25 (Fri, 25 Jan 2019)

  Changed paths:
    M src/lib-master/ipc-client.c

  Log Message:
  -----------
  lib-master: ipc-client: Never call callback directly from ipc_client_cmd()

This may simplify the calling code, especially after the following commit
that returns the command pointer.

  Commit: d646cb80769d4d6b162bd2d51e90709548e60c3b
      https://github.com/dovecot/core/commit/d646cb80769d4d6b162bd2d51e90709548e60c3b
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2019-01-25 (Fri, 25 Jan 2019)

  Changed paths:
    M src/lib-master/ipc-client.c

  Log Message:
  -----------
  lib-master: ipc-client: Split code to ipc_client_abort_commands()

  Commit: 405ff25ea3efbbd078c42b1bd16ced0cc77d7b5a
      https://github.com/dovecot/core/commit/405ff25ea3efbbd078c42b1bd16ced0cc77d7b5a
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2019-01-25 (Fri, 25 Jan 2019)

  Changed paths:
    M src/lib-master/ipc-client.c

  Log Message:
  -----------
  lib-master: ipc-client: Use linked list of commads instead of array

Needed for the following commit that returns the command pointer.

  Commit: b9bfa51fba1f524d92d5e26f5dc185e59f73d51d
      https://github.com/dovecot/core/commit/b9bfa51fba1f524d92d5e26f5dc185e59f73d51d
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2019-01-25 (Fri, 25 Jan 2019)

  Changed paths:
    M src/lib-master/ipc-client.c

  Log Message:
  -----------
  lib-master: ipc-client: Don't call callback twice if IPC proxy sends invalid input

ipc_client_disconnect() called it once, and the second time was done with
the cmds[0] that was already removed from the array.

  Patch: https://github.com/dovecot/core/compare/c953d057a484...539a78f44732.patch


More information about the dovecot-cvs mailing list