Skip to content

Fix logical error 'current_writer != nullptr' - #102215

Closed
vitlibar wants to merge 28 commits into
ClickHouse:masterfrom
vitlibar:fix-logical-error-current-writer-null
Closed

vitlibar wants to merge 28 commits into
ClickHouse:masterfrom
vitlibar:fix-logical-error-current-writer-null

Conversation

@vitlibar

@vitlibar vitlibar commented Apr 9, 2026 •

Copy link
Copy Markdown
Member

Replace the over-strict chassert(current_writer != nullptr) in MergeTreeDeduplicationLog with lazy initialization of the log writer (initCurrentWriter), so the writer is opened on demand from load, addPart, and dropPart. The write mode (append or rewrite) is chosen from whether the disk's metadata storage supports appending, which keeps the deduplication log working on storage policies that mix disks with different metadata types (e.g. a plain and a local object-storage metadata disk, as in the linked issue).

This is defensive hardening rather than a stable-release regression fix: the current_writer != nullptr logical error from the linked issue is no longer reproducible on current master (the existing MetadataStorageType::Plain handling in load already opens the writer), so there is no user-visible misbehavior in a stable release to announce — hence the Not for changelog category. The change removes the remaining code path through which the assertion could be reached and adds a regression test (test_merge_tree_deduplication_mixed_metadata) covering the storage-policy shape from the issue.

Closes: #86189

Changelog category (leave one):

  • Not for changelog (changelog entry is not required)

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

Not for changelog (defensive hardening: the logical error is already unreachable on current master).


Workflow [PR]
Sync PR [sync-upstream/pr/102215]

@vitlibar vitlibar added the 🍃 green ci 🌿 Fixing flaky tests in CI label Apr 9, 2026
@clickhouse-gh

clickhouse-gh Bot commented Apr 9, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [693b859]

Summary: ✅


AI Review

Summary

This PR turns the current_writer != nullptr assertions in MergeTreeDeduplicationLog into lazy writer initialization and adds mixed-metadata integration coverage for both addPart and dropPart. After reviewing the current patch, the touched MergeTree paths, and all prior discussion threads, I did not find any remaining correctness or compatibility issues in the live code, and the earlier review findings appear addressed.

Missing context / blind spots
  • ⚠️ The current Praktika/S3 CI artifacts linked from the PR are expired (403), so I could not independently inspect the latest CI logs beyond the PR discussion history and the tests in tree.
Final Verdict

Status: ✅ Approve

LLVM Coverage Report

Measured on commit 693b859.

Metric Baseline Current Δ
Lines 88.70% 88.70% +0.00%
Functions 92.10% 92.10% +0.00%
Branches 81.00% 81.00% +0.00%

Changed lines: Changed C/C++ lines covered: 25/33 (75.76%) · Uncovered code

Full report · Diff report

@clickhouse-gh clickhouse-gh Bot added the pr-not-for-changelog This PR should not be mentioned in the changelog label Apr 9, 2026
@vitlibar
vitlibar requested a review from tuanpach April 9, 2026 11:54
@vitlibar
vitlibar marked this pull request as draft April 9, 2026 12:26
@vitlibar
vitlibar force-pushed the fix-logical-error-current-writer-null branch from 6def6f6 to 40d854c Compare April 9, 2026 12:36
@vitlibar
vitlibar requested a review from Copilot April 9, 2026 12:37

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Fixes an assertion-triggering logical error in MergeTreeDeduplicationLog by ensuring the current log writer is initialized before writing, addressing the crash reported in #86189 for certain object-storage disk configurations.

Changes:

  • Introduce initCurrentWriter() to lazily open the deduplication log writer when needed.
  • Replace chassert(current_writer != nullptr) in addPart()/dropPart() with writer initialization.
  • Refactor writer finalization/cancellation handling in rotate() and reuse the new initializer from load()/rotate().

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
src/Storages/MergeTree/MergeTreeDeduplicationLog.h Declares initCurrentWriter() to centralize writer initialization.
src/Storages/MergeTree/MergeTreeDeduplicationLog.cpp Implements initCurrentWriter() and uses it to prevent null-writer assertions during INSERT/dedup log updates.

@alexey-milovidov

