-
-
Save rajivr/f1d6ea55f85a4bdd628cf92fd81ffe60 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Stack is [] | |
Tester.tr_map: {b'test_spec': None} | |
last_version: 0 | |
0. Instruction is NEW_TRANSACTION | |
last_version: 0 | |
Tester.tr_map {b'test_spec': <fdb.impl.Transaction object at 0x7fd295795c10>} | |
to [] | |
Stack is [] | |
Tester.tr_map: {b'test_spec': <fdb.impl.Transaction object at 0x7fd295795c10>} | |
last_version: 0 | |
1. Instruction is GET_READ_VERSION | |
last_version: 43821653 | |
Tester.tr_map {b'test_spec': <fdb.impl.Transaction object at 0x7fd295795c10>} | |
to [(1, b'GOT_READ_VERSION')] | |
Stack is [(1, b'GOT_READ_VERSION')] | |
Tester.tr_map: {b'test_spec': <fdb.impl.Transaction object at 0x7fd295795c10>} | |
last_version: 43821653 | |
2. Instruction is COMMIT | |
last_version: 43821653 | |
Tester.tr_map {b'test_spec': <fdb.impl.Transaction object at 0x7fd295795c10>} | |
to [(2, <fdb.impl.FutureVoid object at 0x7fd295795cd0>), (1, b'GOT_READ_VERSION')] | |
Stack is [(2, <fdb.impl.FutureVoid object at 0x7fd295795cd0>), (1, b'GOT_READ_VERSION')] | |
Tester.tr_map: {b'test_spec': <fdb.impl.Transaction object at 0x7fd295795c10>} | |
last_version: 43821653 | |
3. Instruction is WAIT_FUTURE | |
last_version: 43821653 | |
Tester.tr_map {b'test_spec': <fdb.impl.Transaction object at 0x7fd295795c10>} | |
to [(2, b'RESULT_NOT_PRESENT'), (1, b'GOT_READ_VERSION')] | |
Stack is [(2, b'RESULT_NOT_PRESENT'), (1, b'GOT_READ_VERSION')] | |
Tester.tr_map: {b'test_spec': <fdb.impl.Transaction object at 0x7fd295795c10>} | |
last_version: 43821653 | |
4. Instruction is NEW_TRANSACTION | |
last_version: 43821653 | |
Tester.tr_map {b'test_spec': <fdb.impl.Transaction object at 0x7fd2957a54d0>} | |
to [(2, b'RESULT_NOT_PRESENT'), (1, b'GOT_READ_VERSION')] | |
Stack is [(2, b'RESULT_NOT_PRESENT'), (1, b'GOT_READ_VERSION')] | |
Tester.tr_map: {b'test_spec': <fdb.impl.Transaction object at 0x7fd2957a54d0>} | |
last_version: 43821653 | |
5. Instruction is COMMIT | |
last_version: 43821653 | |
Tester.tr_map {b'test_spec': <fdb.impl.Transaction object at 0x7fd2957a54d0>} | |
to [(5, <fdb.impl.FutureVoid object at 0x7fd2965e0cd0>), (2, b'RESULT_NOT_PRESENT'), (1, b'GOT_READ_VERSION')] | |
Stack is [(5, <fdb.impl.FutureVoid object at 0x7fd2965e0cd0>), (2, b'RESULT_NOT_PRESENT'), (1, b'GOT_READ_VERSION')] | |
Tester.tr_map: {b'test_spec': <fdb.impl.Transaction object at 0x7fd2957a54d0>} | |
last_version: 43821653 | |
6. Instruction is WAIT_FUTURE | |
last_version: 43821653 | |
Tester.tr_map {b'test_spec': <fdb.impl.Transaction object at 0x7fd2957a54d0>} | |
to [(5, b'RESULT_NOT_PRESENT'), (2, b'RESULT_NOT_PRESENT'), (1, b'GOT_READ_VERSION')] | |
Stack is [(5, b'RESULT_NOT_PRESENT'), (2, b'RESULT_NOT_PRESENT'), (1, b'GOT_READ_VERSION')] | |
Tester.tr_map: {b'test_spec': <fdb.impl.Transaction object at 0x7fd2957a54d0>} | |
last_version: 43821653 | |
7. Instruction is GET_COMMITTED_VERSION | |
last_version: -1 | |
Tester.tr_map {b'test_spec': <fdb.impl.Transaction object at 0x7fd2957a54d0>} | |
to [(7, b'GOT_COMMITTED_VERSION'), (5, b'RESULT_NOT_PRESENT'), (2, b'RESULT_NOT_PRESENT'), (1, b'GOT_READ_VERSION')] | |
Stack is [(7, b'GOT_COMMITTED_VERSION'), (5, b'RESULT_NOT_PRESENT'), (2, b'RESULT_NOT_PRESENT'), (1, b'GOT_READ_VERSION')] | |
Tester.tr_map: {b'test_spec': <fdb.impl.Transaction object at 0x7fd2957a54d0>} | |
last_version: -1 | |
8. Instruction is RESET | |
last_version: -1 | |
Tester.tr_map {b'test_spec': <fdb.impl.Transaction object at 0x7fd2957a54d0>} | |
to [(7, b'GOT_COMMITTED_VERSION'), (5, b'RESULT_NOT_PRESENT'), (2, b'RESULT_NOT_PRESENT'), (1, b'GOT_READ_VERSION')] | |
Stack is [(7, b'GOT_COMMITTED_VERSION'), (5, b'RESULT_NOT_PRESENT'), (2, b'RESULT_NOT_PRESENT'), (1, b'GOT_READ_VERSION')] | |
Tester.tr_map: {b'test_spec': <fdb.impl.Transaction object at 0x7fd2957a54d0>} | |
last_version: -1 | |
9. Instruction is SET_READ_VERSION | |
last_version: -1 | |
Tester.tr_map {b'test_spec': <fdb.impl.Transaction object at 0x7fd2957a54d0>} | |
to [(7, b'GOT_COMMITTED_VERSION'), (5, b'RESULT_NOT_PRESENT'), (2, b'RESULT_NOT_PRESENT'), (1, b'GOT_READ_VERSION')] | |
Stack is [(7, b'GOT_COMMITTED_VERSION'), (5, b'RESULT_NOT_PRESENT'), (2, b'RESULT_NOT_PRESENT'), (1, b'GOT_READ_VERSION')] | |
Tester.tr_map: {b'test_spec': <fdb.impl.Transaction object at 0x7fd2957a54d0>} | |
last_version: -1 | |
10. Instruction is CANCEL | |
last_version: -1 | |
Tester.tr_map {b'test_spec': <fdb.impl.Transaction object at 0x7fd2957a54d0>} | |
to [(7, b'GOT_COMMITTED_VERSION'), (5, b'RESULT_NOT_PRESENT'), (2, b'RESULT_NOT_PRESENT'), (1, b'GOT_READ_VERSION')] | |
Stack is [(7, b'GOT_COMMITTED_VERSION'), (5, b'RESULT_NOT_PRESENT'), (2, b'RESULT_NOT_PRESENT'), (1, b'GOT_READ_VERSION')] | |
Tester.tr_map: {b'test_spec': <fdb.impl.Transaction object at 0x7fd2957a54d0>} | |
last_version: -1 | |
11. Instruction is GET_READ_VERSION | |
ERROR: FDBError(2011) | |
last_version: -1 | |
Tester.tr_map {b'test_spec': <fdb.impl.Transaction object at 0x7fd2957a54d0>} | |
to [(11, b'\x01ERROR\x00\x012011\x00'), (7, b'GOT_COMMITTED_VERSION'), (5, b'RESULT_NOT_PRESENT'), (2, b'RESULT_NOT_PRESENT'), (1, b'GOT_READ_VERSION')] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment