The new flock implementation doesn't care if they still there, and I read that removing them can cause issues if other processes hold the lock. And stress tests failed when doing so.
But leaving the files there causes older versions of Juju to get confused if a downgrade happens. So bootstrap and destroy have been changed to clean up the lock files.
The new flock implementation doesn't care if they still there, and I read that removing them can cause issues if other processes hold the lock. And stress tests failed when doing so.
But leaving the files there causes older versions of Juju to get confused if a downgrade happens. So bootstrap and destroy have been changed to clean up the lock files.