2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-08-04 16:37:00 +00:00
Files
confluent/confluent_client
Markus Hilger 7ebc1dc616 Fix nodediscover CSV import in the async port
import_csv was left with several synchronous idioms:

- search_record is a coroutine function, but was called without await.
  The returned coroutine is always truthy, so the rescan on incomplete
  discovery data never happened, and iterating the result raised
  TypeError: 'coroutine' object is not iterable
- the node creation loop iterated an async generator with plain for
- the per-node discovery assignment was forked off with os.fork() while
  the event loop was running, and the child then built a fresh session
  on the inherited selector

Assign discovery entries with asyncio.gather instead of a forked child,
which keeps the assignments concurrent and lets their exit codes
propagate.  The forked child always ended in sys.exit(0), so its
accumulated errorcode was discarded.
2026-07-27 01:51:16 +02:00
..
2026-07-14 05:03:58 +02:00
2019-02-04 15:05:36 -05:00
2014-07-14 14:54:12 -04:00
2026-07-13 05:34:12 +02:00
2024-06-05 08:39:37 -04:00
2026-06-10 07:44:50 -04:00
2014-07-14 14:54:12 -04:00
2017-05-09 13:28:57 +08:00
2022-09-09 12:50:38 -04:00