Closed Bug 710717 Opened 13 years ago Closed 10 years ago

Moves of multiple messages not atomic, becoming partial copies, for example if disk is full

Categories

(MailNews Core :: Database, defect)

defect
Not set
critical

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 195077

People

(Reporter: Delineif, Unassigned)

Details

(Keywords: dataloss, Whiteboard: [dupeme])

1) Create in the inbox the following messages:
A 2Kb
B 2Kb
C 3Mb
D 2Kb

2) Fill the disk leaving just 2Mb free

3) Move the above messages to another folder (eg. Sent)

4) Thunderbird shows a message saying there wasn't enough space to move them

5) The state is now this:
Inbox: A B C D
Sent: A B

(messages became duplicated)

Given that the desired state is unreachable, it should be left in either:
Inbox: A B C D
Sent:

or

Inbox: C D
Sent: A B 

Note that even a check for free space before actually doing anything would help. It could still happen, but would need a race condition.
Severity: normal → critical
Keywords: dataloss
Summary: Moves of multiple messages not atomic, becoming partial copies → Moves of multiple messages not atomic, becoming partial copies, for example if disk is full
Whiteboard: [dupeme]
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.