Skip to content

Initialize data lake metadata before OPTIMIZE / ALTER on attach - #104738

Merged
PedroTadim merged 2 commits into
ClickHouse:masterfrom
groeneai:groeneai/fix-iceberg-metadata-not-initialized-104711
May 13, 2026
Merged

PedroTadim merged 2 commits into
ClickHouse:masterfrom
groeneai:groeneai/fix-iceberg-metadata-not-initialized-104711

Conversation

@groeneai

@groeneai groeneai commented May 12, 2026 •

Copy link
Copy Markdown
Collaborator

Linked issues

Motivation

OPTIMIZE TABLE on a freshly attached IcebergLocal (or other data lake) table used to raise Logical error: 'Metadata is not initialized' and abort the server. Same for ALTER TABLE ... DELETE, ALTER TABLE ... ADD COLUMN, and the corresponding mutation/alter pre-checks. The user-visible reproducer from #104711:

SET iceberg_metadata_compression_method = 'deflate';
CREATE TABLE t0 (c0 Int) ENGINE = IcebergLocal(local, path = '...');
SET output_format_compression_level = 11;
INSERT INTO TABLE t0 VALUES (2);  -- fails: INCORRECT_DATA
-- restart server
OPTIMIZE TABLE t0;  -- Fatal: Logical error 'Metadata is not initialized'.

A close cousin is the ALTER TABLE ... DELETE stack trace in #96806 — same root cause, different entry point.

Root cause

DataLakeConfiguration::current_metadata is loaded lazily. read, write and mutate call update / lazyInitializeIfNeeded before delegating, but optimize, alter, checkMutationIsPossible and checkAlterIsPossible did not.

