Closed
Bug 585966
Opened 15 years ago
Closed 15 years ago
Async-sync contentions when adding new pages ("19 constraint failed" error)
Categories
(Toolkit :: Places, defect)
Toolkit
Places
Tracking
()
RESOLVED
FIXED
mozilla2.0b4
Tracking | Status | |
---|---|---|
blocking2.0 | --- | betaN+ |
People
(Reporter: mak, Assigned: mak)
References
Details
Attachments
(1 file)
1.33 KB,
patch
|
sdwilsh
:
review+
|
Details | Diff | Splinter Review |
We get failures in various browser chrome and chrome tests with a reported "19 constraint failed" error.
When this happens visits are not added.
It could be due to page addition being done both sync and async (so async stmt for insertion is prepared, sync stmt executes, then async stmt fails insertion due to constraint).
pushing Bug 584731 made this pretty visible
Assignee | ||
Updated•15 years ago
|
blocking2.0: --- → ?
Assignee | ||
Updated•15 years ago
|
Assignee | ||
Comment 1•15 years ago
|
||
This covers cases where both sync and async addNewPage are acting, there is no need to fail. This fixes the code for cases we can't handle, I'll also act in other bugs to fix the callers we can change.
Attachment #464497 -
Flags: review?(sdwilsh)
Updated•15 years ago
|
blocking2.0: ? → betaN+
Comment 2•15 years ago
|
||
Comment on attachment 464497 [details] [diff] [review]
patch v1.0
This would be pretty darn difficult to test, but r=sdwilsh without the test.
Attachment #464497 -
Flags: review?(sdwilsh) → review+
Assignee | ||
Comment 3•15 years ago
|
||
yeah, it's time sensitive, so testing is hard, but I've tested it through the permaorange caused by bug 584731
Assignee | ||
Updated•15 years ago
|
Whiteboard: [can land]
Assignee | ||
Comment 5•15 years ago
|
||
I pushed this some day ago.
http://hg.mozilla.org/mozilla-central/rev/87aa7e6b7376
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.0b4
Assignee | ||
Updated•15 years ago
|
Whiteboard: [can land]
You need to log in
before you can comment on or make changes to this bug.
Description
•