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
880
October 19, 2021 08:23AM
Re: GET_LOCK in ndb clusters
381
October 19, 2021 01:16PM
396
October 19, 2021 03:06PM
443
October 19, 2021 05:20PM
332
October 19, 2021 07:07PM
374
October 20, 2021 09:40AM
324
October 19, 2021 06:09PM
322
October 20, 2021 06:24AM
380
October 20, 2021 06:45AM
337
October 20, 2021 08:19AM
320
October 20, 2021 08:56AM
347
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.