When the table was attached lazily (typical after a server restart) or the previous update failed during ATTACH (in the reproducer above, the failed INSERT leaves a corrupted vN.deflate.metadata.json on disk, and the catch in StorageObjectStorage's constructor swallows the load failure), the four methods above hit DataLakeConfiguration::assertInitialized and raise LOGICAL_ERROR — fatal in debug / sanitizer builds.

Fix

Call configuration->update(object_storage, context) from each of those four methods on StorageObjectStorage when the configuration is a data lake. The metadata is either populated successfully and the operation proceeds, or the load error surfaces as a regular user-facing exception (e.g. INCORRECT_DATA for the corrupted JSON above) instead of a logical error.

checkMutationIsPossible has no Context parameter, so it uses CurrentThread::tryGetQueryContext() — the same fallback already used by supportedPrewhereColumns and getColumnSizes in this file.

Local verification

Built debug, reproduced the LOGICAL_ERROR with the exact issue reproducer, confirmed the fix replaces it with a normal INCORRECT_DATA exception, and the server stays alive. A new stateless regression test (04230_iceberg_optimize_metadata_not_initialized_104711) reproduces the corrupt-metadata-on-disk state with DETACH ... SYNC + ATTACH (equivalent to a server restart for current_metadata) and asserts that OPTIMIZE / ALTER DELETE / ALTER ADD COLUMN no longer produce a logical error and the server keeps running. The test fails (server crash) on master and passes on this branch.

Related: #104711, #96806.

Closes #104711

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 exception (Metadata is not initialized) raised by OPTIMIZE TABLE, ALTER TABLE ... DELETE, ALTER TABLE ... ADD COLUMN and other ALTER variants on a lazily-attached Iceberg / IcebergLocal / DeltaLake / Hudi table whose metadata had not been loaded yet (typical after a server restart, or after a previous metadata write failed and left a corrupted metadata file on disk). The operation now either proceeds normally if the metadata loads successfully, or surfaces the underlying load failure as a regular user-facing exception instead of aborting the server in debug / sanitizer builds.

Documentation entry for user-facing changes

  • Documentation is written (mandatory for new features)

Version info

  • Merged into: 26.5.1.626
  • Backported to: 26.4.5.24, 26.3.14.25

…kHouse#104711)

`OPTIMIZE TABLE` on a freshly attached `IcebergLocal` (or other data lake)
table used to raise `Logical error: 'Metadata is not initialized'` and abort
the server. Same for `ALTER TABLE ... DELETE`, `ALTER TABLE ... ADD COLUMN`,
and the corresponding mutation/alter pre-checks. The user-visible reproducer
from the issue is:

    SET iceberg_metadata_compression_method = 'deflate';
    CREATE TABLE t0 (c0 Int) ENGINE = IcebergLocal(local, path = '...');
    SET output_format_compression_level = 11;
    INSERT INTO TABLE t0 VALUES (2);  -- fails: INCORRECT_DATA
    -- restart server
    OPTIMIZE TABLE t0;  -- Fatal: Logical error 'Metadata is not initialized'.

Cause: `DataLakeConfiguration::current_metadata` is loaded lazily — `read`,
`write` and `mutate` call `update` / `lazyInitializeIfNeeded` before
delegating, but `optimize`, `alter`, `checkMutationIsPossible` and
`checkAlterIsPossible` did not. When the table was attached lazily (typical
after a server restart) or the previous `update` failed (here: the failed
INSERT left a corrupted `vN.deflate.metadata.json` on disk and the catch in
`StorageObjectStorage`'s constructor swallowed the load failure), the four
methods above hit `assertInitialized` and raised `LOGICAL_ERROR` — fatal in
debug / sanitizer builds.

This patch calls `configuration->update(object_storage, context)` from each
of those four methods when the configuration is a data lake. The metadata is
either populated successfully and the operation proceeds, or the load error
surfaces as a regular user-facing exception (e.g. `INCORRECT_DATA` for the
corrupted JSON above) instead of a logical error.

`checkMutationIsPossible` has no `Context` parameter, so it uses
`CurrentThread::tryGetQueryContext()` — the same fallback already used by
`supportedPrewhereColumns` and `getColumnSizes` in this file.

A new stateless regression test (`04230_iceberg_optimize_metadata_not_initialized_104711`)
reproduces the corrupt-metadata-on-disk state with `DETACH ... SYNC` + `ATTACH`
(equivalent to a server restart for `current_metadata`) and asserts that
`OPTIMIZE` / `ALTER DELETE` / `ALTER ADD COLUMN` no longer produce a logical
error and that the server keeps running.

Closes ClickHouse#104711.
@groeneai

Copy link
Copy Markdown
Collaborator Author

cc @alesapin @Michicosun @scanhex12 — could you review this? It addresses #104711 (and the related #96806) by calling configuration->update(object_storage, context) from StorageObjectStorage::optimize / alter / checkAlterIsPossible / checkMutationIsPossible so that data lake current_metadata is initialized before delegating to the data-lake-specific code, instead of hitting DataLakeConfiguration::assertInitialized and raising LOGICAL_ERROR after a lazy ATTACH.

cc @PedroTadim — thanks for the reproducer, this should cover both the OPTIMIZE crash you reported and the ALTER-side variant from the linked #96806.

Pre-PR validation gate

  • Deterministic repro? Yes. Confirmed via the issue reproducer (SET iceberg_metadata_compression_method='deflate' + CREATE + bad-level INSERT + restart + OPTIMIZE) and via the simpler stateless DETACH ... SYNC + ATTACH form used by the regression test.
  • Root cause explained? Yes. DataLakeConfiguration::current_metadata is loaded lazily — read/write/mutate call update first, but optimize/alter/check{Alter,Mutation}IsPossible did not. After a lazy ATTACH (or after the ATTACH-time update was swallowed by the constructor's catch because the metadata file on disk was corrupted by the failed INSERT), current_metadata stays null, assertInitialized fires, server aborts in debug/sanitizer.
  • Fix matches root cause? Yes. The four methods now lazy-init like read and mutate already do.
  • New test added? Yes. 04230_iceberg_optimize_metadata_not_initialized_104711 reproduces the corrupt-metadata state via DETACH/ATTACH and asserts OPTIMIZE / ALTER DELETE / ALTER ADD COLUMN no longer raise a logical error and the server stays alive.
  • Both directions demonstrated? Yes. On master HEAD with the patched test the server aborts on OPTIMIZE TABLE (Logical error: 'Metadata is not initialized'); with the fix applied it raises Code: 117 INCORRECT_DATA for the corrupted metadata and the server keeps running. The test fails (server crash) on master and passes 3/3 on this branch.
  • Fix is general? Yes — covers all four assertInitialized entry points that are reachable from interpreters (InterpreterOptimizeQuery, InterpreterAlterQuery, InterpreterDeleteQuery) without a preceding read/write. Other assertInitialized sites in DataLakeConfiguration (iterate, getInitialSchemaByPath, etc.) are only reachable after a read/update already populated current_metadata.

Session: cron:clickhouse-ci-task-worker:20260512-164500

@asya-ch

asya-ch commented May 12, 2026 •

Copy link
Copy Markdown
Collaborator

I think this commit puts too much data lake-specific logic in StorageObjectStorage when it could instead go in DataLakeConfiguration.h. I will push a commit to address it.

@asya-ch

asya-ch commented May 12, 2026 •

Copy link
Copy Markdown
Collaborator

I'm not sure when CurrentThread::tryGetQueryContext() is actually OK to use. @Michicosun, I see you've recently made some related changes -- do you know?

We could also add context as a param, but it would require touching a lot of header files, so might be nice to avoid.

@asya-ch asya-ch added the can be tested Allows running workflows for external contributors label May 12, 2026
@clickhouse-gh

clickhouse-gh Bot commented May 12, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [7da6615]

Summary: ✅


AI Review

Summary

This PR adds lazy metadata initialization for several StorageObjectStorage operation paths and introduces a regression test, but it still leaves a live ALTER TABLE ... DELETE path that can raise LOGICAL_ERROR before the new initialization logic is reached.

Findings
  • ❌ Blockers
    • [src/Storages/ObjectStorage/DataLakes/DataLakeConfiguration.h:156, src/Interpreters/InterpreterDeleteQuery.cpp:92] The PR contract says ALTER TABLE ... DELETE should no longer fail with Metadata is not initialized after lazy ATTACH, but InterpreterDeleteQuery::execute first calls table->supportsDelete, and DataLakeConfiguration::supportsDelete still relies on assertInitialized. If current_metadata is null, this throws LOGICAL_ERROR before checkMutationIsPossible runs.
      Suggested fix: initialize metadata (or avoid assertInitialized) on the supportsDelete path so DELETE-first after ATTACH is handled the same way as the other fixed entrypoints.
Tests
  • ⚠️ [tests/queries/0_stateless/04230_iceberg_optimize_metadata_not_initialized_104711.sh:56-67] The regression test runs OPTIMIZE before ALTER TABLE ... DELETE. Since OPTIMIZE now lazily initializes metadata, this ordering can mask the DELETE-first path above. Add a focused case where ALTER ... DELETE is the first operation after DETACH/ATTACH (for example by re-attaching again before delete, or using a second table).
Final Verdict
  • Status: ❌ Block
  • Minimum required actions:
    1. Fix the supportsDelete entrypoint so ALTER TABLE ... DELETE cannot raise Metadata is not initialized before lazy initialization.
    2. Extend the regression test to exercise ALTER ... DELETE as the first post-attach operation.

@clickhouse-gh clickhouse-gh Bot added the pr-bugfix Pull request with bugfix, not backported by default label May 12, 2026
# error code is reported (it depends on what `update` happens to fail
# with for the corrupted metadata) — only that it is NOT a logical error
# and that the server keeps running.
${CLICKHOUSE_CLIENT} --allow_experimental_iceberg_compaction=1 \

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.

This regression script runs OPTIMIZE before ALTER TABLE ... DELETE (OPTIMIZE at line 56, DELETE at line 62). Since OPTIMIZE now performs lazy initialization, it can mask the DELETE-first entrypoint where supportsDelete is checked before checkMutationIsPossible.

Could we add a case where ALTER ... DELETE is the first operation after DETACH/ATTACH (for example by re-attaching again before the delete check, or by using a second table) so the regression covers that path directly?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Good catch — with the current order (DETACH → ATTACH → OPTIMIZE → ALTER ... DELETE → ALTER ... ADD COLUMN), OPTIMIZE performs the lazy init and the subsequent DELETE / ADD COLUMN find the metadata already populated, so they never exercise their own init paths.

I'll restructure to three separate tables — one per first-operation entrypoint — so each operation runs as the first post-ATTACH call:

  • t_optimize: DETACH → ATTACH → OPTIMIZE
  • t_delete: DETACH → ATTACH → ALTER ... DELETE
  • t_add_column: DETACH → ATTACH → ALTER ... ADD COLUMN

That also surfaces the supportsDelete gap you flagged on DataLakeConfiguration.h — the current ordering hides it because OPTIMIZE initializes the metadata before DELETE is dispatched.

I'll wait for @asya-ch's refactor to settle and her view on the supportsDelete follow-up before pushing the restructured test, so the test exercises whatever final shape the lazy init takes.

}

void checkMutationIsPossible(const MutationCommands & commands) override
void checkMutationIsPossible(ObjectStoragePtr object_storage, ContextPtr context, const MutationCommands & commands) override

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.

ALTER TABLE ... DELETE can still raise a LOGICAL_ERROR exception before this method runs.

InterpreterDeleteQuery::execute first calls table->supportsDelete() (src/Interpreters/InterpreterDeleteQuery.cpp, line 92). For StorageObjectStorage, that goes through DataLakeConfiguration::supportsDelete, which still uses assertInitialized(). If a lazy ATTACH left current_metadata == nullptr, supportsDelete throws Metadata is not initialized, so this new lazy-init path in checkMutationIsPossible is never reached.

Can we also initialize metadata on the supportsDelete path (or avoid asserting there) so ALTER ... DELETE is covered even when it is the first operation after ATTACH?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

You're right — InterpreterDeleteQuery::execute calls table->supportsDelete() (InterpreterDeleteQuery.cpp line 92) before table->checkMutationIsPossible (line 103). For a freshly-attached datalake table with current_metadata == nullptr, DataLakeConfiguration::supportsDelete would throw Metadata is not initialized from assertInitialized and never reach the lazy init we added in checkMutationIsPossible. The current regression test misses this because it runs OPTIMIZE first, which initializes the metadata — see the related test-gap concern on the script above.

IStorage::supportsDelete() const is a fixed const virtual with no Context, which constrains the options. Three plausible directions:

  1. Init at the StorageObjectStorage layer. Call CurrentThread::tryGetQueryContext() + configuration->lazyInitializeIfNeeded(object_storage, ctx) inside StorageObjectStorage::supportsDelete, mirroring the pattern of supportedPrewhereColumns and getColumnSizes in the same file. Minimal surface change; brings back a small isDataLakeConfiguration() branch in StorageObjectStorage, which is the layering @asya-ch is pushing against.
  2. Push the init into the configuration, matching @asya-ch's refactor. Change StorageObjectStorageConfiguration::supportsDelete to take (ObjectStoragePtr, ContextPtr), have DataLakeConfiguration::supportsDelete(...) call lazyInitializeIfNeeded(...). Requires either mutable current_metadata or dropping the const qualifier on supportsDelete in the *Configuration chain (the IStorage layer can stay const and just thread object_storage + CurrentThread::tryGetQueryContext() through).
  3. Honest fallback. Have DataLakeConfiguration::supportsDelete return false when current_metadata == nullptr. Avoids the logical-error exception, but silently disables datalake DELETE between ATTACH and the first read on a corrupted-metadata table — surprising behaviour, and InterpreterDeleteQuery would then fall through to supportsLightweightDelete which has the same assertInitialized problem.

I'd lean toward (2) since it follows the same direction as the rest of the refactor; (1) is the lower-risk minimal change if we'd rather not widen the configuration interface further.

Same applies to supportsParallelInsert (line 139) and any other assertInitialized() caller reachable before read / write / mutate. I'll hold off pushing the supportsDelete fix until the refactor settles, so it can land on one consistent architecture along with the restructured regression test.

@clickhouse-gh

clickhouse-gh Bot commented May 13, 2026

Copy link
Copy Markdown
Contributor

LLVM Coverage Report

Metric Baseline Current Δ
Lines 84.10% 84.10% +0.00%
Functions 91.10% 91.10% +0.00%
Branches 76.50% 76.50% +0.00%

Changed lines: 54.17% (13/24) · Uncovered code

Full report · Diff report

@groeneai

Copy link
Copy Markdown
Collaborator Author

Re CurrentThread::tryGetQueryContext — I think it's reasonable to keep here, with two existing precedents in this same file:

Both are const overrides of IStorage methods that don't take a context, and both reach the metadata via CurrentThread::tryGetQueryContext(). checkMutationIsPossible has exactly the same shape (no ContextPtr in the IStorage signature), so the pattern matches.

The alternative — adding ContextPtr to IStorage::checkMutationIsPossible (and supportsDelete / supportsLightweightDelete, see the bot's other comment about supportsDelete below) — would touch every storage implementation. Probably not worth it just for the data-lake lazy init, especially since all current callers (InterpreterDeleteQuery::execute, InterpreterAlterQuery::execute, etc.) already run inside a query context, so tryGetQueryContext returns non-null in practice.

If you'd prefer to be more defensive, two cheaper options:

  1. Add a chassert(context) inside StorageObjectStorage::checkMutationIsPossible so we get a clear diagnostic if the assumption ever breaks.
  2. Have DataLakeConfiguration::lazyInitializeIfNeeded fall back to CurrentThread::tryGetQueryContext() itself when local_context == nullptr — keeps the contract local to the data-lake code, and StorageObjectStorage can pass through whatever it has.

Happy to go whichever way you and @Michicosun prefer.

@PedroTadim

Copy link
Copy Markdown
Member

@groeneai you should add Closes in the description to close the issue once the PR gets merged.

@Michicosun

Copy link
Copy Markdown
Member

I'm not sure when CurrentThread::tryGetQueryContext() is actually OK to use. @Michicosun, I see you've recently made some related changes -- do you know?

It should be okay, mutation validation is being run in the context of an alter interpreter, which is the query context.

@PedroTadim
PedroTadim added this pull request to the merge queue May 13, 2026
Merged via the queue into ClickHouse:master with commit 6ef7a38 May 13, 2026
165 checks passed
@robot-ch-test-poll4 robot-ch-test-poll4 added the pr-synced-to-cloud The PR is synced to the cloud repo label May 13, 2026
@clickgapai

Copy link
Copy Markdown
Contributor

Hi @groeneai @PedroTadim — while reviewing this PR I found the following:

Happy to discuss — close anything that's wrong or already addressed.

@watson-ch

watson-ch Bot commented May 15, 2026

Copy link
Copy Markdown

Backport labels have been automatically added based on https://github.com/ClickHouse/clickhouse-core-incidents/issues/1691

Labels added:

  • v26.2-must-backport

These labels ensure backport PRs are properly created for each affected release version. The release automation will create backport PRs as needed based on these labels.

@robot-clickhouse robot-clickhouse added the pr-must-backport-synced The `*-must-backport` labels are synced into the cloud Sync PR label May 15, 2026
robot-ch-test-poll added a commit that referenced this pull request May 15, 2026
Cherry pick #104738 to 26.2: Initialize data lake metadata before OPTIMIZE / ALTER on attach
robot-clickhouse added a commit that referenced this pull request May 15, 2026
@robot-ch-test-poll3 robot-ch-test-poll3 added the pr-backports-created Backport PRs are successfully created, it won't be processed by CI script anymore label May 15, 2026
groeneai added a commit to groeneai/ClickHouse that referenced this pull request May 30, 2026
PR ClickHouse#102882 (Smita Kulkarni, merged 2026-05-28) added
table->updateExternalDynamicMetadataIfExists() in
InterpreterDeleteQuery::execute before the table->supportsDelete()
call. That upstream fix initializes the data lake metadata before
supportsDelete reaches assertInitialized, so the Logical error path
that 04238 was designed to catch is no longer reachable via DELETE
FROM on master HEAD.

The other five cases in 04238 (TRUNCATE, UPDATE, INSERT, ALTER DELETE,
ALTER UPDATE) were documented in the test as shape-coverage-only:
the corrupted-metadata setup errors with INCORRECT_DATA before
reaching the supports* methods.

04240 stays. It covers the InsertDependenciesBuilder
supportsParallelInsert path on MV-dependent sinks, which has no
upstream lazy-init guard and which our StorageObjectStorage
wrapper does fix.

The StorageObjectStorage::supportsDelete wrapper is kept as
defense in depth, mirroring the checkMutationIsPossible /
checkAlterIsPossible wrappers added by parent PR ClickHouse#104738.
pull Bot pushed a commit to Mu-L/ClickHouse that referenced this pull request May 31, 2026
`InterpreterDeleteQuery::execute` calls `table->supportsDelete()` BEFORE
`table->checkMutationIsPossible()`. For a freshly-attached `Iceberg` /
`DeltaLake` / `Hudi` table whose `current_metadata` has not been loaded
(typical after server restart when the previous metadata load failed and
was swallowed by the lazy-init catch in `StorageObjectStorage`'s
constructor), `DataLakeConfiguration::supportsDelete()` raised
`LOGICAL_ERROR: Metadata is not initialized` from `assertInitialized()`,
fatal in debug / sanitizer builds.

This is the sibling case of the issue fixed for `OPTIMIZE` / `ALTER` by
PR ClickHouse#104738 (which moved lazy-init into `DataLakeConfiguration` for
`optimize`, `alter`, `checkMutationIsPossible`, `checkAlterIsPossible`).
The `supportsDelete()` call site is reached before any of those four
methods in the `DELETE FROM` path, so the merged fix never runs.

`InsertDependenciesBuilder` reaches `supportsParallelInsert()` with the
same shape during `INSERT` pipeline construction, so apply the same
treatment to it.

Override `supportsDelete()` and `supportsParallelInsert()` on
`StorageObjectStorage` (matching the existing pattern of
`supportedPrewhereColumns()` and `getColumnSizes()` in the same file)
and call `lazyInitializeIfNeeded()` on data lake configurations before
delegating. A regular user-facing exception is raised instead of a
logical error, and the server keeps running.

New regression test `04238_iceberg_supports_delete_metadata_not_initialized_104891`
exercises the `DELETE FROM` path right after `DETACH+ATTACH` with no
preceding `OPTIMIZE` / `ALTER`, so the `supportsDelete()` lazy-init is
not masked by initialization from another code path.

Closes ClickHouse#104891
Related: ClickHouse#104711, ClickHouse#104738

Co-Authored-By: Claude Opus 4.7 <[email protected]>
@fm4v fm4v removed pr-backports-created Backport PRs are successfully created, it won't be processed by CI script anymore pr-synced-to-cloud The PR is synced to the cloud repo pr-must-backport-synced The `*-must-backport` labels are synced into the cloud Sync PR labels Jun 9, 2026
@robot-clickhouse-ci-1 robot-clickhouse-ci-1 added the pr-must-backport-synced The `*-must-backport` labels are synced into the cloud Sync PR label Jun 9, 2026
robot-clickhouse-ci-1 added a commit that referenced this pull request Jun 10, 2026
Cherry pick #104738 to 26.3: Initialize data lake metadata before OPTIMIZE / ALTER on attach
robot-clickhouse added a commit that referenced this pull request Jun 10, 2026
robot-clickhouse-ci-1 added a commit that referenced this pull request Jun 10, 2026
Cherry pick #104738 to 26.4: Initialize data lake metadata before OPTIMIZE / ALTER on attach
robot-clickhouse added a commit that referenced this pull request Jun 10, 2026
@robot-clickhouse-ci-1 robot-clickhouse-ci-1 added the pr-backports-created Backport PRs are successfully created, it won't be processed by CI script anymore label Jun 10, 2026
alexey-milovidov added a commit that referenced this pull request Jun 11, 2026
Backport #104738 to 26.4: Initialize data lake metadata before OPTIMIZE / ALTER on attach
PedroTadim added a commit that referenced this pull request Jun 12, 2026
Backport #104738 to 26.3: Initialize data lake metadata before OPTIMIZE / ALTER on attach
zeekay pushed a commit to hanzoai/datastore that referenced this pull request Sep 11, 2026
zeekay pushed a commit to hanzoai/datastore that referenced this pull request Sep 11, 2026
…4738

Backport ClickHouse#104738 to 26.4: Initialize data lake metadata before OPTIMIZE / ALTER on attach
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-backports-created Backport PRs are successfully created, it won't be processed by CI script anymore pr-bugfix Pull request with bugfix, not backported by default pr-must-backport-synced The `*-must-backport` labels are synced into the cloud Sync PR v26.2-must-backport

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Another Logical error: 'Metadata is not initialized'

10 participants