Skip to content

Fix missing variant_discr stream when MODIFY COLUMN turns a column into Dynamic - #110204

Merged
Avogar merged 6 commits into
ClickHouse:masterfrom
groeneai:groeneai/fix-modify-to-dynamic-mutation-streams
Jul 31, 2026
Merged

Avogar merged 6 commits into
ClickHouse:masterfrom
groeneai:groeneai/fix-modify-to-dynamic-mutation-streams

Conversation

@groeneai

@groeneai groeneai commented Jul 13, 2026 •

Copy link
Copy Markdown
Collaborator

Related: #107561

Changelog category (leave one):

  • Bug Fix (user-visible misbehavior in an official stable release)

Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):

Fix a logical error Stream <col>.variant_discr ... is not found (server abort in debug and sanitizer builds) when ALTER TABLE ... MODIFY COLUMN changes a column into a type with dynamic subcolumns (for example Variant into Dynamic) on a table with Wide parts, and the part is later read or merged.

Description

Extends the fix for #107561 to the case where the source column is not itself a dynamic-structure column.

Such a MODIFY COLUMN is handled by the partial-mutation path, and there the writer does correctly re-create the new column's data-dependent streams (variant_discr, SharedVariant, the element streams) into changed_checksums. The defect is in stale-file accounting: collectFilesForRenames decides what to drop by comparing state-less getStreamCounts enumerations, which cannot see those substreams, so it flags the freshly written stream for removal. MutateSomePartColumns::finalize then erases it from checksums.txt, leaving the file on disk but absent from the checksums. IMergeTreeDataPart::getStreamNameForColumn resolves streams against the checksums, so variant_discr cannot be found and every later read or merge aborts in MergeTreeReaderWide::getStream.

The fix records the files the writer just produced and skips exactly those in the stale-file removal loop, so a stream that was rewritten for the new column type survives. The mutation stays on the partial path and is not turned into a whole-part rewrite.

Reproducer, added as 04370_modify_column_to_dynamic_mutation_streams.sh: it aborts on master with Stream y.variant_discr for column y with type Dynamic(max_types=18) is not found and passes with this PR. It covers Variant to Dynamic both from a non-dynamic source type and from a column declared Variant up front, each with CHECK TABLE and a DETACH/ATTACH reload, plus an assertion that the mutation really did take the partial path.

Version info

  • Merged into: 26.8.1.500 (included in 26.8 and later)

@groeneai

Copy link
Copy Markdown
Collaborator Author
Pre-PR validation gate (click to expand)
# Check Result
a Deterministic repro? Yes. CREATE ... y UInt64 -> MODIFY y Variant(UInt64,String) -> MODIFY y Dynamic(max_types=18) -> insert -> OPTIMIZE FINAL aborts every run on master with Stream y.variant_discr ... is not found.
b Root cause explained? haveMutationsOfDynamicColumns only checked the SOURCE column type. Source Variant has no dynamic subcolumns, so the MODIFY-to-Dynamic took the partial-mutation path; there the new column's streams are enumerated state-less, stopping after dynamic_structure and missing variant_discr/element streams, so the part is written with truncated checksums and later reads/merges cannot resolve the stream.
c Fix matches root cause? Yes. Also inspects the command's target data_type; a MODIFY into a dynamic-subcolumn type now forces the full-rewrite path (MutateAllPartColumns), producing complete checksums. Verified via ProfileEvents: the MODIFY now increments MutationAllPartColumns, not MutationSomePartColumns.
d Test intent preserved / new test added? New test 04370_modify_column_to_dynamic_mutation_streams added (asserts data + CHECK TABLE). No existing test weakened.
e Demonstrated both directions? Yes. Pristine binary (build id ce1774eb): server aborts on OPTIMIZE FINAL. With fix (build id f808164e): 20/20 runs pass with randomized settings; CHECK TABLE passes.
f Fix general, not a narrow patch? Yes. The guard is generic over the target type via hasDynamicSubcolumns(), covering both dynamic-structure families: variant_discr (Dynamic) and dynamic_structure (JSON). Both call sites of haveMutationsOfDynamicColumns (split + task-type selection) are covered by the one helper.
g Generalizes across inputs/types? Verified locally: UInt64 -> Dynamic, Variant -> Dynamic, and String -> JSON all now read/merge/CHECK cleanly. (Nullable(UInt64) -> Dynamic is rejected by ALTER validation, not a mutation path.)
h Backward compatible? Yes. No format/setting/default change. Only routes a specific MODIFY to the existing full-rewrite path; old parts still read via the existing columns_substreams.txt/enumeration fallbacks.
i Invariants/contracts preserved? Yes. Uses the established full-rewrite path for dynamic-structure mutations; the part-checksum <-> on-disk-stream consistency invariant (the one CHECK TABLE validates) now holds for this case.

