Repository navigation
Add test: local_blob_storage + metadata_type=plain combination has no stateless coverage - #103889
clickgapai wants to merge 2 commits into
Conversation
|
Workflow [PR], commit [2949818] Summary: ❌
|
|
CI check This PR is test-only; the bot will not retrigger CI or modify the test to chase a failure that appears unrelated. If you believe the failure is related to this test, please comment with details and the bot will re-evaluate. |
|
This PR has accumulated 5 CI failures that don't reference its test, so the bot has not attempted any fix. Closing — please re-run CI or comment if you'd like the bot to look again. |
|
ClickGap AI Bot seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
|
CI failure in |
|
@groeneai can you take this up and open a new PR? |
|
Taking this up. Triaged against master This one needs a one-token fix before re-filing: line 34 asserts It will be re-filed as part of an area-grouped PR rather than its own PR, to keep reviewer load down (26 in this batch plus 18 from the earlier one today). Full triage and the grouping plan: #101781 (comment) |
|
Not re-filing this one, and here is the reason rather than silence. The combination is already exercised. The test also does not pass as written: line 34 asserts Separately, a plain disk at a fixed relative path is a The other six gaps from this batch's MergeTree/index group are resolved in #114305. |
Found via ClickGap automated review. Please close or comment if this is incorrect or needs adjustment.
Retrospective finding from a historical scan of PR #60396 (merged 2024-03-13). Confirmed on current codebase — close with a note if already fixed.
This is a test-only PR — no source code changes. Please review: test quality, whether the claimed coverage gaps are real, and whether test output makes sense.
Adds test coverage for 1 untested code path(s), found during automated review of PR #60396.
That PR PR adds support for plain
metadata_typewith the new explicit disk configuration option (type = object_storage, object_storage_type = local_blob_storage, metadata_type = plain). The PR (1) introducesmetadataTypeFromStringto parse themetadata_typeconfig value, (2) replaces the old `S3Plai1.
local_blob_storage+metadata_type=plaincombination has no stateless coveragesrc/Disks/DiskType.cpp:18,src/Disks/DiskObjectStorage/ObjectStorages/Local/LocalObjectStorage.cpp:423Risk: Call chain: parser builds
disk(...)AST ->ObjectStorageFactoryresolveslocal_blob_storage->MetadataStorageFactory::getMetadataTypereturns 'plain' ->metadataTypeFromString("plain")(DisWhat's unique vs PR tests: PR's integration test
test_attach_backup_from_s3_plain/test.pyexercises the same combination but only via BACKUP+ATTACH end-to-end with deduplicate_files=0 — it cannot run in fast PR pipelines andTags:
-- Tags: no-fasttest—no-fasttest: FastTest build skips MergeTree object_storage features per FastTest convention; existing 02963_test_flexible_disk_configuration.sql which uses the samedisk(...)inline syntax also carriesno-fasttest.Try it on ClickHouse Fiddle
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Not applicable — test-only change.
Documentation entry for user-facing changes