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
nexedi
ZODB
Commits
c28c02f2
Commit
c28c02f2
authored
May 20, 2003
by
Jeremy Hylton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add log entry when resource manager joins transaction.
parent
8a015a2d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
src/transaction/txn.py
src/transaction/txn.py
+2
-0
No files found.
src/transaction/txn.py
View file @
c28c02f2
...
@@ -16,6 +16,7 @@ __metaclass__ = type
...
@@ -16,6 +16,7 @@ __metaclass__ = type
from
transaction.interfaces
import
*
from
transaction.interfaces
import
*
from
threading
import
Lock
from
threading
import
Lock
import
logging
try
:
try
:
from
sets
import
Set
from
sets
import
Set
...
@@ -93,6 +94,7 @@ class Transaction:
...
@@ -93,6 +94,7 @@ class Transaction:
assert
self
.
_manager
is
not
None
assert
self
.
_manager
is
not
None
if
self
.
_status
!=
Status
.
ACTIVE
:
if
self
.
_status
!=
Status
.
ACTIVE
:
raise
IllegalStateError
(
"join"
,
self
.
_status
)
raise
IllegalStateError
(
"join"
,
self
.
_status
)
self
.
_manager
.
logger
.
debug
(
"%s join %s"
%
(
self
,
resource
))
self
.
_resources
.
add
(
resource
)
self
.
_resources
.
add
(
resource
)
def
status
(
self
):
def
status
(
self
):
...
...
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