Session id: cron:clickhouse-worker-slot-0:20260713-021200

@groeneai

Copy link
Copy Markdown
Collaborator Author

cc @Avogar @CurtizJ — could you review this? It extends the #107561 fix: haveMutationsOfDynamicColumns only looked at the source column type, so ALTER MODIFY COLUMN that turns a non-dynamic column into a dynamic-structure type (e.g. Variant -> Dynamic, String -> JSON) took the partial-mutation path and wrote the part without the variant_discr/element stream checksums, aborting later reads/merges. The fix also inspects the command's target data_type so such a MODIFY takes the full-rewrite path.

@alexey-milovidov alexey-milovidov added the can be tested Allows running workflows for external contributors label Jul 13, 2026
@clickhouse-gh

clickhouse-gh Bot commented Jul 13, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [b225985]

Summary: ✅


AI Review

Summary

This PR fixes the partial-mutation checksum reconciliation bug that dropped a freshly rewritten variant_discr stream when ALTER TABLE ... MODIFY COLUMN turned a column into Dynamic. I traced the current collectFilesForRenames / fillChecksums / finalize flow in MutateTask.cpp, checked the reworked .sh regression test and prior discussion, and I do not see a remaining correctness or coverage issue in the current patch.

Final Verdict

Status: ✅ Approve

@clickhouse-gh clickhouse-gh Bot added the pr-bugfix Pull request with bugfix, not backported by default label Jul 13, 2026
@groeneai

Copy link
Copy Markdown
Collaborator Author

CI finish ledger — 0ddcf4e

Every failure below has an owner: a fixing PR (ours), or a full-effort fix task whose fixing-PR link will be posted here when it opens. No PR-caused failures on this PR (the diff only fixes the MODIFY COLUMN -> Dynamic variant_discr stream and adds a regression test).

Check / test Reason Owner / fixing PR
Integration tests (amd_tsan, 3/6) / test_replicated_database::test_replicated_table_structure_alter flaky #110030 (ours, open)
Stateless tests (arm_binary, parallel) / 01730_distributed_group_by_no_merge_order_by_long flaky (Code 241 MEMORY_LIMIT, tight per-query cap) #109456 (ours, open)
Stress test (arm_release) / Server unresponsive: memory limit exceeded fuzzer-driven OOM (16 hits / 15 unrelated PRs / 0 master, 30d) a fix task is moved to pending (investigating at full effort; fixing-PR link to follow here)
CH Inc sync - CH Inc sync (private, not actionable)

Session id: cron:our-pr-ci-monitor:20260713-073000

@groeneai

Copy link
Copy Markdown
Collaborator Author

Update on the Stress test (arm_release) / Server unresponsive: memory limit exceeded ledger line.

Full-effort investigation complete, no fixing PR warranted:

  • The arm_release stress job itself passed (check_status = success) on this commit. This row is a non-blocking informational soft-FAIL, not a job failure.
  • Master-only trend for this exact signature on Stress test (arm_release): 0 hits over 90d (full CIDB retention) against ~2,431 master arm_release stress runs. Not rising, effectively absent on master.
  • All 30d hits (5, incl. this PR) are unrelated PR branches with an empty error body. ci/jobs/scripts/log_parser.py emits this name only for the graceful (total) memory limit exceeded MemoryTracker self-throttle, not a signal-9 host-OOM: no crash, no stack, no sanitizer report, no leak.
  • The adaptive memory-shedding (MEMORY_PRESSURE_THRESHOLD = 0.8) + check_server_liveness retry logic in tests/clickhouse-test already handles this by design, which is why master stays clean.

Disposition: benign stress-harness self-throttle inside a passing job. No engine bug and no non-speculative CI change to make. Will reopen if this signature ever appears on plain master (that recurrence would be a new signal).

@Avogar Avogar self-assigned this Jul 13, 2026
@groeneai

Copy link
Copy Markdown
Collaborator Author

CI finish ledger — 0ddcf4e

Every failure below has an owner: a fixing PR (external), or a full-effort fix task whose
fixing-PR link will be posted here when it opens. None is caused by this PR (this PR only
touches MutateTask.cpp).

