Commit 8317fe75 authored by Jim Fulton's avatar Jim Fulton

Don't leave a transaction going that will leave a commit log open,

causing extra pain on windows.
parent 4755c9e9
...@@ -87,7 +87,7 @@ will conflict. It will be blocked at the vote call. ...@@ -87,7 +87,7 @@ will conflict. It will be blocked at the vote call.
>>> logger.setLevel(logging.INFO) >>> logger.setLevel(logging.INFO)
>>> logger.addHandler(handler) >>> logger.addHandler(handler)
Now, whem we abort the transaction for the first client. the second Now, when we abort the transaction for the first client. the second
client will be restarted. It will get a conflict error, that is client will be restarted. It will get a conflict error, that is
handled correctly: handled correctly:
...@@ -103,6 +103,7 @@ handled correctly: ...@@ -103,6 +103,7 @@ handled correctly:
>>> logger.setLevel(logging.NOTSET) >>> logger.setLevel(logging.NOTSET)
>>> logger.removeHandler(handler) >>> logger.removeHandler(handler)
>>> zs2.tpc_abort('1')
>>> fs.close() >>> fs.close()
""" """
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment