From 25a0aea875fd0d67238beed1237f7239474673ec Mon Sep 17 00:00:00 2001 From: Kali Kaneko Date: Fri, 27 Dec 2013 02:06:44 -0400 Subject: First stage of the storage schema rewrite. * Separates between flags, docs, body and attachment docs. * Implement IMessageCopier interface: move and have fun! This little change is known to push forward our beloved architect emotional rollercoster. * Message deduplication. * It also fixes a hidden bug that was rendering the multipart mime interface useless (yes, the "True" parameter in the parsestr method). * Does not handle well nested attachs, includes dirty workaround that flattens them. * Includes chiiph's patch for rc2: * return deferred from addMessage * convert StringIO types to string * remove unneeded yields from the chain of deferreds in fetcher --- changes/feature_split_message_docs | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 changes/feature_split_message_docs (limited to 'changes') diff --git a/changes/feature_split_message_docs b/changes/feature_split_message_docs new file mode 100644 index 0000000..231c36e --- /dev/null +++ b/changes/feature_split_message_docs @@ -0,0 +1,6 @@ + o Defer costly operations to a pool of threads. + o Split the internal representation of messages into four distinct documents: + 1) Flags 2) Headers 3) Body 4) Attachments. + o Add deduplication ability to the save operation, for body and attachments. + o Add IMessageCopier interface to mailbox implementation, so bulk moves + are costless. Closes: #4654 -- cgit v1.2.3 From 3bd8a7b669ac490b8f8e6c33550963c37069e383 Mon Sep 17 00:00:00 2001 From: Kali Kaneko Date: Wed, 8 Jan 2014 23:17:47 -0400 Subject: changes file updated --- changes/feature_split_message_docs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'changes') diff --git a/changes/feature_split_message_docs b/changes/feature_split_message_docs index 231c36e..0109501 100644 --- a/changes/feature_split_message_docs +++ b/changes/feature_split_message_docs @@ -1,6 +1,7 @@ o Defer costly operations to a pool of threads. - o Split the internal representation of messages into four distinct documents: - 1) Flags 2) Headers 3) Body 4) Attachments. + o Split the internal representation of messages into three distinct documents: + 1) Flags 2) Headers 3) Content. + o Make use of the Twisted MIME interface. o Add deduplication ability to the save operation, for body and attachments. o Add IMessageCopier interface to mailbox implementation, so bulk moves are costless. Closes: #4654 -- cgit v1.2.3