services-flake icon indicating copy to clipboard operation
services-flake copied to clipboard

services with data directory should acquire a lock

Open shivaraj-bh opened this issue 1 year ago • 1 comments

As an aside, perhaps all services-flake service should check for lockfile on its data directory and crash immediately if it was acquired.

Originally posted by @srid in https://github.com/juspay/services-flake/issues/309#issuecomment-2326767756

shivaraj-bh avatar Sep 04 '24 11:09 shivaraj-bh

I noticed a related issue: two services were trying to create ./data at the same time and failing. That should be somehow prevented as well.

srid avatar Oct 25 '24 19:10 srid