dovecot-2.2: lib-storage: Don't require mailbox to be synced for...

dovecot at dovecot.org dovecot at dovecot.org
Wed Oct 31 13:34:58 EET 2012


details:   http://hg.dovecot.org/dovecot-2.2/rev/53d4db36e251
changeset: 15364:53d4db36e251
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Oct 31 13:34:52 2012 +0200
description:
lib-storage: Don't require mailbox to be synced for MAILBOX_METADATA_GUID lookup
None of the mailbox formats currently require it, and lib-lda code
assert-crashes with it since syncing is done with a transaction already
open.

diffstat:

 src/lib-storage/mail-storage.h |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r b690ff7a2d65 -r 53d4db36e251 src/lib-storage/mail-storage.h
--- a/src/lib-storage/mail-storage.h	Wed Oct 31 13:29:16 2012 +0200
+++ b/src/lib-storage/mail-storage.h	Wed Oct 31 13:34:52 2012 +0200
@@ -87,7 +87,7 @@
 	MAILBOX_METADATA_BACKEND_NAMESPACE	= 0x10
 	/* metadata items that require mailbox to be synced at least once. */
 #define MAILBOX_METADATA_SYNC_ITEMS \
-	(MAILBOX_METADATA_GUID | MAILBOX_METADATA_VIRTUAL_SIZE)
+	(MAILBOX_METADATA_VIRTUAL_SIZE)
 };
 
 enum mailbox_search_result_flags {


More information about the dovecot-cvs mailing list