]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
dsync: Revert logging a more detailed reason why mailbox was lost
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Mon, 31 Oct 2022 20:37:34 +0000 (22:37 +0200)
committerTimo Sirainen <timo.sirainen@open-xchange.com>
Mon, 31 Oct 2022 20:37:34 +0000 (22:37 +0200)
This code can't actually work, because the mailbox allocation is attempted
in multiple namespaces. The error would just come from the last namespace,
which might not have been the correct one.

Reverts cdf981514af4eb8af5a459d8e68bed2cccd7f37c

src/doveadm/dsync/dsync-brain-mailbox.c

index 23f6eb0df009757d2077641b0568eb8112ffb411..a9fd3827d3b9c068570c175b5968c5228017b93a 100644 (file)
@@ -839,8 +839,8 @@ bool dsync_brain_slave_recv_mailbox(struct dsync_brain *brain)
                }
                //FIXME: verify this from log, and if not log an error.
                dsync_brain_set_changes_during_sync(brain, t_strdup_printf(
-                       "Mailbox GUID %s was lost: %s",
-                       guid_128_to_string(dsync_box->mailbox_guid), errstr));
+                       "Mailbox GUID %s was lost",
+                       guid_128_to_string(dsync_box->mailbox_guid)));
                dsync_brain_slave_send_mailbox_lost(brain, dsync_box, FALSE);
                return TRUE;
        }