Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZODB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
ZODB
Commits
b9887679
Commit
b9887679
authored
Mar 17, 2016
by
Tres Seaver
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #46 from zopefoundation/do3cc_fix_for45
Fixing uncaught exception problem on shutdown
parents
b28a24c4
00892553
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
2 deletions
+19
-2
.gitignore
.gitignore
+3
-0
src/CHANGES.txt
src/CHANGES.txt
+4
-0
src/ZODB/Connection.py
src/ZODB/Connection.py
+2
-1
src/ZODB/tests/testMVCCMappingStorage.py
src/ZODB/tests/testMVCCMappingStorage.py
+10
-1
No files found.
.gitignore
View file @
b9887679
...
...
@@ -5,3 +5,6 @@ include
build
*.so
parts
*.pyc
.eggs
*.egg-info
src/CHANGES.txt
View file @
b9887679
...
...
@@ -18,6 +18,10 @@ Bugs Fixed
- Pinned the ``transaction`` and ``manuel`` dependencies to Python 2.5-
compatible versions when installing under Python 2.5.
- Avoid failure during cleanup of nested databases that provide MVCC
on storage level (Relstorage).
https://github.com/zopefoundation/ZODB/issues/45
3.10.5 (2011-11-19)
===================
...
...
src/ZODB/Connection.py
View file @
b9887679
...
...
@@ -1073,6 +1073,7 @@ class Connection(ExportImport, object):
def
_release_resources
(
self
):
for
c
in
self
.
connections
.
itervalues
():
if
c
.
_mvcc_storage
:
if
c
.
_storage
is
not
None
:
c
.
_storage
.
release
()
c
.
_storage
=
c
.
_normal_storage
=
None
c
.
_cache
=
PickleCache
(
self
,
0
,
0
)
...
...
src/ZODB/tests/testMVCCMappingStorage.py
View file @
b9887679
...
...
@@ -33,6 +33,15 @@ from ZODB.tests import (
)
class
MVCCTests
:
def
checkClosingNestedDatabasesWorks
(
self
):
# This tests for the error described in
# https://github.com/zopefoundation/ZODB/issues/45
db1
=
DB
(
self
.
_storage
)
db2
=
DB
(
None
,
databases
=
db1
.
databases
,
database_name
=
'2'
)
db1
.
open
().
get_connection
(
'2'
)
db1
.
close
()
db2
.
close
()
def
checkCrossConnectionInvalidation
(
self
):
# Verify connections see updated state at txn boundaries.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment