Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neoppod
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
Jérome Perrin
neoppod
Commits
e2536c08
Commit
e2536c08
authored
Apr 25, 2016
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixup! Recover from failures during tpc_finish when the transaction got successfully committed
parent
c329ab95
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
neo/master/transactions.py
neo/master/transactions.py
+1
-2
No files found.
neo/master/transactions.py
View file @
e2536c08
...
...
@@ -145,7 +145,7 @@ class Transaction(object):
else
:
return
True
# abort
else
:
self
.
_notification_set
.
discard
(
uuid
)
self
.
_notification_set
.
discard
(
node
.
getUUID
()
)
return
False
def
lock
(
self
,
uuid
):
...
...
@@ -372,7 +372,6 @@ class TransactionManager(object):
self
.
_on_commit
(
txn
)
def
clientLost
(
self
,
node
):
uuid
=
node
.
getUUID
()
for
txn
in
self
.
_ttid_dict
.
values
():
if
txn
.
clientLost
(
node
):
del
self
[
txn
.
getTTID
()]
...
...
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