amoeba commented on issue #38617: URL: https://github.com/apache/arrow/issues/38617#issuecomment-1915973767
> When you say "Forking then using a FlightClient from the child process" above, was the FlightClient created in the parent before forking or in the child? Yeah, I should've made this clear. In these tests the client was created in the parent prior to forking. > Also, what happens if you create a first Flight client in the parent before forking, then create another one from child? I ran this a bunch of times and see different behaviors at random, similar to what I saw above using a single client from both the parent and child: - Client hangs, server doesn't see any RPCs, eventually fails with `pyarrow._flight.FlightUnavailableError: Flight returned unavailable error, with message: failed to connect to all addresses; last error: UNKNOWN: ipv4:0.0.0.0:8815: tcp handshaker shutdown` - Client hangs after server sees one RPC, I eventually interrupt it - Client runs and exits cleanly, only one RPC (from the parent) gets called - Client process segfaults after the server sees one RPC. I think this only happens if I don't restart the server between test runs. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
