D
D
D_E_S2018-05-03 11:50:34
MySQL
D_E_S, 2018-05-03 11:50:34

How can you avoid the base lock error when using cluster and sequelize?

When using cluster and sequelize gives table lock errors. Which, in principle, is logical since one worker is already recording. Tell me how to make sequelize understand that the request has already left and there is no need to send it again from other workers.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan, 2018-05-03
@LiguidCool

It seems to me that you have problems in terms of architecture. Not comme il faut if different workers do the same operation on the same cell. If these are competitive requests from different users, then it is quite normal that if someone edits, then others are waiting.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question