Closed Bug 46501 Opened 25 years ago Closed 25 years ago

Unnecessary SELECT when IMAP copy across imap servers

Categories

(MailNews Core :: Networking: IMAP, defect, P3)

defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: bugzilla, Assigned: Bienvenu)

Details

(Keywords: perf, Whiteboard: [nsbeta3+])

According to: news://news.mozilla.org/3876AA19.AD400A26%40netscape.com there is an unnecessary use of SELECT when you do a copy (APPEND) to a IMAP folder. To quote <jgmyers@netscape.com>: "Additionally, I noticed that Messenger does a SELECT and caption download on the destination folder before starting to APPEND the messages. This is completely unnecessary."
Jeff implemented copy. load balancing to him. An extra select would be very bad.....
Assignee: mscott → jefft
Keywords: nsbeta3, perf
Target Milestone: --- → M18
Keywords: mail2
Mail triage marking [nsbeta3+]. reassigning to bienvenu
Assignee: jefft → bienvenu
Whiteboard: [nsbeta3+]
accepting to investigate the circumstances that this happens under.
Status: NEW → ASSIGNED
John posted that message way back in January. My guess is that this was fixed a long time ago. Henrik, have you observed this in a build from the past few months, or were you just following up on John's posting?
Yeah, I was just following up on John's posting. This is what's happening: You have imapserver1 and imapserver2 and would like to copy msg1 from inbox on imapserver1 to imapserver2. First you select the inbox on imapserver2, then you select the inbox on imapserver1. Then you select msg1 on imapserver1 and select Copy to imapserver2/inbox. And APPEND imap command is executed and no SELECT is execute. Fine. But if you dont select the inbox on imapserver2 first a lot more IMAP command are executed when you select Copy to imapserver2/inbox, including SELECT command etc...
So, this only happens when you copy across imap servers, and perhaps when you copy from a local folder to an imap folder. Not quite as exciting as if it happened on all IMAP copies.
Summary: Unnecessary SELECT when IMAP copy → Unnecessary SELECT when IMAP copy across imap servers
fix checked in.
fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
QA->me
QA Contact: lchiang → huang
I am currently trying to verify this bug....
Verified on WinNT 09-29-09-MN6 Verified on Linux 09-29-09-MN6 Verified on Mac 09-29-11-MN6 Based on the following IMAP log, there is no SELECT and caption download on the destination folder before starting to APPEND the messages. Marking as verified!! ------------------------------------------------------------------------------- 181[3cc0560]: nsmail-2:A:SendData: 8 list "" "INBOX" 181[3cc0560]: nsmail-2:A:CreateNewLineFromSocket: * LIST (\NoInferiors) "/" INBOX 181[3cc0560]: nsmail-2:A:CreateNewLineFromSocket: 8 OK Completed 181[3cc0560]: nsmail-2:A:SendData: 9 append "INBOX" (\Seen) {667+} 181[3cc0560]: nsmail-2:A:SendData: Return-Path: <qatest30@netscape.com> Received: from netscape.com ([208.12.40.221]) by judge.mcom.com (Netscape Messaging Server 4.15) with ESMTP id G1TVQG02.355 for <qatest30@netscape.com>; Mon, 2 Oct 2000 17:23:04 -0700 Message-ID: <39D92694.4050304@netscape.com> Date: Mon, 02 Oct 2000 17:21:40 -0700 From: qatest30@netscape.com (qa test30) User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; m18) Gecko/20000929 Netscape6/6.0b3 X-Accept-Lan 181[3cc0560]: nsmail-2:A:SendData: 181[3cc0560]: nsmail-2:A:CreateNewLineFromSocket: 9 OK [APPENDUID 910426107 126] Completed --------------------------------------------------------------------------------
Status: RESOLVED → VERIFIED
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.