Check / test Reason Owner / fixing PR
Integration tests (amd_tsan, 3/6) / test_replicated_database::test_replicated_table_structure_alter flaky (612 FAIL / 317 PRs / 64 master, 30d) #110030 (ours, open)
Stateless tests (arm_binary, parallel) / 01730_distributed_group_by_no_merge_order_by_long flaky MEMORY_LIMIT (141 FAIL / 107 PRs / 14 master, 30d) #109847 (external, open)
Stress test (arm_release) / Server unresponsive: memory limit exceeded host-OOM / stress-harness (14 FAIL / 14 PRs / 0 master, 30d) a fix task is created (investigating at full effort — fixing-PR link to follow here)

Session id: cron:our-pr-ci-monitor:20260716-060000

@groeneai

Copy link
Copy Markdown
Collaborator Author

Re: the re-posted Stress test (arm_release) / Server unresponsive: memory limit exceeded ledger line (same commit 0ddcf4e) — this was already resolved above (2026-07-13) and re-verified today. No fixing PR warranted:

  • The arm_release stress job passed (check_status = success); this row is a non-blocking soft-FAIL.
  • Plain Stress test (arm_release) master hits for this signature: 0 over 90d (full CIDB retention) vs ~11,000 master arm_release stress runs. The only master hits for this message are on experimental, serverfuzz variants (which overcommit memory by design), all inside green jobs, none since 2026-06-11.
  • ci/jobs/scripts/log_parser.py emits this name only for the graceful (total) memory limit exceeded MemoryTracker self-throttle, not a signal-9 host-OOM: no crash, no stack, no sanitizer report. tests/clickhouse-test's adaptive memory-shedding + check_server_liveness retry already handle it, which is why master stays clean.

Disposition unchanged: benign stress-harness self-throttle inside a passing job. Will reopen only if it appears on plain master.

@Avogar Avogar left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't like this fix. It makes the alter modify column to Dynamic/JSON ineffective because of whole part rewrite. The logic in removing files is broken - we just should not remove files from checksums if this file was written by the writer with new type. We have a defect in stale files accounting and we need to fix that.

So, the fix should be - before removing file from checksums, check if this file was rewritten by the writer

@groeneai
groeneai force-pushed the groeneai/fix-modify-to-dynamic-mutation-streams branch from 0ddcf4e to 0024c31 Compare July 17, 2026 10:17
@groeneai

Copy link
Copy Markdown
Collaborator Author

Thanks, reworked to keep the partial-mutation path and fix the stale-files accounting instead.

Root cause: on the partial path the writer does re-create the new column's data-dependent streams (variant_discr, SharedVariant, element streams), but collectFilesForRenames still flags the old source stream for removal by comparing state-less stream enumerations that cannot see those new substreams. finalize() then erased the freshly written stream from checksums.txt, so the file was left on disk but missing from checksums and any later read/merge aborted with Stream y.variant_discr ... is not found.

Fix: before removing a file from checksums in the files_to_rename loop, skip any file the writer just produced for the mutated columns (collected from changed_checksums). No full part rewrite; the MODIFY stays a lightweight/partial mutation.

Verified deterministically: reproducer aborts without the fix (Stream y.variant_discr for column y with type Dynamic(max_types=18) is not found) and passes with it. Regression test 04370 covers Variant -> Dynamic and String -> JSON, each with CHECK TABLE and a DETACH/ATTACH reload to validate checksums.txt. Existing MODIFY/mutation stream-removal tests (02377_modify_column_from_lc, 02377_modify_column_from_nested, 01456_modify_column_type_via_add_drop_update, 01114_alter_modify_compact_parts) still pass.

