Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/integration-cassandra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -420,8 +420,8 @@ jobs:
devtools/check-cassandra-catalog-lock ./target/release/extenddb
${{ job.services.cassandra.id }} 127.0.0.1:9042 18454

# No released image carries the Cassandra backend, so the job builds
# the last 0.1.x release from its tag, on a cache miss only.
# No 0.1.14 image carries the Cassandra backend, so the job builds
# 0.1.14 from its tag, on a cache miss only.
- name: Build the v0.1.14 release (cassandra backend)
if: steps.cache-v0-1-14.outputs.cache-hit != 'true'
run: |
Expand All @@ -440,7 +440,7 @@ jobs:
path: ${{ runner.temp }}/target-v0.1.14/release/extenddb
key: extenddb-v0.1.14-no-default-features-${{ env.V0114_FEATURES }}-${{ runner.os }}-${{ runner.arch }}

- name: Check the last 0.1.x release against migrated catalogs
- name: Check the 0.1.14 release against migrated catalogs
run: >-
devtools/check-cassandra-older-binary ./target/release/extenddb
${{ runner.temp }}/target-v0.1.14/release/extenddb
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration-mongodb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ jobs:
run: devtools/check-mongodb-auth ./target/release/extenddb 27081 18490
- name: Check the released catalogs against a fresh install
run: devtools/check-mongodb-released ./target/release/extenddb 27061 18480
- name: Check the last 0.1.x release against migrated catalogs
- name: Check the 0.1.14 release against migrated catalogs
run: |
docker pull extenddb/extenddb-mongodb:0.1.14
devtools/check-mongodb-older-binary ./target/release/extenddb \
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -221,11 +221,11 @@ jobs:
devtools/check-postgres-catalog-lock ./target/release/extenddb
postgresql://postgres:devpass@127.0.0.1:5432 18452

# The last 0.1.x image's verify, migrate --yes and serve against
# The 0.1.14 image's verify, migrate --yes and serve against
# catalogs this binary created and migrated: what each writes, and that
# this binary then reports WrittenByOlderRelease and --reconverge
# restores Current.
- name: Check the last 0.1.x release against migrated catalogs
- name: Check the 0.1.14 release against migrated catalogs
run: |
docker pull extenddb/extenddb-postgres:0.1.14
devtools/check-postgres-older-binary ./target/release/extenddb \
Expand Down Expand Up @@ -322,10 +322,10 @@ jobs:
- name: Check serve and migrate on one catalog
run: devtools/check-sqlite-catalog-lock ./target/release/extenddb 18450

# The last 0.1.x dev image's serve and migrate --yes against catalogs
# The 0.1.14 dev image's serve and migrate --yes against catalogs
# this binary migrated: what each writes, and that this binary then
# reports WrittenByOlderRelease and --reconverge restores Current.
- name: Check the last 0.1.x release against migrated catalogs
- name: Check the 0.1.14 release against migrated catalogs
run: |
docker pull extenddb/extenddb-dev:0.1.14
devtools/check-sqlite-older-binary ./target/release/extenddb \
Expand Down
7 changes: 4 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ SQLite, PostgreSQL, Cassandra and MongoDB migrate through this framework.
rewrites stored policies, and running it again would rewrite a policy
written after it and change that policy's decision.
`extenddb migrate --yes --reconverge`, which repairs a catalog that a
release before 1.0 wrote to, runs the convergent migrations again and
release before 0.1.15 wrote to, runs the convergent migrations again and
skips a recorded migration that is not convergent, with a line that names
it.

