Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZEO
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
ZEO
Commits
a06d5533
Commit
a06d5533
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
ec410309
Changes
1
Show 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 @
a06d5533
...
@@ -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