From b1f2c3bd0c9b25e452fce151a5487147406f2f54 Mon Sep 17 00:00:00 2001 From: Studio Date: Wed, 2 Dec 2026 20:48:27 -0500 Subject: [PATCH] =?UTF-8?q?T-190:=20M2.3q=20=E2=80=94=20`tools/curate-etl`?= =?UTF-8?q?:=20`send-ilp`=20CLI=20command=20wiring=20`discover=5Filp=5Fsha?= =?UTF-8?q?rd=5Ffiles`=20+=20`tcp=5Filp=5Fconnector`=20+=20`send=5Filp=5Fs?= =?UTF-8?q?hard=5Ffiles`=20into=20`cli.rs`=20+=20`main.rs`=20with=20parser?= =?UTF-8?q?=20tests=20and=20a=20loopback=20`TcpListener`=20end-to-end=20te?= =?UTF-8?q?st=20(explicit=20`--addr`,=20no=20default=20target,=20no=20new?= =?UTF-8?q?=20crates,=20no=20bench=20changes,=20no=20live=20QuestDB)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tools/curate-etl/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/curate-etl/README.md b/tools/curate-etl/README.md index a8a40a54..2910119d 100644 --- a/tools/curate-etl/README.md +++ b/tools/curate-etl/README.md @@ -1757,10 +1757,10 @@ CLI command wiring `discover_ilp_shard_files`, `tcp_ilp_connector`, and `send_il curate-etl send-ilp \ --dir ./out \ --prefix bars_1m \ - --addr 127.0.0.1:9009 + --addr ``` -- **Required flags (no default target):** `--dir `, `--prefix `, and `--addr ` are all required (accepting both `--flag value` and `--flag=value`). There is **no default address and no environment-variable fallback**, so QA QuestDB is never targeted by accident. +- **Required flags (no default target):** `--dir `, `--prefix `, and `--addr ` are all required (accepting both `--flag value` and `--flag=value`). There is **no default address and no environment-variable fallback**, which prevents implicit targeting; operators must explicitly supply and verify an approved endpoint so QA QuestDB is not targeted by mistake. - **Allowed prefixes:** restricted to `bars_1m` (`curate-bars-1m`), `bars_1m_qm` (`run_curate_qm_bars_1m`), and `fx_1m` (`curate-fx-1m`). - **Fail-closed order & reporting:** validates and discovers the contiguous `0..N` shard set in `--dir` before resolving `--addr` or opening any socket; streams each shard verbatim over its own TCP socket using `IlpTcpOptions::default()` and `IlpSendOptions::default()`; prints `format_ilp_send_report` to stdout on exit `0`, or `error: ...` plus any formatted partial report (`per_shard_bytes`) to stderr on non-zero exit. - **Delivery & protocol caveats:** TCP ILP provides no per-row or per-batch server acknowledgement — exit `0` means all bytes were accepted by local sockets and write-half shutdown succeeded, **not** that rows were committed in QuestDB; verify committed row counts and representative values via PGWire after loading. QuestDB `10.2.0` acceptance of ILP v2 binary `DOUBLE` payloads over TCP without a handshake remains **unverified** until the manual `quant` load check.