Safely merges data from a temporary database into the main project database using file locking to prevent concurrent access issues. This function handles the transactional copying of all tables from the temporary database.
merge_temp_database(
temp_db_info,
verbose = FALSE,
max_retries = 10,
retry_delay = 1
)Logical indicating success
List containing temp database connection and paths
Whether to print verbose output
Maximum number of retry attempts for file locking
Delay between retry attempts in seconds