Open nijave opened 5 months ago
@nijave The method of locking atm is too simple to allow multiple concurrent instances of Wyng. This could probably be enhanced to create locks based on the --local
path and archive being used, which may allow safe concurrent operation.
However, there would still have to be a global lock for accessing TLVM metadata snapshots, so multiple instances accessing thin LVM would have to take turns when acquiring deltas.
Is it possible to run wyng instances in parallel if they're using different archives and different LVs?
It looks like at least the lockfile path needs changed but not sure if there are limitations with LVM
Given lv1 lv1-data lv2 lv2-data
I run 1 wyng instance for no
-data
and 1 wyng instance for-data
sequentially but I'm wondering if it's possible to parallelize these.