Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

Report error from submit_file() in shim #132

Merged
merged 3 commits into from
Mar 11, 2024
Merged

Conversation

tuommaki
Copy link
Contributor

@tuommaki tuommaki commented Mar 7, 2024

If an error occurs during file transfer from VM to node, an error should be reported from the function to higher level so that the program and VM can terminate deterministically.

If an error occurs during file transfer from VM to node, an error
should be reported from the function to higher level so that the program
and VM can terminate deterministically.
@tuommaki tuommaki requested a review from musitdev March 7, 2024 13:47
@tuommaki tuommaki self-assigned this Mar 7, 2024
Copy link
Contributor

@musitdev musitdev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've done the same change during my tests but differently:
main...transfert_big_files
I think both work, but in mine there's no Mutex.

@tuommaki
Copy link
Contributor Author

tuommaki commented Mar 8, 2024

I've done the same change during my tests but differently:
main...transfert_big_files
I think both work, but in mine there's no Mutex.

I think your solution is a lot better. I switched to that.

@tuommaki
Copy link
Contributor Author

I recon this is ok to merge since it works and the original code is from you @musitdev ?

@tuommaki tuommaki merged commit b36af63 into main Mar 11, 2024
4 checks passed
@tuommaki tuommaki deleted the fail-on-file-transfer-in-shim branch March 11, 2024 12:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants