Open
Bug 1308447
Opened 7 years ago
Updated 5 months ago
Use mozStorageConnectionUtils and IncrementalVacuumConnection in dom/cache
Categories
(Core :: DOM: Service Workers, defect, P3)
Core
DOM: Service Workers
Tracking
()
NEW
People
(Reporter: ferjm, Unassigned)
References
Details
Attachments
(1 file, 1 obsolete file)
36.89 KB,
patch
|
bkelly
:
review+
|
Details | Diff | Splinter Review |
Bug 1217544 moves storage related code shared by dom/cache and dom/backgroundsync to storage/mozStorageConnectionUtils* and storage/IncrementalVacuumConnection*. This bug is to make use of this shared code in dom/cache.
Reporter | ||
Comment 1•7 years ago
|
||
Reporter | ||
Comment 2•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=dfcef9c234fb
Reporter | ||
Comment 3•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=64a209ead135
Reporter | ||
Comment 4•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=dcebc3bb850f
Reporter | ||
Comment 5•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=bb1bf530e35b
Reporter | ||
Comment 6•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=6eec0566e752
Reporter | ||
Comment 7•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=8d1ea1d328fe
Reporter | ||
Comment 8•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=f9f172fe9d95
Reporter | ||
Comment 9•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=6718acc257f9
Reporter | ||
Comment 10•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=665ab9ff6f01
Reporter | ||
Comment 11•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=59e4be05e63b
Reporter | ||
Comment 12•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=2131c6a2ca38
Reporter | ||
Comment 13•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=194d0266252c
Reporter | ||
Comment 14•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=1bf9a2692d3f
Reporter | ||
Comment 15•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=60ee3ed96558
Reporter | ||
Comment 16•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=2d647d0113f9
Reporter | ||
Comment 17•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=0ff7cfaa19bf
Reporter | ||
Comment 18•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=3fadaa78105c
Reporter | ||
Comment 19•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=a2533bc01797
Reporter | ||
Comment 20•6 years ago
|
||
Attachment #8800385 -
Attachment is obsolete: true
Reporter | ||
Updated•6 years ago
|
Attachment #8832160 -
Flags: review?(bkelly)
Reporter | ||
Comment 21•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=85f20acc0761
Reporter | ||
Comment 22•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=9dae270c559a
Comment 23•6 years ago
|
||
Comment on attachment 8832160 [details] [diff] [review] v1 Review of attachment 8832160 [details] [diff] [review]: ----------------------------------------------------------------- Thanks! r=me with comments addressed. ::: dom/cache/DBSchema.cpp @@ +388,5 @@ > { > MOZ_ASSERT(!NS_IsMainThread()); > MOZ_DIAGNOSTIC_ASSERT(aConn); > > + nsTArray<nsCString> tablesSql; These can be AutoTArray<> with the correct number of expected elements. ::: dom/cache/DBSchema.h @@ +126,5 @@ > +// Grow the database in chunks to reduce fragmentation > +const uint32_t kGrowthSize = 32 * 1024; > +const uint32_t kGrowthPages = kGrowthSize / kPageSize; > +static_assert(kGrowthSize % kPageSize == 0, > + "Growth size must be multiple of page size"); Why is this stuff in the header? It seems like it should live in DBSchema.cpp. AFAICT only kMaxFreePages is used in another file.
Attachment #8832160 -
Flags: review?(bkelly) → review+
Updated•6 years ago
|
Priority: -- → P3
Updated•5 years ago
|
Assignee: ferjmoreno → nobody
Updated•5 months ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•