Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[YSQL] Fix single-row-txn detection after primary key change
Summary: D6326 (#955) implemented handling primary key as an index so that in can be used in an index scan path. As a side-effect it caused single-row inserts to be mis-categorized as multi-row operations causing them to use the distributed txns path (instead of the single row txn path). This fixes the relevant check. Test Plan: java -jar ./target/yb-sample-apps.jar --workload SqlInserts --nodes 127.0.0.1:5433 --num_threads_write 24 --num_threads_read 0 --num_unique_keys 1000000000 Reviewers: robert Reviewed By: robert Subscribers: yql Differential Revision: https://phabricator.dev.yugabyte.com/D6437
- Loading branch information