compactOnLaunch with multiple processes

We have an Android app with a remote process, where both processes access the same database. Is it safe to use a configuration with compactOnLauch() on both processes, or might that corrupt the database file?