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)

enhancement
Not set
normal

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.
No longer blocks: 766495, 789679, 799450, 817245, 1108609, 462665, 608449
No longer depends on: 793865, 794303, 854798
Keywords: dataloss, privacy
Blocks: 789679
Blocks: 1183490
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.
No longer blocks: 1183490
Depends on: 1183490
Now that bug 1183490 is done, can you recheck if the numbering is as expected?
Flags: needinfo?(m-wada)
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
Status: RESOLVED → VERIFIED
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.