Transactions: App hangs when trying to get a document that does not exist within a transactions lambda
Description
Environment
None
Gerrit Reviews
None
Release Notes Description
None
Activity
Show:
Jared Casey April 28, 2023 at 3:56 AM
Transactions updated to appropriately raise certain SDK3 exceptions only within the lambda.
Fixed
Pinned fields
Click on the next to a field label to start pinning.
Created April 13, 2023 at 12:20 AM
Updated April 28, 2023 at 3:56 AM
Resolved April 28, 2023 at 3:56 AM
Instabug
Currently the Python SDK is using a legacy Get stage when executing get operations within a transactions lambda. This legacy Get stage will return an empty response if trying to get a document that does not exist. We should update the Python SDK to use the correct Get stage.
Tasks:
Update the transactions bindings to use the right Get stage from the C++ client
Update tests to have better coverage for error scenarios
Remove print statements in txns:
In transactions_logic.py and transaction_keyspace.py