From 47313815400a2a4e2d87ec338285e8c88b3cb2a7 Mon Sep 17 00:00:00 2001 From: Krzysztof Macewicz Date: Mon, 28 Sep 2026 06:59:42 +0200 Subject: [PATCH] chore(release): smart-data-engine-sdk 0.1.1, the index recovery fix A patch release of the Python library alone, for #100: resume and abandonment of a PostgreSQL in-place index build wait for the interrupted statement before reading the catalogue, instead of racing its commit or dropping the index it was finishing. @smart-data-engines/sde has no 0.1.1: of what it ships, only the version field changed since typescript-v0.1.0, so npm keeps 0.1.0 (one tag per language, docs/publishing.md 5.1). Co-Authored-By: Claude Opus 5.5 (1M context) --- CHANGELOG.md | 9 +++++++-- python/src/sde/__init__.py | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 959a3b9..2f89568 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,9 +5,14 @@ The two libraries are released separately, one tag per language: `python-v*` to not make them agree. What does is the conformance suite and [`conformance/contract-version.txt`](conformance/contract-version.txt). -## Unreleased +## `smart-data-engine-sdk` 0.1.1 -**Fixed in `smart-data-engine-sdk`.** Resume and abandonment of a PostgreSQL in-place index build +A patch release of the Python library alone. `@smart-data-engines/sde` has no 0.1.1. Of what it +ships, only the version field has changed since 0.1.0, to a development version. One tag per +language keeps an otherwise identical package from going out under a new number (ยง5.1 of +[`docs/publishing.md`](docs/publishing.md)). + +**Fixed.** Resume and abandonment of a PostgreSQL in-place index build used to read the catalogue while the interrupted statement was still running. A deadline or a killed operator ends the client, not its `CREATE INDEX CONCURRENTLY`. Recovery then either raced that statement's commit and failed with "tuple concurrently updated", or dropped the index it was diff --git a/python/src/sde/__init__.py b/python/src/sde/__init__.py index 6477ff0..6a9a70b 100644 --- a/python/src/sde/__init__.py +++ b/python/src/sde/__init__.py @@ -156,7 +156,7 @@ class Meta: from .write_fence import EPOCH_COLUMN as WRITE_EPOCH_COLUMN from .write_fence import FenceState, WriteFence -__version__ = "0.1.1.dev0" +__version__ = "0.1.1" __all__ = [ "ALSO_WRITE_SINCE",