Pre-PR validation gate (click to expand)
# Question Answer
a Deterministic repro? Yes. ALTER ... MODIFY COLUMN y Dynamic after y was Variant(...) on a Wide part, then OPTIMIZE FINAL aborts every time with Stream y.variant_discr ... is not found.
b Root cause explained? collectFilesForRenames flags the source stream for removal via a state-less stream enumeration blind to the new column's data-dependent substreams; the writer re-writes that stream, then finalize() erases it from checksums.txt -> file on disk, absent from checksums -> read/merge aborts.
c Fix matches root cause? Yes. Retains any stream the writer just produced (changed_checksums) when reconciling checksums, fixing the stale-file bookkeeping rather than forcing a full part rewrite.
d Test intent preserved / new tests added? New regression test 04370 (Variant->Dynamic, String->JSON, CHECK TABLE + DETACH/ATTACH reload). No existing test weakened.
e Both directions demonstrated? Yes. Fails without the fix (abort), passes with it (output matches reference).
f Fix is general across code paths? Yes. Single reconciliation point in MutateSomePartColumns::finalize(); applies to any column whose new type gained data-dependent substreams, not just Variant->Dynamic.
g Fix generalizes across inputs? Covered Variant->Dynamic and String->JSON; the retention keyed on the writer's produced files is type-agnostic (Dynamic/JSON/Variant subcolumns).
h Backward compatible? Yes. No setting/format/default change; only in-mutation checksum bookkeeping.
i Invariants and contracts preserved? Yes. checksums.txt now matches files on disk after the mutation; stale (genuinely removed) source streams are still dropped because they are absent from the writer's produced set.

Session id: cron:clickhouse-worker-slot-3:20260717-093600

@groeneai

Copy link
Copy Markdown
Collaborator Author

CI finish ledger — 0024c31

CI fully finished (Finish Workflow pass; 0 checks queued/in-progress). One test failure, non-PR-caused, with an owner. (Mergeable Check reflects the prior CHANGES_REQUESTED review state, now addressed by the reworked push, not a CI job failure.)

Check / test Reason Owner / fixing PR
Stateless tests (amd_tsan, parallel) / 01730_distributed_group_by_no_merge_order_by_long flaky (Code 241 MEMORY_LIMIT; 119 PRs / 14 master hits in 7d) #109847 (external, open) engine-level fix
CH Inc sync — CH Inc sync (private, not actionable)

Session id: cron:our-pr-ci-monitor:20260717-170000

groeneai and others added 3 commits July 27, 2026 01:58
…to Dynamic

ALTER MODIFY COLUMN that changes a column into a type with dynamic
subcolumns (e.g. Variant -> Dynamic, String -> JSON) on a Wide part is
handled by the partial-mutation path. The writer re-creates the new
column's data-dependent streams (variant_discr, SharedVariant, element
streams), but stale-file accounting in collectFilesForRenames flags the
old source stream for removal by comparing state-less stream enumerations,
which do not see those new substreams. finalize() then erased the freshly
written stream from checksums.txt, leaving the file on disk but absent from
checksums, so any later read or merge aborted with
"Stream <col>.variant_discr ... is not found".

Keep the partial-mutation path (do not force a full part rewrite) and fix
the stale-file accounting instead: before removing a file from checksums,
skip any file the writer just produced for the mutated columns.

Extends the fix for ClickHouse#107561 to the case where the source column is not
itself dynamic. Adds regression test 04370 covering Variant -> Dynamic and
String -> JSON, with a DETACH/ATTACH reload to validate checksums.txt.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
Without min_bytes_for_full_part_storage pinned, CI randomization can make these
tiny parts Packed, which takes the full-rewrite path and never reaches the
stale-file accounting the test covers: the test then passed on unfixed code.

The String -> JSON case had no colliding stream name, so it did not exercise the
guard either. Replaced it with a column declared Variant and then modified into
Dynamic, which is the shape the AST fuzzer produced in Stress test (arm_tsan).
A full rewrite would satisfy every other assertion while bypassing the
stale-file accounting, so assert MutationSomePartColumns via system.part_log.

Also record why the JSON cases were dropped: String -> JSON has no colliding
stream name and passes with or without the fix, and Variant -> JSON is rejected
because only String/Map/Object/Tuple/JSON can be cast to JSON.
@groeneai
groeneai force-pushed the groeneai/fix-modify-to-dynamic-mutation-streams branch from 0024c31 to ca6e104 Compare July 27, 2026 02:38
@groeneai

Copy link
Copy Markdown
Collaborator Author

Rebased onto current master (81f6bc586c61) and hardened the test. The fix itself is unchanged, still the stale-files-accounting approach you asked for: keep any file the writer just produced out of the removal loop.

