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
476
October 19, 2021 08:23AM
Re: GET_LOCK in ndb clusters
203
October 19, 2021 01:16PM
214
October 19, 2021 03:06PM
278
October 19, 2021 05:20PM
184
October 19, 2021 07:07PM
214
October 20, 2021 09:40AM
161
October 19, 2021 06:09PM
168
October 20, 2021 06:24AM
187
October 20, 2021 06:45AM
183
October 20, 2021 08:19AM
174
October 20, 2021 08:56AM
184
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.