Copy link
Copy Markdown
Member

The test_database_iceberg_nessie_catalog and test_database_iceberg_lakekeeper_catalog failures in this PR's CI are false positives caused by a bug in PR #100583 (merged to master on 2026-04-09 at 11:19 UTC). That PR broke the metadata file path resolution in getMetadataLocation for Iceberg catalog tests — it produced a doubled S3 key like table_path/warehouse-rest/table_path/metadata/... instead of table_path/metadata/..., causing MinIO to return 403.

The bug was reverted by PR #102247 (merged at ~14:48 UTC). All nessie/lakekeeper test failures between these two merges are unrelated to this PR.

alexey-milovidov and others added 3 commits June 3, 2026 20:41
…CAL_ERROR message

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
…licy

Reproduces the storage policy shape from issue ClickHouse#86189: the deduplication log
lives on the first disk of the policy (`metadata_type=plain`, which does not
support writing with append), while data parts are routed to a second
`local`-metadata disk. Verifies that `INSERT` with deduplication works.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
@alexey-milovidov

Copy link
Copy Markdown
Member

Picked up this PR and pushed updates (b82c98c6432..11b4ee7484a):

While validating the test I confirmed (by building master's version of MergeTreeDeduplicationLog) that the historical current_writer != nullptr assertion is no longer reachable through this configuration on current master — the existing MetadataStorageType::Plain handling in load already opens the writer. So this PR is effectively defensive hardening (lazy initialization replacing an over-strict chassert), and the new test passes on both pre- and post-fix binaries. Details are in the resolved review threads.

Built on ARM and ran the new integration test — it passes.

@alexey-milovidov

Copy link
Copy Markdown
Member

Merged master again (11b4ee7484a..1fe71fcc2bd) — the branch was 731 commits / 3 days behind and the Report messages status was red. The merge was conflict-free and did not touch the PR's own files.

Verified MergeTreeDeduplicationLog.cpp still compiles cleanly against current master (no API drift over the merged commits). The diff is unchanged: lazy initCurrentWriter (replacing the over-strict chassert(current_writer != nullptr)) with append/rewrite mode chosen from disk_supports_writing_with_append, plus the test_merge_tree_deduplication_mixed_metadata integration test.

No unresolved review threads. This refreshes CI to clear the stale advisory status.

@alexey-milovidov

Copy link
Copy Markdown
Member

Merged master to refresh CI (branch was ~1 week behind the previous merge-base ab83938b7eb from 06-06, 2377 commits). The merge is clean and the PR diff is unchanged — only MergeTreeDeduplicationLog.cpp/.h and the integration test. New head: 96f52fa1b9b.

alexey-milovidov and others added 2 commits June 17, 2026 06:56
…urrent-writer-null

Bring the branch up to date with master to clear unrelated red CI:
the 'Fast test (arm_darwin)' failures in 01951_distributed_push_down_limit
and 01952_optimize_distributed_group_by_sharding_key were a distributed
query-plan regression on the old merge-base, fixed on master by the remote-plan
rework in ClusterProxy/executeQuery.cpp. Master did not touch the PR's files.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
@alexey-milovidov

Copy link
Copy Markdown
Member

Reworked the PR description to resolve the AI Review's Request changes verdict, which flagged an internal inconsistency: the body presented this as a user-visible bug fix while the category was Not for changelog, and the new test passes on both pre- and post-fix binaries on current master.

The description now tells one consistent story matching the evidence: this is defensive hardening, not a stable-release regression fix. The current_writer != nullptr logical error from #86189 is no longer reachable on current master (the existing MetadataStorageType::Plain handling in load already opens the writer); this PR removes the remaining path to the over-strict chassert by lazily opening the writer via initCurrentWriter (append/rewrite mode chosen from disk_supports_writing_with_append) and adds the test_merge_tree_deduplication_mixed_metadata regression test for the storage-policy shape from the issue. Category stays Not for changelog for that reason.

Also merged master (f9d85066352..50357f557ca) — the branch was 708 commits behind and red. The merge is conflict-free and does not touch the PR's own files; the net diff against master is still exactly the two MergeTreeDeduplicationLog files and the integration test. This refreshes CI: the two failures on the previous run were unrelated — Stress test (arm_msan) hit Logical error: SortingAggregatedTransform already got bucket with number in MergingAggregatedMemoryEfficientTransform (distributed memory-efficient aggregation, not touched here), and BuzzHouse (arm_asan_ubsan) reported a generic ERROR.

@alexey-milovidov

Copy link
Copy Markdown
Member

Merged master again (50357f557ca..8fa43a81271) — the branch was 553 commits behind (merge-base 426e71331de from 2026-06-19) and red. The merge was conflict-free and does not touch the PR's own files; master had not modified MergeTreeDeduplicationLog.cpp/.h since the merge-base, so the net diff against master is unchanged — still exactly the two MergeTreeDeduplicationLog files (lazy initCurrentWriter replacing the over-strict chassert(current_writer != nullptr), with append/rewrite mode chosen from disk_supports_writing_with_append) plus the test_merge_tree_deduplication_mixed_metadata integration test. This refreshes CI.

All four failures on the previous run were unrelated, widespread flakes (each reproduces on master itself, i.e. with pull_request_number = 0, and across many other PRs):

No unresolved review threads; the AI Review Request changes verdict was already resolved by the earlier description rework. The change remains defensive hardening (Not for changelog).

@clickhouse-gh

clickhouse-gh Bot commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

LLVM Coverage Report

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

Changed lines: Changed C/C++ lines covered: 25/33 (75.76%) · Uncovered code

Full report · Diff report

@alexey-milovidov

Copy link
Copy Markdown
Member

🕵 Merged master again (f082ff970b90..9fa59d076e01, ~7 days / 2735 commits behind) to refresh CI. The merge was conflict-free and the net diff is unchanged (5 files, +124/−16); the changed translation unit still compiles against the merged tree (-fsyntax-only check passed). The previous run's only failures were unstable query entries in the Performance Comparison (arm_release, master_head, 1–6/6) shards — these measure the master_head baseline, not this PR's changes, and are unrelated to the deduplication-log writer initialization. All functional test suites were green, AI Review is ✅ Approve, and there are no unresolved review threads.

@clickhouse-gh

clickhouse-gh Bot commented Aug 9, 2026 •

Copy link
Copy Markdown
Contributor

Build profile diff (arm_release)

Comparing 693b85952 with master a98fd749e (stripped binary size, per-symbol sizes and ThinLTO time; compile times per translation unit against the most recent warmup build that recompiled it).

✅ No significant changes.

Binary sizes

programs/clickhouse-stripped: smaller than the master baseline by the known offset between the two builds, so the difference is not shown. A delta that differs from the offset by more than 50% of it is shown, in either direction.

The official master build is compiled with -g and a pull request build is not, and XRay counts debug instructions towards its instrumentation threshold, so master instruments thousands of functions more and its binary is ~0.4% larger no matter what the pull request does.

Object file sizes

11 object files changed (+546.26 KiB total), 5 added.

Object file Master PR Δ
src/CMakeFiles/dbms.dir/Processors/Executors/Runtime/PipelineExecutor.cpp.o new 169.94 KiB +169.94 KiB
src/CMakeFiles/dbms.dir/Processors/Executors/Runtime/ExecutingGraph.cpp.o new 158.45 KiB +158.45 KiB
src/CMakeFiles/dbms.dir/Processors/Executors/Runtime/PollingQueue.cpp.o new 86.50 KiB +86.50 KiB
src/CMakeFiles/dbms.dir/Processors/Executors/Runtime/ExecutorTasks.cpp.o new 76.84 KiB +76.84 KiB
src/CMakeFiles/dbms.dir/Processors/Executors/Runtime/ExecutionThreadContext.cpp.o new 46.64 KiB +46.64 KiB

721 more object files are built by the master warmup baseline only (it builds every object-file target, a pull request build only clickhouse-bundle) and not compared.

Compile time of recompiled translation units

20 translation units recompiled, 147 s compile time in total, 20 of them have a recent master baseline.

Job report

@alexey-milovidov

Copy link
Copy Markdown
Member

🕵 Merged current master into this branch and pushed a0e18745792d; the merge was conflict-free and preserves the existing five-file PR diff. Validation: the changed MergeTreeDeduplicationLog.cpp translation unit compiled successfully, and test_merge_tree_deduplication_mixed_metadata passed (1/1). The full incremental clickhouse build remains blocked before C++ compilation by the unrelated aarch64 Rust ring NEON configuration error in contrib/delta-kernel-rs. No unresolved review threads remain.

@alexey-milovidov

Copy link
Copy Markdown
Member

🕵 Merged current master into the PR branch without conflicts and pushed b40e4255fff1. The PR diff is unchanged; GitHub reports no unresolved review threads, and the preceding full CI run was green. A fresh CI workflow is now running for the updated merge base.

The AI review pointed out that the new integration test only exercised
`MergeTreeDeduplicationLog::addPart`, while the fix replaces the
over-strict `current_writer != nullptr` assertion in `dropPart` as well
(the assertion was also reported from that path in issue ClickHouse#86189).

Add a companion test that runs `ALTER TABLE ... DROP PARTITION` on the
same mixed `plain` + `local` metadata policy right after a restart, so a
drop is the first deduplication-log write, and check that the dropped
block can be inserted again while a surviving block is still
deduplicated.
Criss-cross merge (two merge bases: `5dde51d8b927` and `1a95640484605`),
so the ort virtual base produced 300 spurious conflicts in files this PR
does not touch. Resolved every such file to `master` verbatim and
restored the `.gitmodules` entries and `contrib` submodule gitlinks that
the merge silently dropped. Verified that the merged tree equals
`master` plus this PR's five-file change exactly.
On the mixed `plain` + `local` metadata policy used by this test both of
the obvious routes to `MergeTreeDeduplicationLog::dropPart` are rejected
before they get there: `checkAlterPartitionIsPossible` refuses partition
operations for a `plain`-metadata disk, and `checkMutationIsPossible`
refuses mutations for a disk without hard-link support, which also rules
out emptying a part so that `clearEmptyParts` drops it.

`TRUNCATE` goes through `StorageMergeTree::renameAndCommitEmptyParts`
and reaches `dropPart` on the same policy. Both tests pass locally.
@alexey-milovidov

Copy link
Copy Markdown
Member

🕵 Addressed the AI Review Request changes verdict and refreshed the branch against master; head is now b55c5870a578.

Review feedback — dropPart coverage. The new integration test only exercised MergeTreeDeduplicationLog::addPart, while the fix also replaces the over-strict current_writer != nullptr assertion in dropPart. Added test_deduplication_drop_part_with_mixed_metadata_storage_policy, which reaches dropPart on the same mixed plain + local metadata policy.

The verdict suggested ALTER TABLE ... DROP PARTITION / DROP PART, but that is not usable on this policy — I tried it, and MergeTreeData::checkAlterPartitionIsPossible rejects partition operations whenever a disk of the policy has metadata_type=plain (Partition operation ALTER TABLE DROP PARTITION is not supported for disk 'disk0_plain', SUPPORT_IS_DISABLED). The clearEmptyParts route is closed for the same reason: MergeTreeData::checkMutationIsPossible refuses mutations for a disk without hard-link support, so a part cannot be emptied via ALTER TABLE ... DELETE either. The test therefore uses TRUNCATE TABLE, which goes through StorageMergeTree::truncate → renameAndCommitEmptyParts → dropPart and is accepted here. It restarts the server first so that a drop, not an insert, is the first operation writing to the deduplication log, then checks that the previously seen blocks can be inserted again and that deduplication still works afterwards.

Verified locally: clickhouse built, and python3 -m ci.praktika run "integration" --test test_merge_tree_deduplication_mixed_metadata reports 2 passed.

Master merge. The branch was ~9 days / 4605 commits behind. This was a criss-cross merge — git merge-base --all origin/master HEAD returned two bases (5dde51d8b927 and 1a95640484605), so the virtual base produced 300 spurious conflicts in files this PR does not touch. Every such file was resolved to master verbatim, and the .gitmodules entries plus the contrib/NuRaft, contrib/aws-c-http, contrib/chdig, contrib/llvm-project and contrib/rust_vendor gitlinks that the merge silently dropped were restored. Verified that the merged tree equals master plus this PR's five-file change exactly (git diff --cached origin/master --numstat is byte-identical to the pre-merge diff against the newest real base).

The previous CI run on 1efc6b254f80 was green apart from CH Inc sync still pending; a fresh run is now going for the updated head. There are no unresolved review threads.

…urrent-writer-null

# Conflicts:
#	ci/jobs/llvm_coverage_job.py
#	ci/jobs/scripts/job_hooks/llvm_coverage_hook.py
#	ci/jobs/unit_tests_job.py
#	src/Access/Common/AccessRightsElement.h
#	src/Access/tests/gtest_access_rights_ops.cpp
#	src/Client/ConnectionEstablisher.h
#	src/Client/ConnectionPool.cpp
#	src/Client/ConnectionPool.h
#	src/Columns/ColumnConst.cpp
#	src/Common/AsyncTaskExecutor.h
#	src/Common/CurrentThread.cpp
#	src/Common/Fiber.h
#	src/Common/FiberStack.cpp
#	src/Common/LockMemoryExceptionInThread.cpp
#	src/Common/LockMemoryExceptionInThread.h
#	src/Common/MemoryTrackerBlockerInThread.cpp
#	src/Common/MemoryTrackerBlockerInThread.h
#	src/Common/OpenTelemetryTraceContext.cpp
#	src/Common/OptimizedRegularExpression.cpp
#	src/Common/PoolBase.h
#	src/Common/Throttler.cpp
#	src/Common/Throttler.h
#	src/Common/ZooKeeper/tests/gtest_zookeeper.cpp
#	src/Common/checkStackSize.cpp
#	src/Common/remapExecutable.cpp
#	src/Common/tests/gtest_optimize_re.cpp
#	src/DataTypes/DataTypeTuple.cpp
#	src/DataTypes/DataTypeTuple.h
#	src/DataTypes/IDataType.cpp
#	src/DataTypes/Serializations/ISerialization.cpp
#	src/DataTypes/Serializations/SerializationArray.cpp
#	src/DataTypes/Serializations/SerializationArrayOffsets.cpp
#	src/DataTypes/Serializations/SerializationArrayOffsets.h
#	src/DataTypes/Serializations/SerializationMap.cpp
#	src/DataTypes/Serializations/SerializationMapKeyValue.cpp
#	src/DataTypes/Serializations/SerializationMapSize.cpp
#	src/DataTypes/Serializations/SerializationObject.h
#	src/DataTypes/Serializations/SerializationObjectCombinedPath.cpp
#	src/DataTypes/Serializations/SerializationObjectDistinctPaths.cpp
#	src/DataTypes/Serializations/SerializationObjectSharedData.h
#	src/DataTypes/Serializations/SerializationObjectSharedDataPath.cpp
#	src/DataTypes/Serializations/SerializationReplicated.h
#	src/DataTypes/Serializations/SerializationSparse.cpp
#	src/DataTypes/Serializations/SerializationSparse.h
#	src/DataTypes/Serializations/SerializationStringSize.cpp
#	src/DataTypes/Serializations/SerializationSubObject.cpp
#	src/DataTypes/Serializations/SerializationSubObjectSharedData.cpp
#	src/DataTypes/Serializations/SerializationTuple.h
#	src/DataTypes/Serializations/SerializationVariantElementNullMap.cpp
#	src/DataTypes/Serializations/SerializationWrapper.cpp
#	src/DataTypes/Serializations/SerializationWrapper.h
#	src/DataTypes/tests/gtest_datatypetuple_createcolumn_detached.cpp
#	src/Formats/NativeReader.cpp
#	src/Functions/FunctionsEmbeddedDictionaries.cpp
#	src/Functions/endsWith.cpp
#	src/Functions/startsWith.cpp
#	src/Functions/startsWithUTF8.cpp
#	src/Interpreters/Access/InterpreterGrantQuery.cpp
#	src/Interpreters/ClusterProxy/distributedIndexAnalysis.cpp
#	src/Interpreters/HashTablesStatistics.h
#	src/Interpreters/tests/gtest_async_insert_key.cpp
#	src/Parsers/ASTProjectionSelectQuery.cpp
#	src/Parsers/ASTQueryWithTableAndOutput.cpp
#	src/Parsers/ASTTTLElement.cpp
#	src/Processors/QueryPlan/DistinctStep.h
#	src/Processors/TTL/TTLDeleteAlgorithm.cpp
#	src/Processors/Transforms/JoiningTransform.h
#	src/Storages/MergeTree/DeserializationPrefixesCache.cpp
#	src/Storages/MergeTree/IMergeTreeReader.h
#	src/Storages/MergeTree/MergeTreeReaderCompact.cpp
#	src/Storages/MergeTree/MergeTreeReaderCompact.h
#	src/TableFunctions/TableFunctionZeros.cpp
#	tests/integration/test_storage_iceberg_with_spark/test_iceberg_snapshot_reads.py
#	tests/integration/test_storage_s3/test.py
#	tests/queries/0_stateless/01780_column_sparse_full.sql
#	tests/queries/0_stateless/02932_refreshable_materialized_views_1.sh
#	tests/queries/0_stateless/03251_insert_sparse_all_formats.reference
@alexey-milovidov

Copy link
Copy Markdown
Member

🕵 Merged master again (b55c5870a578..317c05311153, ~2 days behind) to refresh CI. The previous run's only failure was Docker keeper image (clickhouse/clickhouse-keeper:head-distroless-arm64): the Ubuntu ports apt mirror returned 503 Service Unavailable while installing ca-certificates/wget — an infrastructure flake unrelated to this PR.

The merge produced criss-cross conflicts (two merge bases) in 77 files, none of them touched by this PR; all were resolved to master verbatim, and the net diff against master is unchanged — still exactly the 5 files (MergeTreeDeduplicationLog.cpp/.h + the test_merge_tree_deduplication_mixed_metadata integration test), +168/−16. The changed translation unit still compiles against the merged tree (-fsyntax-only check passed). AI Review remains ✅ Approve with 0 unresolved review threads.

@abashkeev abashkeev added the comp-mergetree MergeTree* family: parts, merges, primary index, column statistics, background data transformation. label Sep 4, 2026
@alexey-milovidov

Copy link
Copy Markdown
Member

🕵 Merged master into the branch (317c05311153..693b85952d7f, the branch was about a week behind) to refresh CI. The merge was conflict-free and does not touch the PR's files; the net diff is unchanged (5 files, +168/−16). The previous CI run on 317c05311153 was fully green, with no unresolved review threads.

@alexey-milovidov

Copy link
Copy Markdown
Member

Is this relevant after #118089?

@alexey-milovidov

Copy link
Copy Markdown
Member

Closing in favor of #118089, which covers the reachable part of this in the same function.

Both pull requests rewrite MergeTreeDeduplicationLog::rotate, and they overlap more than the titles suggest. This one sets current_writer to nullptr before opening the next log, so a failed open leaves a null writer that initCurrentWriter reopens on the next write instead of a finalized one. #118089 reaches the same result by opening the new writer before finalizing the old one, which is the better ordering - the failure becomes a no-op rather than a heal-on-next-write - and it additionally makes a rotation failure after a successful write non-fatal for the operation that triggered it, so an insert is not reported as failed after its block IDs were already published.

What is left here on top of that is unreachable on current master:

  • chassert(current_writer != nullptr) in addPart and dropPart: after Fix "Cannot write to finalized buffer" in MergeTreeDeduplicationLog::rotate #118089, rotate can never leave current_writer null or finalized.
  • The hardcoded WriteMode::Append in load and setDeduplicationWindowSize: not reachable on a disk that does not support appending, because rotateAndDropIfNeeded rotates unconditionally when !disk_supports_writing_with_append.

This agrees with the description of this pull request itself (defensive hardening; the logical error is not reproducible on current master) and with #86189, which was closed as completed after no occurrences since April.

If we want to keep the coverage for a storage policy that mixes plain and local metadata disks, the test_merge_tree_deduplication_mixed_metadata integration test can be taken separately.

Related: #118089
Related: #86189

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

Labels

comp-mergetree MergeTree* family: parts, merges, primary index, column statistics, background data transformation. 🍃 green ci 🌿 Fixing flaky tests in CI pr-not-for-changelog This PR should not be mentioned in the changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Logical error: 'current_writer != nullptr'

5 participants