What happens if my NAS disconnects mid upload

I see that immich uploads photos to the upload folder, and it seems it then moves them to the managed library. I was therefore wondering what happens if a NAS hosting the main library goes down while a user is uploading photos. Will the photos simply add up in the upload folder, and then get moved over to the NAS as soon as it comes back online?
Was this page helpful?