Closed
Bug 671098
Opened 13 years ago
Closed 13 years ago
Forces a nullpool when sqlite is used
Categories
(Cloud Services Graveyard :: Server: Sync, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: tarek, Assigned: tarek)
Details
Attachments
(2 files)
3.87 KB,
patch
|
rmiller
:
review+
|
Details | Diff | Splinter Review |
2.04 KB,
patch
|
rmiller
:
review+
|
Details | Diff | Splinter Review |
This error : ProgrammingError: (ProgrammingError) Cannot operate on a closed database. None [{}] happens on concurrent accesses on sqlite. we need to make sure storage *and* auth are using NullPool when sqlite is used. in the default config, and raise a config error if it's the config tries to use pooling
Comment 1•13 years ago
|
||
Verified in-house by Owen and myself...
Assignee | ||
Updated•13 years ago
|
Assignee: nobody → tarek
Assignee | ||
Comment 2•13 years ago
|
||
Attachment #548709 -
Flags: review?(rmiller)
Comment 3•13 years ago
|
||
Comment on attachment 548709 [details] [diff] [review] Make sure we use a NullPool when using SQLLite Review of attachment 548709 [details] [diff] [review]: ----------------------------------------------------------------- sucks that you have to make some of these changes in 2 places, but other than that this looks fine.
Attachment #548709 -
Flags: review?(rmiller) → review+
Assignee | ||
Comment 4•13 years ago
|
||
yes that's because the user/ directory created to refactor things, duplicated the code found in /auth -- this is one of the reasons I think we should have a another process when refactoring things so we don't dupe code.
Assignee | ||
Comment 5•13 years ago
|
||
done in http://hg.mozilla.org/services/server-core/rev/eabfa9a1744b
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 6•13 years ago
|
||
There's still one spot that needs this
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 7•13 years ago
|
||
Attachment #549317 -
Flags: review?(rmiller)
Updated•13 years ago
|
Attachment #549317 -
Flags: review?(rmiller) → review+
Assignee | ||
Comment 8•13 years ago
|
||
http://hg.mozilla.org/services/server-core/rev/df16a6d6d04d
Status: REOPENED → RESOLVED
Closed: 13 years ago → 13 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 9•13 years ago
|
||
(In reply to comment #8) > http://hg.mozilla.org/services/server-core/rev/df16a6d6d04d wrong diff link. here you go: http://hg.mozilla.org/services/server-storage/rev/20804b8c945e
Updated•1 year ago
|
Product: Cloud Services → Cloud Services Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•