Repository navigation
Conversation
|
This is an automated comment for commit f8e3e95 with description of existing statuses. It's updated for the latest CI running ❌ Click here to open a full report in a separate page
Successful checks
|
There was a problem hiding this comment.
The bash manual says &> is preferred over >&.
9d727ac to
58a6060
Compare
58a6060 to
aafd26a
Compare
|
Wouldn't it be much more useful for the limit to be either in bytes or in number of big-inserts, rather than in number of mini-inserts? That would allow limiting memory usage (relatively) reliably. With the current setting we have to guess the mini-insert size, and would still OOM if there's a spike of unusually big mini-inserts. |
memory usage was out of scope of my interest here, I wanted to solve a pretty simple problem when the server just unable to keep up with the pace of inserts (when they are small and there are a lot of them). we could add one more limit for the number of pending bytes, I think it makes perfect sense too. |
41555b2 to
150aaac
Compare
09ab750 to
483b8b3
Compare
483b8b3 to
cbeac36
Compare
|
Dear @nickitat, this PR hasn't been updated for a while. Will you continue working on it? If not, please close it. Otherwise, ignore this message. |
|
Dear @nickitat, this PR hasn't been updated for a while. Will you continue working on it? If not, please close it. Otherwise, ignore this message. |
9 similar comments
|
Dear @nickitat, this PR hasn't been updated for a while. Will you continue working on it? If not, please close it. Otherwise, ignore this message. |
|
Dear @nickitat, this PR hasn't been updated for a while. Will you continue working on it? If not, please close it. Otherwise, ignore this message. |
|
Dear @nickitat, this PR hasn't been updated for a while. Will you continue working on it? If not, please close it. Otherwise, ignore this message. |
|
Dear @nickitat, this PR hasn't been updated for a while. Will you continue working on it? If not, please close it. Otherwise, ignore this message. |
|
Dear @nickitat, this PR hasn't been updated for a while. Will you continue working on it? If not, please close it. Otherwise, ignore this message. |
|
Dear @nickitat, this PR hasn't been updated for a while. Will you continue working on it? If not, please close it. Otherwise, ignore this message. |
|
Dear @nickitat, this PR hasn't been updated for a while. Will you continue working on it? If not, please close it. Otherwise, ignore this message. |
|
Dear @nickitat, this PR hasn't been updated for a while. Will you continue working on it? If not, please close it. Otherwise, ignore this message. |
|
Dear @nickitat, this PR hasn't been updated for a while. Will you continue working on it? If not, please close it. Otherwise, ignore this message. |
The code change is unaffected: this commit is empty and the diff against master is still the same 3 insertions and 2 deletions in `tests/queries/0_stateless/02015_async_inserts_2.sh`. Only the previous message's account of when the failure started is wrong. That message claimed the failure only starts showing up in CI once the `ClickHouse#89140` merge landed, and concluded that this change is therefore a revert of that PR's test-side half. Both claims are false. Keying the CI database on this test name plus `curl: (28)` in `test_context_raw` returns 30 failing rows all time. The earliest is 2024-03-11 16:55:56 on PR ClickHouse#61112, `Stateless tests (aarch64)`, carrying the same partial shape the previous message quotes (`1 a`, `2 b`, `all_1_1_0 2 0` and a curl that received 0 bytes). 27 of those 30 predate the `ClickHouse#89140` merge (`dc5086b93f0959`, 2025-12-24 19:18:34 UTC) and 3 follow it. Counting whole runs since the URL settings reached their current form (`7c715e66a270e5`, authored 2024-01-30): 475006 runs and 27 such failures before that merge, 563673 runs and 3 after. The rate is lower in the era that has the flush, so the failure is older than the flush and this change is not a revert of the only cause. Both facts hold at once because two routes produced the same visible signature, and the older one is already closed. Route A was a global `SYSTEM FLUSH ASYNC INSERT QUEUE` issued by some other stateless test: it drains every table's queue, so it could partially drain a concurrently running `02015_async_inserts_2` that had no flush of its own. That route was removed by `36fc6e58b55cff` (2026-05-21) and the bare form is now rejected by `ci/jobs/scripts/check_style/various_checks.sh` (added `c3d9664bcee66b`); no test file on master trips that check today. Route B is this test's own flush, the mechanism the previous message describes correctly. Both remaining failures (2026-07-21 and 2026-07-26) are after route A was closed, so route B is the route that is still live, and deleting these two lines closes it. The causal claim for route B rests on the forced-ordering experiment, not on CI rates, which cannot separate the two routes. Under one forced interleaving and one binary: unfixed 10/10 FAIL, fixed 10/10 PASS, re-adding only the explicit flush 4/10 FAIL, re-adding only `sleep 2` 10/10 PASS. `Both lines were added by PR ClickHouse#89140` stands and is verified: `bf6826835ce5c7` adds exactly those 2 lines to this file and nothing else, it leaves the reference file untouched, and its merge commit is an ancestor of master. Co-Authored-By: Claude Opus 5 <[email protected]>
|
Dear @nickitat, this PR hasn't been updated for a while. Will you continue working on it? If not, please close it. Otherwise, ignore this message. |
1 similar comment
|
Dear @nickitat, this PR hasn't been updated for a while. Will you continue working on it? If not, please close it. Otherwise, ignore this message. |
|
Dear @nickitat, this PR hasn't been updated for a while. Will you continue working on it? If not, please close it. Otherwise, ignore this message. |
Changelog category (leave one):