Two test defects found while verifying, both measured on a pristine master build rather than argued:

  • The test did not pin min_bytes_for_full_part_storage, which CI randomizes (tests/clickhouse-test:1704, threshold_generator(0.3, 0.3, 0, 512 MiB)). A positive value makes these tiny parts Packed (MergeTreeData.cpp:5729), which takes the full-rewrite path and never reaches the accounting under test. With that value forced, the old test returned all 26 reference lines on unfixed master, so it was vacuous for roughly a third of runs. Both tables now pin min_bytes_for_full_part_storage = 0 and min_rows_for_full_part_storage = 0.
  • The String -> JSON case never exercised the guard: isolated on unfixed master it passes, because there is no colliding stream name. I replaced it with a column declared Variant up front and then modified into Dynamic, which is the shape the AST fuzzer hit in Stress test (arm_tsan) on Add SQLite input/output format #104510. Variant -> JSON is not an option, it is rejected with Code: 53 (only String/Map/Object/Tuple/JSON can be cast to JSON), so Dynamic is the only reachable colliding target. Both negative results are recorded in a comment so the narrowed scope is not mistaken for an oversight.

Also added an assertion that the MODIFY really takes the partial-mutation path, via sum(ProfileEvents['MutationSomePartColumns']) > 0 and sum(ProfileEvents['MutationAllPartColumns']) from system.part_log, scoped to currentDatabase(). Without it a future full-rewrite fallback would satisfy every other assertion while bypassing the code this test covers.

Verification, all on build id 4FBEB8ED... confirmed equal to the binary's ELF note:

  • Each case aborts independently on unfixed master and passes on the fix, so neither is dead weight.
  • The full test produces 0 of 23 reference lines on unfixed master.
  • 50 runs with randomized settings, 5 in parallel: 50/50 passed.

@groeneai

Copy link
Copy Markdown
Collaborator Author

CI finish ledger - ca6e104

Every failure below has an owner: a fixing PR (ours or external), or a full-effort fix task
whose fixing-PR link will be posted here when it opens. Only CH Inc sync is exempt.

Check / test Reason Owner / fixing PR
Stress test (amd_debug) / Logical error: Inconsistent KeyCondition behavior (STID 5182-2f27) debug-only trunk assertion, NOT PR-caused - the primary-key monotonicity canary firing for a wider-typed key comparison (viewExplain('EXPLAIN', 'indexes = 1, ...') over t_nofinal). Recurs across unrelated PRs. #109023 (mine, open)
Upgrade check (amd_release) / Error message in clickhouse-server.log pre-existing chronic CI-harness gap, NOT PR-caused - MergeTreeData: Failed to read version metadata for part all_1_2_2_1: Code: 27 ... Cannot parse input: expected '\n' before: 'version: 1 ...'. The Upgrade check configures the server object-storage-default but runs clickhouse-test without --s3-storage, so no-object-storage skip tags are ignored and tests that write a raw plaintext txn_version.txt run against an unsupported backend. #111772 (mine, open)

Mergeable Check and the PR rollup are aggregates of the two lines above.

PR-caused gate: ZERO. My diff adds the missing variant_discr stream when MODIFY COLUMN turns a
column into Dynamic (MutateTask.cpp) plus one stateless test; it touches neither KeyCondition
analysis nor the upgrade-check harness.

Session id: cron:our-pr-ci-monitor:20260727-073000

groeneai and others added 3 commits July 30, 2026 21:07
SYSTEM FLUSH LOGS part_log is not a synchronization point for a successful
mutation: mutations_sync = 2 can return before the MutatePart row is visible,
so the partial-path assertion could intermittently read zero rows and fail
even when the fix under test is correct.

Reuse the retry-until-the-row-appears pattern already used by
03221_mutate_profile_events.sh and 03221_mutation_analyzer_skip_part.sh.
Coverage is unchanged: Variant -> Dynamic and the Variant-declared-up-front
shape, each with CHECK TABLE and a DETACH/ATTACH reload, plus the
partial-vs-full path assertion. The test needs no tags and stays
parallel-safe.

Co-Authored-By: Claude Fable 5 <[email protected]>
Companion to the previous commit, which removed the .sql form.

Co-Authored-By: Claude Fable 5 <[email protected]>
Both inserts targeted the same unpartitioned table, so a background merge could
combine them before the ALTER and leave a single MutatePart entry. The retry loop
would then spin out its full budget before falling through, and the assertion
still passed, so the wait was not deterministic.

Partition the table like 03221_mutate_profile_events.sh does and wait for the
exact entry count.

Co-Authored-By: Claude Fable 5 <[email protected]>
@clickhouse-gh

clickhouse-gh Bot commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

LLVM Coverage Report

Metric Baseline Current Δ
Lines 86.50% 86.50% +0.00%
Functions 91.90% 91.90% +0.00%
Branches 78.70% 78.70% +0.00%

Changed lines: Changed C/C++ lines covered: 16/18 (88.89%) · Uncovered code

Full report · Diff report

