Core Data store in an App Group: risk of simultaneous migration?

When:

  • you share your store between the app and its extensions using an App Group,
  • an app update includes a lightweight migration

Is there a risk that more than one process (eg: a background task and a widget extension) try to migrate the store at the same time?

What happens then? Can it be problematic?

Core Data store in an App Group: risk of simultaneous migration?
 
 
Q