Expand Down Expand Up @@ -356,14 +356,15 @@ SQLite, PostgreSQL, Cassandra and MongoDB migrate through this framework.
cargo test -p extenddb-storage-sqlite --lib the_released_bodies -- --nocapture
cargo test -p extenddb-storage-postgres --lib the_released_bodies -- --nocapture
cargo test -p extenddb-storage-mongodb --lib the_released_bodies -- --nocapture
cargo test -p extenddb-storage-cassandra --lib the_released_bodies -- --nocapture
```

A released body does not change. If one has to, for example because a
dependency upgrade changes a code body's source, add a second `RELEASED`
entry for it with the new checksum and `rebless: Some("<reason>")`. A
code body keeps its fingerprint, and its golden test shows that its output
did not change. A later migration leaves migration 1's file and
`0001_baseline.expected.json` as they are: they define the v1.0 schema,
`0001_baseline.expected.json` as they are: they define migration 1's schema,
which the runner checks a store against the first time migration 1 runs on
it.

Expand Down Expand Up @@ -613,7 +614,7 @@ devtools/check-sqlite-older-binary ./target/release/extenddb \
each other, that the `migrate` preview and `verify` run beside a server,
that `verify` exits 3 on a catalog behind the binary, and that
`migrate --yes` refuses a missing database without creating it.
`check-sqlite-older-binary` runs the last 0.1.x dev image against catalogs
`check-sqlite-older-binary` runs the 0.1.14 dev image against catalogs
this binary migrated, and checks that the binary then reports
`WrittenByOlderRelease` and that `extenddb migrate --yes --reconverge`
restores `Current`; with `DEV_BIN` set to a `sqlite,dev-mode` build it also
Expand Down
28 changes: 14 additions & 14 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

28 changes: 14 additions & 14 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ members = [
]

[workspace.package]
version = "0.1.14"
version = "0.1.15"
edition = "2024"
rust-version = "1.91.1"
license = "Apache-2.0"
Expand All @@ -45,19 +45,19 @@ homepage = "https://extenddb.org/"
# pin that is not exact.
# Internal dev-dependencies are declared by path in each crate instead, with
# no version, so that cargo drops them from the published manifests.
extenddb-core = { path = "crates/core", version = "=0.1.14" }
extenddb-cache = { path = "crates/cache", version = "=0.1.14" }
extenddb-backup-store = { path = "crates/backup-store", version = "=0.1.14" }
extenddb-engine = { path = "crates/engine", version = "=0.1.14" }
extenddb-storage = { path = "crates/storage", version = "=0.1.14" }
extenddb-config = { path = "crates/config", version = "=0.1.14" }
extenddb-storage-cassandra = { path = "crates/storage-cassandra", version = "=0.1.14" }
extenddb-storage-mongodb = { path = "crates/storage-mongodb", version = "=0.1.14" }
extenddb-storage-postgres = { path = "crates/storage-postgres", version = "=0.1.14" }
extenddb-storage-sqlite = { path = "crates/storage-sqlite", version = "=0.1.14" }
extenddb-auth = { path = "crates/auth", version = "=0.1.14" }
extenddb-server = { path = "crates/server", version = "=0.1.14" }
extenddb-app = { path = "crates/app", version = "=0.1.14" }
extenddb-core = { path = "crates/core", version = "=0.1.15" }
extenddb-cache = { path = "crates/cache", version = "=0.1.15" }
extenddb-backup-store = { path = "crates/backup-store", version = "=0.1.15" }
extenddb-engine = { path = "crates/engine", version = "=0.1.15" }
extenddb-storage = { path = "crates/storage", version = "=0.1.15" }
extenddb-config = { path = "crates/config", version = "=0.1.15" }
extenddb-storage-cassandra = { path = "crates/storage-cassandra", version = "=0.1.15" }
extenddb-storage-mongodb = { path = "crates/storage-mongodb", version = "=0.1.15" }
extenddb-storage-postgres = { path = "crates/storage-postgres", version = "=0.1.15" }
extenddb-storage-sqlite = { path = "crates/storage-sqlite", version = "=0.1.15" }
extenddb-auth = { path = "crates/auth", version = "=0.1.15" }
extenddb-server = { path = "crates/server", version = "=0.1.15" }
extenddb-app = { path = "crates/app", version = "=0.1.15" }

# Serialization
serde = { version = "1", features = ["derive"] }
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ A backend moves up one tier in a minor release. Before that release, the maintai

| Backend | Tier | Topology | Data across upgrades | API coverage | CI | Known limits |
|---|---|---|---|---|---|---|
| PostgreSQL | Stable | PostgreSQL 14 or later, on the same host, on another host or as a managed service. | `extenddb migrate --yes` migrates the catalog in place. CI upgrades catalogs that 0.1.x releases created. | The operations in [Supported Operations](#supported-operations). Vector search needs the pgvector extension. | `integration`, required, on PostgreSQL 16 | Time to Live (TTL) removes about 100 expired items per table per minute. |
| PostgreSQL | Stable | PostgreSQL 14 or later, on the same host, on another host or as a managed service. | `extenddb migrate --yes` migrates the catalog in place. CI upgrades catalogs that 0.1.14 and earlier releases created. | The operations in [Supported Operations](#supported-operations). Vector search needs the pgvector extension. | `integration`, required, on PostgreSQL 16 | Time to Live (TTL) removes about 100 expired items per table per minute. |
| SQLite | Stable (single node) | SQLite runs in the server process. A lock file allows one server for each database file. There is no production image, so build from source. | As PostgreSQL. `migrate --yes` copies the database file before its first change. | The operations in Supported Operations. | `integration`, required | One write transaction at a time. TTL as PostgreSQL. |
| MongoDB | Beta | MongoDB 7.0 or later, as a replica set, also for one node. | As PostgreSQL. | No vector search. On a global secondary index (GSI) with more than one RANGE attribute, `Query` takes a key condition on the first one only. | `mongodb-integration`, required, on MongoDB 7 | A number in a key attribute has at most 34 significant digits. The database names are fixed, so one replica set holds one catalog. TTL as PostgreSQL. |
| Cassandra | Experimental | Cassandra 4.1 or later, with `PasswordAuthenticator`. Each table takes its writes in one datacenter. | `migrate --yes` migrates the catalog. No rollback procedure is tested. | No vector search. CreateBackup keeps each backup in the catalog, with or without a backup store. The `Query` limit of MongoDB on a GSI with more than one RANGE attribute. | `cassandra-integration`, required, on Cassandra 4.1 | Some management operations are not atomic. A few known race conditions are open. TTL removes about 1,000 expired items per table per minute. See [Known Limitations](docs/cassandra-setup.md#known-limitations). |
Expand Down Expand Up @@ -176,7 +176,7 @@ key_path = "/etc/extenddb/tls/key.pem"

The production images contain ExtendDB only. The storage backend runs as a separate service. See
[`docker/README.md`](docker/README.md) for the PostgreSQL image, [`docker/README-mongodb.md`](docker/README-mongodb.md) for the MongoDB image,
and [`docker/README-cassandra.md`](docker/README-cassandra.md) for the Cassandra image (published from 1.0): external database requirements,
and [`docker/README-cassandra.md`](docker/README-cassandra.md) for the Cassandra image (published from 0.1.15): external database requirements,
hardened local Compose stacks, smoke tests, and explicit init/migrate/serve production lifecycle. The SQLite
backend has no production container image; [`docs/dev-image.md`](docs/dev-image.md) covers the SQLite development image.

Expand Down
22 changes: 11 additions & 11 deletions SOFTWARE-LICENSE-NOTICES-CASSANDRA.html
Original file line number Diff line number Diff line change
Expand Up @@ -1956,17 +1956,17 @@ <h4>Used by:</h4>
<h3 id="Apache-2.0">Apache License 2.0</h3>
<h4>Used by:</h4>
<ul class="license-used-by">
<li><a href=" https://github.com/ExtendDB/extenddb ">extenddb-app 0.1.14</a></li>
<li><a href=" https://github.com/ExtendDB/extenddb ">extenddb-auth 0.1.14</a></li>
<li><a href=" https://github.com/ExtendDB/extenddb ">extenddb-backup-store 0.1.14</a></li>
<li><a href=" https://github.com/ExtendDB/extenddb ">extenddb 0.1.14</a></li>
<li><a href=" https://github.com/ExtendDB/extenddb ">extenddb-cache 0.1.14</a></li>
<li><a href=" https://github.com/ExtendDB/extenddb ">extenddb-config 0.1.14</a></li>
<li><a href=" https://github.com/ExtendDB/extenddb ">extenddb-core 0.1.14</a></li>
<li><a href=" https://github.com/ExtendDB/extenddb ">extenddb-engine 0.1.14</a></li>
<li><a href=" https://github.com/ExtendDB/extenddb ">extenddb-server 0.1.14</a></li>
<li><a href=" https://github.com/ExtendDB/extenddb ">extenddb-storage 0.1.14</a></li>
<li><a href=" https://github.com/ExtendDB/extenddb ">extenddb-storage-cassandra 0.1.14</a></li>
<li><a href=" https://github.com/ExtendDB/extenddb ">extenddb-app 0.1.15</a></li>
<li><a href=" https://github.com/ExtendDB/extenddb ">extenddb-auth 0.1.15</a></li>
<li><a href=" https://github.com/ExtendDB/extenddb ">extenddb-backup-store 0.1.15</a></li>
<li><a href=" https://github.com/ExtendDB/extenddb ">extenddb 0.1.15</a></li>
<li><a href=" https://github.com/ExtendDB/extenddb ">extenddb-cache 0.1.15</a></li>
<li><a href=" https://github.com/ExtendDB/extenddb ">extenddb-config 0.1.15</a></li>
<li><a href=" https://github.com/ExtendDB/extenddb ">extenddb-core 0.1.15</a></li>
<li><a href=" https://github.com/ExtendDB/extenddb ">extenddb-engine 0.1.15</a></li>
<li><a href=" https://github.com/ExtendDB/extenddb ">extenddb-server 0.1.15</a></li>
<li><a href=" https://github.com/ExtendDB/extenddb ">extenddb-storage 0.1.15</a></li>
<li><a href=" https://github.com/ExtendDB/extenddb ">extenddb-storage-cassandra 0.1.15</a></li>
</ul>
<pre class="license-text"> Apache License
Version 2.0, January 2004
Expand Down
22 changes: 11 additions & 11 deletions SOFTWARE-LICENSE-NOTICES-DEV.html
Original file line number Diff line number Diff line change
Expand Up @@ -1746,17 +1746,17 @@ <h4>Used by:</h4>
<h3 id="Apache-2.0">Apache License 2.0</h3>
<h4>Used by:</h4>
<ul class="license-used-by">
<li><a href=" https://github.com/ExtendDB/extenddb ">extenddb-app 0.1.14</a></li>
<li><a href=" https://github.com/ExtendDB/extenddb ">extenddb-auth 0.1.14</a></li>
<li><a href=" https://github.com/ExtendDB/extenddb ">extenddb-backup-store 0.1.14</a></li>
<li><a href=" https://github.com/ExtendDB/extenddb ">extenddb 0.1.14</a></li>
<li><a href=" https://github.com/ExtendDB/extenddb ">extenddb-cache 0.1.14</a></li>
<li><a href=" https://github.com/ExtendDB/extenddb ">extenddb-config 0.1.14</a></li>
<li><a href=" https://github.com/ExtendDB/extenddb ">extenddb-core 0.1.14</a></li>
<li><a href=" https://github.com/ExtendDB/extenddb ">extenddb-engine 0.1.14</a></li>
<li><a href=" https://github.com/ExtendDB/extenddb ">extenddb-server 0.1.14</a></li>
<li><a href=" https://github.com/ExtendDB/extenddb ">extenddb-storage 0.1.14</a></li>
<li><a href=" https://github.com/ExtendDB/extenddb ">extenddb-storage-sqlite 0.1.14</a></li>
<li><a href=" https://github.com/ExtendDB/extenddb ">extenddb-app 0.1.15</a></li>
<li><a href=" https://github.com/ExtendDB/extenddb ">extenddb-auth 0.1.15</a></li>
<li><a href=" https://github.com/ExtendDB/extenddb ">extenddb-backup-store 0.1.15</a></li>
<li><a href=" https://github.com/ExtendDB/extenddb ">extenddb 0.1.15</a></li>
<li><a href=" https://github.com/ExtendDB/extenddb ">extenddb-cache 0.1.15</a></li>
<li><a href=" https://github.com/ExtendDB/extenddb ">extenddb-config 0.1.15</a></li>
<li><a href=" https://github.com/ExtendDB/extenddb ">extenddb-core 0.1.15</a></li>
<li><a href=" https://github.com/ExtendDB/extenddb ">extenddb-engine 0.1.15</a></li>
<li><a href=" https://github.com/ExtendDB/extenddb ">extenddb-server 0.1.15</a></li>
<li><a href=" https://github.com/ExtendDB/extenddb ">extenddb-storage 0.1.15</a></li>
<li><a href=" https://github.com/ExtendDB/extenddb ">extenddb-storage-sqlite 0.1.15</a></li>
</ul>
<pre class="license-text"> Apache License
Version 2.0, January 2004
Expand Down
Loading
Loading