fn get_payload_imm_ids( payload: &UploadTaskPayload, ) -> HashMap<LocalInstanceId, Vec<SharedBufferBatchId>>