-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
geo: TS crash when accessing nonlocal data in a local transaction #10879
Comments
…transaction Summary: Fixed the TS exiting due to accessing a null pointer instead of cleanly aborting a local transaction that attempts to access nonlocal data. Test Plan: Added `ybd --cxx-test pgwrapper_geo_transactions-test --gtest_filter GeoTransactionsTest.TestNonlocalAbort` to repeatedly trying to run transactions that accesses nonlocal data while under `force_global_transaction = false` to ensure that the TS no longer crashes. Reviewers: bogdan, mbautin, sergei Reviewed By: sergei Subscribers: ybase Differential Revision: https://phabricator.dev.yugabyte.com/D14375
…ta from a local transaction Summary: Fixed the TS exiting due to accessing a null pointer instead of cleanly aborting a local transaction that attempts to access nonlocal data. Original Commit: D14375 / b3520e8 Test Plan: Jenkins: rebase: 2.12, urgent `ybd --cxx-test pgwrapper_geo_transactions-test --gtest_filter GeoTransactionsTest.TestNonlocalAbort` Reviewers: bogdan, mbautin, sergei Subscribers: ybase Differential Revision: https://phabricator.dev.yugabyte.com/D15195
Segmentation faults that happen due to this issue, can have the following callstack: |
Description
Context: #9980
When attempting to access nonlocal data in a local transaction, sometimes the tablet server crashes instead of cleanly aborting the transaction:
The text was updated successfully, but these errors were encountered: