You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[YSQL] Fix single-row-txn detection after primary key change
Summary:
D6326 (yugabyte#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
0 commit comments