Hi all,

Following the persistence-consistency discussion [1], I've written a
proposal for a catalog backend abstraction:

  https://github.com/apache/polaris/pull/6260

https://github.com/snazy/polaris/blob/catalog-backend-proposal-doc/site/content/community/design-proposals/catalog-backend-abstraction.md

Today, resolution, cache freshness, entity management, commit preparation
and retries span several layers.
For example, #5807 reports concurrent commits that do not protect a
requirement on an unchanged table; #5961 proposes a fix, superseding the
earlier #5820 [2].
That PR targets the correctness gap; the design asks who should own
dependency collection and validation, and whether every backend must
express those checks through entities and the Resolver.

The proposal gives each backend ownership of catalog state resolution,
dependency validation and publication, while keeping Iceberg semantics and
logical-operation coordination shared.

Existing entity managers and metastores would remain in place behind
adapters.
Backends with their own native state model, such as the existing NoSQL
persistence, could participate directly without the entity-manager workflow.
Manifest improvements and storage primitives could remain useful inside
backend implementations.

Correctness and safety are the primary goals.
Clearer ownership also gives us an opportunity to reduce repeated
resolution, conversions and retry work.

Existing deployments should upgrade without public API changes or data
rewrites merely to adopt the new handling, and keep supported behavior.
Backend-specific transition plans, including any data transformations and
upgrade or rollback restrictions, need review before a production switch.

I'd especially welcome objections to this responsibility split and
requirements an alternative would need to meet.
The request is agreement to evaluate the design against the criteria in the
document, not to adopt it; the next step would be a focused contract sketch
with before/after walkthroughs for an existing JDBC route and native NoSQL.

Cheers,
Robert

[1] https://lists.apache.org/thread/vx0k8ow4k87m4y7cxpmojb0zy17t5ldy

[2] https://github.com/apache/polaris/issues/5807
    https://github.com/apache/polaris/pull/5820
    https://github.com/apache/polaris/pull/5961

Reply via email to