pimguilherme commented on issue #7099:
URL: 
https://github.com/apache/incubator-devlake/issues/7099#issuecomment-1991601664

   hey guys, thanks for getting back to me!
   
   I think it's not unusual to go for the retry attempts, but indeed the more 
we could avoid them, the better.. it sound like a combination of both would be 
ideal if that's not too much to ask:
   - maybe configurable deadlock retries (ex exponential retry, number of 
attepmts, delay)
   - maybe batch insertion, but maybe that also triggers deadlocks and maybe 
even more? because you would batch a series of records in distinct pipelines, 
and while a pipeline is committing its data, the other one with another big 
batch would probably need a lot of locks for its records (just brainstorming 
here)
   
   i am trying to take some time to understand a bit better on the code where 
the deadlock lies.. if you have any pointers that would be very welcome!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@devlake.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to