pub fn check_index_once( pool: &ConnectionPool, storage_path: &Path, namespace_id: i32, ) -> Result<bool, SyncError>