pub async fn check_upload_once( pool: &ConnectionPool, chunker: Arc<Mutex<&mut Chunker>>, remote: &Remote, namespace_id: i32, ) -> Result<bool, SyncError>