Closed
Bug 514504
Opened 15 years ago
Closed 15 years ago
Gloda: messages for which the clean bit hasn't been committed yet can be indexed in both event and sweep modes
Categories
(MailNews Core :: Database, defect)
MailNews Core
Database
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird 3.0rc1
People
(Reporter: rain1, Assigned: asuth)
Details
(Whiteboard: [gloda key])
Attachments
(1 file)
107.63 KB,
image/png
|
Details |
STR: 1. Trigger a large number of msgAdded notifications -- around 40 or so should do. 2. We'll start indexing the first few messages in event mode, but soon go into sweep mode. 3. Once in sweep mode, we'll attempt to index the same messages again. This happens because we only set the clean bit on the message header after we've committed to disk, and we never get a chance in between steps 2 and 3 to commit to disk. Once we're in sweep mode, we completely forget that we've already indexed these messages. test_index_*_imap_messages_in_bulk.js should be able to test this.
Assignee | ||
Updated•15 years ago
|
Assignee: nobody → bugmail
Whiteboard: [gloda key]
Comment 1•15 years ago
|
||
to go with the screenshot - activity mgr says 11 indexed, there are 7 msgs in the folder, 2 of which were moved <1/2 hr before unclear if what I saw was this bug.
Assignee | ||
Comment 2•15 years ago
|
||
The gloda correctness patch addresses this through the introduction of the PendingCommitTracker. This is tested in base_index_messages.js by the aptly named test_sweep_indexing_does_not_reindex_event_indexed.
Status: NEW → ASSIGNED
Whiteboard: [gloda key] → [gloda key][fixed in gloda correctness patch]
Assignee | ||
Comment 3•15 years ago
|
||
Fixed in gloda correctness patch tracked on bug 465618. trunk commit: http://hg.mozilla.org/comm-central/rev/413b2018349c
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Whiteboard: [gloda key][fixed in gloda correctness patch] → [gloda key]
Target Milestone: --- → Thunderbird 3.0rc1
Updated•15 years ago
|
Keywords: fixed-seamonkey2.0.1
Updated•15 years ago
|
Keywords: fixed-seamonkey2.0.1
You need to log in
before you can comment on or make changes to this bug.
Description
•