Closed
Bug 1735124
Opened 4 years ago
Closed 4 years ago
Make QM_TRY stacks thread-aware
Categories
(Core :: Storage: Quota Manager, task)
Core
Storage: Quota Manager
Tracking
()
RESOLVED
FIXED
102 Branch
| Tracking | Status | |
|---|---|---|
| firefox102 | --- | fixed |
People
(Reporter: jstutte, Assigned: hsingh)
References
(Blocks 2 open bugs)
Details
Attachments
(3 files)
The sequence number is currently per-process , and we don't record the thread id. We should record a pair of thread id and thread-local sequence number.
This translates into:
- having thread-specific sequence counters
- write out the thread_id
To avoid effort in adjusting the python scripts, we might consider to mangle the thread id with the thread sequence number to have just one seq id, like ((thread_id << 32) | (thread_seq & 0xffffffff)).
| Assignee | ||
Updated•4 years ago
|
Assignee: nobody → hsingh
Status: NEW → ASSIGNED
| Assignee | ||
Comment 1•4 years ago
|
||
Pushed by jvarga@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/99502a67f326
sequence field in QM_TRY stack propagation now contains seq_no and thread_id information, r=jstutte,dom-storage-reviewers
Comment 3•4 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
status-firefox102:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 102 Branch
| Assignee | ||
Comment 4•4 years ago
|
||
With my last commit, I started the sequence number counter started at 0 which caused some issues with the python scripts. I need to change the sequence counter number to start at 1 and it used to be like that prior to my change.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Updated•4 years ago
|
| Assignee | ||
Comment 5•4 years ago
|
||
Pushed by jstutte@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f52c39eaa11b
Start the sequence number in QM_TRY logging at 1. r=jstutte
Comment 7•4 years ago
|
||
| bugherder | ||
Status: REOPENED → RESOLVED
Closed: 4 years ago → 4 years ago
Resolution: --- → FIXED
Comment 8•4 years ago
|
||
The python scripts located in dom/quota/scripts also need to be adapted.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Updated•4 years ago
|
Comment 9•4 years ago
|
||
Comment 10•4 years ago
|
||
Pushed by jkrause@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c78ac4ebf32b
Include `thread_id` in row order and extract `seq` from merged value. r=dom-storage-reviewers,jstutte
Comment 11•4 years ago
|
||
| bugherder | ||
Status: REOPENED → RESOLVED
Closed: 4 years ago → 4 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•