VΞLO
03/21/2022, 11:39 PMNeedle
03/21/2022, 11:39 PM/title
command!
We have solved your problem?
Click the button below to archive it.Avin
03/22/2022, 5:48 AMtry:
// invoke stored_procedure
// run other actions that could fail
catch:
// invoke rollback_stored_procedure
But this won't provide a way to deal with race conditions. Maybe you can toggle a flag within a stored procedure after obtaining a access exclusive lock, so that only the serverless function that manages to lock and toggle the flag continues the rest of the processing.Needle
03/22/2022, 5:48 AMVΞLO
03/22/2022, 11:46 AMAvin
03/22/2022, 11:58 AMVΞLO
03/24/2022, 9:54 PM