mirror of
https://github.com/xcat2/confluent.git
synced 2026-07-31 01:59:42 +00:00
f8ea1adec7
gather propagates the first exception and leaves its siblings running, so a transport level failure against one node ends the import with a traceback while the rest of the batch is cancelled at loop shutdown. The forked children used to contain such a failure to their own node. assign_macs already reports an error response itself, so this is the connection dropping rather than the server refusing the assignment. Collect the exceptions instead, report each one and count it towards the exit code. Schedule the assignments as tasks while doing so, since the plain coroutines are left unawaited if defining a later node raises before the gather is reached.