A bug that causes file to get corrupted when using cp. When I mount another server and copy file, the copy command completes successfully, but the file is corrupted. This occurs when a reconnection request is received from a client and the server child process is changed. I think that writing does not work correctly when the server-side child process is switched due to a reconnect while copying a file. This occurs due to timing issues with reconnection, is there a way to avoid this file corruption? Environment: OS:ubuntu24.04, Redhat8.10 SMB:4.22.2
There are some other conditions under which this can happen: If there are two mounts between the client and the server, and one of them sends a RST to the server, it will break the connection and may affect the write process of the other mount.