vuu icon indicating copy to clipboard operation
vuu copied to clipboard

Create child orders in IgniteOrderLoaderMain created less than expected due to method is not threadsafe

Open keikeicheung opened this issue 1 year ago • 3 comments

in IgniteOrderLoaderMain It loops to create parent Orders and child order (random * 100 - 250) in multiple threads OrdersModel.createChild it creates child order with an incremental child order id (which is not threadsafe) hence some child orders are not "new" child order but "update" existing child order

keikeicheung avatar May 05 '24 02:05 keikeicheung

Hi @keikeicheung , Wendy would like to take a look into this if it hasn't been picked by others yet.

wendymiaoo avatar May 29 '24 02:05 wendymiaoo

Hi @junaidzm13, @keikeicheung , could you help review the code?

wendymiaoo avatar Jun 05 '24 08:06 wendymiaoo

Added @naleeha for review as well :)

wendymiaoo avatar Jun 05 '24 08:06 wendymiaoo