Retrying on transient errors on server provider - Any best practices? #568
Replies: 1 comment 1 reply
-
Hello @gentledepp ! Some useful tips: Disabling the constraints on a table, during a transaction, will lock the entire table, even if we are doing only read selection. You can have a look here, where we discussed this point: #430 (comment) Another thing that can potentially remove some locks is to use In the last commit of The Last thing you can set is to set the I guess we can continue the discussion, these are just basic ideas |
Beta Was this translation helpful? Give feedback.
-
Hello!
We have an older version of dotmim.sync in use.
When lots of clients (~100) sync the same table, deadlocks can occur.
These happen when multiple
sp_select_changes
are running while another user tries to update records.These, hoewver do not take long and could be retried using Polly
We are currently doing this in the
WebProxyServerProvider.HandleRequestAsync
Question: For such transient errors, is there a good/recommended way of dealing with them in dotmim.sync?
Beta Was this translation helpful? Give feedback.
All reactions