Closed
Bug 1144020
Opened 10 years ago
Closed 9 years ago
Repair Folder of BerkeleyStore Mbox should start from messageKey=1 and use increment=1
Categories
(MailNews Core :: Backend, enhancement)
MailNews Core
Backend
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: World, Unassigned)
References
Details
+++ This bug was initially created as a clone of Bug #854798 +++
Repair Folder of BerkeleyStore Mbox should start from messageKey=1 and use increment=1.
Increment=1 is currently used by :
- message filter move to BerkeleyStore Mbox, when multiple message move to an Mbox at once
- when message is placed near 4GB, incremented by 1 to avoid messageKey overflow/wrap around.
Reporter | ||
Updated•10 years ago
|
Reporter | ||
Updated•10 years ago
|
It seems most of this is going to be solved in bug 1183490. So changing dependence. We'll see if anything needs to be done afterwards.
Now that bug 1183490 is done, can you recheck if the numbering is as expected?
Flags: needinfo?(m-wada)
Reporter | ||
Comment 3•9 years ago
|
||
Checked with trunk nightly.
> Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:47.0) Gecko/20100101 Thunderbird/47.0a1
> Application Build ID 20160228030411
1. Compact : messageKey is not changed
2. Copy/Move mails : messageKey starts from 1, and is incremented by 1
3. Repair Folder : messageKey starts from 1, and is incremented by 1
All works as designed, as expected.
Status: NEW → RESOLVED
Closed: 9 years ago
Flags: needinfo?(m-wada)
Resolution: --- → FIXED
Reporter | ||
Updated•9 years ago
|
Status: RESOLVED → VERIFIED
Reporter | ||
Comment 4•9 years ago
|
||
Additional check
4. Delete -> Compact -> Copy/Move -> Repair Folder :
messageKey is not changed by Compact
messageKey is incremented by 1 from Highest messageKey upon Copy/Move.
"Re-use of messageKey by Copy/Move" doesn't occur. Bug 1202105 is resolved.
messageKey starts from 1 and is incremented by 1 upon repair Folder.
"Re-use of messageKey of deleted mail" can occur by Repait Folder.
If composer refers to the messageKey of deleted mail(==messageKey re-used after Repair Folder),
problem of bug 1201782 can occur after Delete/Compact/Copy/Move + Repair Folder.
You need to log in
before you can comment on or make changes to this bug.
Description
•