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
208
October 19, 2021 08:23AM
Re: GET_LOCK in ndb clusters
60
October 19, 2021 01:16PM
68
October 19, 2021 03:06PM
169
October 19, 2021 05:20PM
56
October 19, 2021 07:07PM
103
October 20, 2021 09:40AM
49
October 19, 2021 06:09PM
40
October 20, 2021 06:24AM
68
October 20, 2021 06:45AM
51
October 20, 2021 08:19AM
59
October 20, 2021 08:56AM
57
October 20, 2021 04:01AM


Sorry, only registered users may post in this forum.

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.