-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#10879] geo: Fix TS crash when accessing nonlocal data 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. 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
- Loading branch information
Showing
2 changed files
with
46 additions
and
13 deletions.
There are no files selected for viewing
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
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