Hi all,

Following the earlier idempotency proposal, I’ve opened a PR
<https://github.com/apache/polaris/pull/3205> that adds the first
implementation of idempotency retries to Polaris core and would like
feedback on the Java design.

The PR introduces:

   -

   org.apache.polaris.core.persistence.IdempotencyStore – an SPI to
   reserve/load/finalize/purge idempotency records (with ReserveResult /
   ReserveResultType).


   -

   org.apache.polaris.idempotency.IdempotencyRecord – the value type for
   stored idempotency metadata.


   -

   PostgresIdempotencyStore + PostgresIdempotencyStoreIT – a
   relational‑jdbc implementation backed by
   POLARIS_SCHEMA.idempotency_records, tested via Testcontainers/Postgres.

Please take a look at the PR and reply here or comment on the change with
any concerns or suggestions.

Thanks,

Huaxin

Reply via email to