Closed Bug 1560403 Opened 5 years ago Closed 5 years ago

leave cert_storage's LMDB environment open in read-write mode

Categories

(Core :: Security: PSM, enhancement, P1)

enhancement

Tracking

()

RESOLVED FIXED
mozilla70
Tracking Status
firefox70 --- fixed

People

(Reporter: myk, Assigned: keeler)

Details

(Whiteboard: [psm-assigned])

Attachments

(1 file)

Now that bug 1543795 has significantly reduced the memory cost of opening an LMDB environment in read-write mode, cert_storage should open its environment once and then leave it open instead of reopening it to write (and then reopening it again in read-only mode afterward).

Priority: -- → P2
Whiteboard: [psm-backlog]
Assignee: nobody → dkeeler
Priority: P2 → P1
Whiteboard: [psm-backlog] → [psm-assigned]

Bug 1543795 configured lmdb to use less memory when opening a database in
read/write mode, so we can remove the workaround code in cert_storage that was
added in bug 1538093 as a way to mitigate the memory usage.

Pushed by dkeeler@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0d4117728c3c
leave cert_storage's lmdb open in rw mode r=nanj
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: