You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
haohetao
changed the title
The save() method is non-atomic and primary keys cant be repeat
The save() method is non-atomic and primary keys can be repeat
Jan 8, 2021
What steps will reproduce the problem?
The save() method is non-atomic, various problems can occur in highly concurrent operations.
and it's inefficient.
What's expected?
Use the Lua script to implement the save operation, and primary keys must be unique.
What do you get instead?
Refactoring the insert method in ActiveRecord class.
Additional info
The text was updated successfully, but these errors were encountered: