Thursday, 2025-07-24

*** mhen_ is now known as mhen01:23
opendevreviewDmitry Tantsur proposed openstack/futurist master: Remove sleeps from DynamicThreadPoolExecutor tests  https://review.opendev.org/c/openstack/futurist/+/95575809:13
dtantsurTheJulia: some problems I had with Queue and threads were actually between chair and keyboard ^^09:17
dtantsurwhich makes the behavior you're observing even more puzzling09:17
TheJuliadtantsur: I think i figured it out, tl;dr its the rejection method because we end up queing in our code14:58
TheJuliabecause we had a delete and a add collide14:59
TheJuliaso I'm thinking a slightly smarter rejection check for our use which understand "hey, we could be colliding, lets do the needful and then move on14:59
dtantsurPossibly, my brain refuses to think about queues and threading any more for now :D15:10
TheJuliadon't blame you15:14
TheJuliabahahahaha, yeah, I found it15:17
TheJuliaits colliding additions where the lock is held and the queue gets consulted. dtantsur your change is good, we just need to use a smarter check for work rejection on the ironic side :)15:49
dtantsurI see, it will be interesting to see the final code15:53
TheJuliayeah, the fix is just a smarter rejection check with a big note of what is happening15:57
TheJuliaand why it exists :)15:57

Generated by irclog2html.py 4.0.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!