@groeneai

Copy link
Copy Markdown
Collaborator Author

CI finish ledger - b225985

CI is fully finished on this head and there are no failures to own. Finish Workflow and Config
Workflow both completed successfully; of 174 check runs, 156 are success and 18 are skipped, with
zero failure, timed_out or cancelled conclusions. The CI database holds 319462 test rows across 158
checks for this commit and not one of them is FAIL or ERROR.

Check / test Reason Owner / fixing PR
none no failing check or test on this head not applicable

This head is the .sh rewrite of 04370_modify_column_to_dynamic_mutation_streams that @ Avogar
asked for, plus the deterministic exact-count wait for the MutatePart row. The partial-path
assertion that keeps the stale-files-accounting fix honest survived the move and is green here.

Session id: cron:our-pr-ci-monitor:20260731-023000

@Avogar
Avogar added this pull request to the merge queue Jul 31, 2026
Merged via the queue into ClickHouse:master with commit d53889c Jul 31, 2026
178 checks passed
@clickgapai

Copy link
Copy Markdown
Contributor

Found via ClickGap automated review. Please close or comment if this is incorrect or needs adjustment.

TL;DR

Fix missing variant_discr stream when MODIFY COLUMN turns a column into Dynamic

ClickGap verified: reproduced it with the script below on 26.6; tested 7 version(s) — 6 affected, 1 clean (see Affects); bisected to a candidate range — a single introducing PR could not be pinned (see Bisect).

Reproduction

-- Wide-part table; MODIFY a column into Dynamic (partial-mutation path), then read/merge.
-- On a buggy build this aborts with:
--   Code: 49. Stream y.variant_discr for column y with type Dynamic(max_types=18) is not found (LOGICAL_ERROR)
SET allow_experimental_variant_type = 1;
SET allow_experimental_dynamic_type = 1;
SET use_variant_as_common_type = 1;

CREATE TABLE t_modify_to_dyn (x UInt64, y UInt64)
ENGINE = MergeTree ORDER BY x
SETTINGS min_rows_for_wide_part = 1, min_bytes_for_wide_part = 1,
         min_bytes_for_full_part_storage = 0, min_rows_for_full_part_storage = 0;

INSERT INTO t_modify_to_dyn SELECT number, number FROM numbers(3);
ALTER TABLE t_modify_to_dyn MODIFY COLUMN y Variant(UInt64, String) SETTINGS mutations_sync = 2;
INSERT INTO t_modify_to_dyn SELECT number, multiIf(number % 2 = 0, number, 'str_' || toString(number)) FROM numbers(3, 3);
ALTER TABLE t_modify_to_dyn MODIFY COLUMN y Dynamic(max_types = 18) SETTINGS mutations_sync = 2;
INSERT INTO t_modify_to_dyn SELECT number, number FROM numbers(6, 3);
OPTIMIZE TABLE t_modify_to_dyn FINAL;
SELECT x, y FROM t_modify_to_dyn ORDER BY x;

▶ Run on ClickHouse Fiddle

Bisect

  • The bisect boundary was rejected — PR UNIQUE KEY: DDL, metadata, and policy gates (1/N) #104102 only adds UNIQUE KEY DDL support and metadata handling; it does not touch Dynamic type, variant_discr streams, MODIFY COLUMN logic, or mutation/checksum handling that the bug involves. — a coincidental boundary, not the cause; no introducing PR pinned.

Affects

  • ✓ Fix is on master — this PR's change fixes the bug on master. Branches below still have the bug and need the backport.
  • Reproduces on: 26.6, 26.5, 26.4, 26.3, 26.2, 26.1
  • Does NOT reproduce on: master
  • Backport needed: 26.6, 26.5, 26.4, 26.3, 26.2, 26.1

Suggested next step

The bug reproduces as far back as the oldest tested release (26.1) and the only converged boundary is topically unrelated — this is a long-standing / pre-existing bug in comp-mutations, not a recent regression; no introducing PR exists within the tested range.

Component: comp-mutations
Severity: P2

cc fix PR author: @groeneai
cc fix PR reviewer: @Avogar


ClickGap · Finding: phase_d_pr110204

Triage metadata

  • Primary component: comp-mutations
  • Secondary components: comp-testing
  • Component owners (comp-mutations): @scanhex12 @Michicosun

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

can be tested Allows running workflows for external contributors pr-bugfix Pull request with bugfix, not backported by default pr-synced-to-cloud The PR is synced to the cloud repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants