Closed
Bug 671098
Opened 14 years ago
Closed 14 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•14 years ago
|
||
Verified in-house by Owen and myself...
| Assignee | ||
Updated•14 years ago
|
Assignee: nobody → tarek
| Assignee | ||
Comment 2•14 years ago
|
||
Attachment #548709 -
Flags: review?(rmiller)
Comment 3•14 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•14 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•14 years ago
|
||
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 6•14 years ago
|
||
There's still one spot that needs this
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
| Assignee | ||
Comment 7•14 years ago
|
||
Attachment #549317 -
Flags: review?(rmiller)
Updated•14 years ago
|
Attachment #549317 -
Flags: review?(rmiller) → review+
| Assignee | ||
Comment 8•14 years ago
|
||
Status: REOPENED → RESOLVED
Closed: 14 years ago → 14 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 9•14 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•2 years ago
|
Product: Cloud Services → Cloud Services Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•