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
884
October 19, 2021 08:23AM
Re: GET_LOCK in ndb clusters
383
October 19, 2021 01:16PM
399
October 19, 2021 03:06PM
444
October 19, 2021 05:20PM
333
October 19, 2021 07:07PM
378
October 20, 2021 09:40AM
326
October 19, 2021 06:09PM
324
October 20, 2021 06:24AM
383
October 20, 2021 06:45AM
342
October 20, 2021 08:19AM
322
October 20, 2021 08:56AM
349
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.