Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

Parallel VM creation fix #524

Merged
merged 2 commits into from
Feb 24, 2020

Commits on Feb 18, 2020

  1. Add lockfile at snapshot activation to avoid race condition

    This creates an ignite lock file at /tmp/ignite-snapshot.lock
    when an overlay snapshot is created. The locking is handled via
    pid file using github.com/nightlyone/lockfile package. This
    helps avoid the race condition when multiple ignite processes try
    to create loop device and use the device mapper for overlay
    snapshot at the same time. When a process obtains a lock, other
    processes retry to obtain a lock, until a lock is obtained. Once
    the snapshot is activated, the lock is released.
    darkowlzz committed Feb 18, 2020
    Configuration menu
    Copy the full SHA
    36cdaea View commit details
    Browse the repository at this point in the history
  2. Vendor update

    `make tidy-in-docker`
    darkowlzz committed Feb 18, 2020
    Configuration menu
    Copy the full SHA
    884c28e View commit details
    Browse the repository at this point in the history