Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/storage/src/source/kafka.rs
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ fn render_reader<'scope>(
adjusting your retention policies to prevent this.",
);

let update = HealthStatusUpdate::halting(
let update = HealthStatusUpdate::stalled(
err_str.clone(),
None,
);
Expand Down
8 changes: 8 additions & 0 deletions test/kafka-low-watermark/mzcompose.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,14 @@ def workflow_low_watermark(c: Composition) -> None:
> COMMIT
{select_cmd} SELECT count(*) FROM lwm_{suffix}_tbl
{expected}
$ skip-if
SELECT {"true" if not start_offset_clause else "false"}
# Sleep for 20s to make sure that the source has not restarted (would happen after 5s)
$ sleep-is-probably-flaky-i-have-justified-my-need-with-a-comment duration=20s
{select_cmd} SELECT count(*) FROM lwm_{suffix}_tbl
{expected}
> SELECT count(*) FROM mz_internal.mz_source_status_history hx JOIN mz_catalog.mz_sources s ON hx.source_id = s.id WHERE s.name = 'lwm_{suffix}' AND hx.status = 'starting'
1
""")
print(f"PASSED: {suffix} START OFFSET with low watermark > 0")

Expand Down
Loading