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
Again, there is no guarantee that all your calls are passing, and returning 2xx. Then if you say 2 concurrent increments cause an issue, that’s skmething else. But I’m not convinced that all your calls really are processed by the server and not dropped, throttled or else.
In the case you’re describing, that would mean 2 different calls return with the same value. Which isn’t proved yet
Upon trying to get a case where 2 different calls returning the same value, I discovered than other beforeSave hook was causing this bug,
Sorry for the inconvenience!
Activity
flovilmart commentedon Jul 12, 2018
Are you sure all 4000 calls passed and none failed?
elios264 commentedon Jul 12, 2018
I just tried again while watching the log,
291 instead of 300
In my original problem it happens with only 2-4 concurrent increments requested in cloud code with afterSaves hooks.
flovilmart commentedon Jul 12, 2018
Again, there is no guarantee that all your calls are passing, and returning 2xx. Then if you say 2 concurrent increments cause an issue, that’s skmething else. But I’m not convinced that all your calls really are processed by the server and not dropped, throttled or else.
In the case you’re describing, that would mean 2 different calls return with the same value. Which isn’t proved yet
elios264 commentedon Jul 12, 2018
Upon trying to get a case where 2 different calls returning the same value, I discovered than other beforeSave hook was causing this bug,
Sorry for the inconvenience!