MBOX-Line: From dave at cridland.net  Wed Jun 23 09:05:18 2010
To: imap-protocol@u.washington.edu
From: Dave Cridland <dave@cridland.net>
Date: Fri Jun  8 12:34:45 2018
Subject: [Imap-protocol] Handle failures during STORE command execution
In-Reply-To: <AANLkTimu9HE_yXxlM9Zy6yNhvmgoOW3Xlj3aDQmCBDDL@mail.gmail.com>
References: <AANLkTimu9HE_yXxlM9Zy6yNhvmgoOW3Xlj3aDQmCBDDL@mail.gmail.com>
Message-ID: <30462.1277309118.168996@puncture>

On Wed Jun 23 16:41:21 2010, Norman Maurer wrote:
> a store 1:100 flags \Seen
> 
> What should I return if the flag update fails for for message 3  
> only?
> Do I still return the new flags for the rest of the messages (+just
> return the old flags for message 3)  and response with ok or do I  
> need
> to rollback all the changes made during processing the command and
> response with an error ?

You need to rollback.

Otherwise, most especially if FLAGS.SILENT were used, a client will  
be unable to discover what the partial failure was.

Dave.
-- 
Dave Cridland - mailto:dave@cridland.net - xmpp:dwd@dave.cridland.net
  - acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/
  - http://dave.cridland.net/
Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade

