MySQL Forums
Forum List  »  NDB clusters

Re: GET_LOCK in ndb clusters
Posted by: Mikael Ronström
Date: October 19, 2021 01:16PM

It is correct that GET_LOCK locks the table in that particular
MySQL server, not in the entire NDB Cluster.

Implementing table
locks in NDB is currently best performed on application level using a row
per table to be lockable and ensuring that all applications start
by either performing LOCK IN READ MODE to get a shared lock or
LOCK IN EXCLUSIVE MODE to get an exclusive lock on the table.

Options: ReplyQuote


Subject
Views
Written By
Posted
3048
October 19, 2021 08:23AM
Re: GET_LOCK in ndb clusters
947
October 19, 2021 01:16PM
961
October 19, 2021 03:06PM
1919
October 19, 2021 05:20PM
791
October 19, 2021 07:07PM
862
October 20, 2021 09:40AM
1255
October 19, 2021 06:09PM
1774
October 20, 2021 06:24AM
1860
October 20, 2021 06:45AM
840
October 20, 2021 08:19AM
914
October 20, 2021 08:56AM
871
October 20, 2021 04:01AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.