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
Scheduler table was not being cleaned on the clear. But was on the delete because of the cascade
ResourcePersistentState was being explicitly cleaned on the clear/delete
Not sure what to check here, it appears that the order has not changed since October 2023 do we have reason to assume that there is something wrong with it?
I would say that we only need to clean the Scheduler table on the Environment.clear
I mostly agree. 3 is relevant both for points 1 and 2. For 2 I agree that we don't need to do anything because we have no "reason to assume that there is something wrong with it". For 1 we should probably make sure to order it so that all transactions lock the tables in the same order. So have a look at where we write to the table in inmanta.deploy.scheduler and inmanta.deploy.state, and check if we write to any other tables in the same transaction. I can do that part if you prefer.
The assumption is that this is already the case, but it needs to be verified.
Environment.clear
andEnvironment.delete
have some explicit ordering to prevent locking (not fully relying on cascading. This should be checked over.The text was updated successfully, but these errors were encountered: