Hi,
We have a piece of code in cloud script that read a title data entry, modify the data and then re-write it.
If two different sources run this cloud script function at the same time, it can be that both of them read the same thing and process the same data resulting in two equal write operations. Is this right, no?
So, if this scenario is possible, what about the next one:
(In the following example we'll consider a simple title data entry with just a string) - Is it possible that:
- First client execution read a string like "AAA"
- First client execution modify it to "ABC"
- First client execution start to write "ABC"
- Second client execution read the temporary string "AB"
- First client exeuction end to write "ABC"
.
.
.
?
So the question is: is it possible that a client script execution read an incomplete temporary data cause another instance is writing the same data?
Thank you.
Best regards,
Andrea