Closed Bug 467688 Opened 16 years ago Closed 14 years ago

gloda database should use PRAGMA synchronous FULL

Categories

(MailNews Core :: Database, defect)

defect
Not set
normal

Tracking

(thunderbird3.1 rc1-fixed)

RESOLVED FIXED
Thunderbird 3.1rc1
Tracking Status
thunderbird3.1 --- rc1-fixed

People

(Reporter: asuth, Assigned: asuth)

References

Details

(Whiteboard: [gloda key])

Attachments

(1 file)

Bug 466731 changed the default to NORMAL rather than FULL.  Even though "gloda is an index", we really do not want our database to become corrupt.  Additionally, because of the way we roll, our transactions are somewhat decoupled from anything else we might be doing.  If we are generating too many fsyncs, we can simply change our constants so that we commit less frequently.  It might be a good idea to make that rate a pref, in fact.

We probably want a unit test that does performance tracking when we do this, for general interest reasons.
adding perf bug
Whiteboard: [gloda key]
Blocks: 554559
Assignee: nobody → bugmail
Status: NEW → ASSIGNED
Attachment #443573 - Flags: review?(bienvenu)
Attachment #443573 - Flags: review?(bienvenu) → review+
Comment on attachment 443573 [details] [diff] [review]
v1 use the pragma

I would like to land this for 3.1.  I consider it low risk high benefit.  Please see the patch for its delightful comments that explain the rationale.
Attachment #443573 - Flags: approval-thunderbird3.1?
Comment on attachment 443573 [details] [diff] [review]
v1 use the pragma

yeah, correctness of the gloda db is pretty darn important.
Attachment #443573 - Flags: approval-thunderbird3.1? → approval-thunderbird3.1+
pushed to comm-1.9.2:
http://hg.mozilla.org/releases/comm-1.9.2/rev/9a9e023b54dc

pushed to comm-central:
http://hg.mozilla.org/comm-central/rev/51cfbd4a0479

Unfortunately the username got fudged because I qimport bz'd the patch and forgot about that glitch.
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 3.1rc1
Blocks: 1001579
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: