SELECT FOR UPDATE/SELECT LOCK IN SHARE MODE does not work in PXC, but are allowed for pxc_strict_mode=ENFORCING
Bug #1645621 reported by
Grigorijs
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona XtraDB Cluster moved to https://jira.percona.com/projects/PXC |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Issuing SELECT FOR UPDATE/SELECT LOCK IN SHARE MODE is working as expected only when used inside one cluster node. If parallel transaction is tried on another node then no limitations are applied on it.
Think right handling would be to deny these operations with ENFORCING pxc_strict_mode, or implement correct handling (so SELECT FOR UPDATE on one node would prevent for example SELECT LOCK IN SHARE MODE on another node)
Current software version is:
ii percona-
To post a comment you must log in.
Galera does not provide for this kind of cross-cluster locking. With that said, this functionality has been left in to allow the code to work in single-node writer scenarios.