Skip to content

Latest commit

 

History

History

adr

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Architecture Decision Records

ADRs record decisions that have been made. They are short, immutable once accepted, and numbered sequentially.

When to write an ADR

Write an ADR when you make a decision that:

  • A future contributor would otherwise have to reverse-engineer from code
  • Has tradeoffs that should be visible (rejected options, constraints)
  • Affects more than one component or cuts across crates

ADRs are records, not proposals. If you are still soliciting input, write an RFC instead.

Process

  1. Copy 0000-template.md to NNNN-short-title.md, where NNNN is the next unused number.
  2. Fill in Context, Options Considered, Decision, Rationale, Consequences.
  3. Open a PR. Discussion happens inline.
  4. On merge, the ADR is Accepted. Subsequent decisions that override it should create a new ADR and update the original's Status to "Superseded by ADR-NNNN". A decision that a later design document replaces in part updates its Status to "Superseded in part by [document]", and that document states which parts.

ADRs are never edited after acceptance except to update Status. To change a decision, write a new ADR.

Index

# Title Status
0001 Documentation format — Markdown over LaTeX Accepted
0002 SQL injection defense Accepted
0003 Adopt sqlx::migrate for PostgreSQL catalog and data schema migrations Superseded by ADR-0023
0004 Vector search is an exact scan over one row per vector Accepted
0005 Index-build lifecycle stays in the backend until a second backend needs it Accepted
0006 Vector storage on PostgreSQL uses pgvector's type, and the engine decides what it cannot compute Accepted
0010 Cassandra: durable sharded expiration queue for TTL Accepted
0011 Cassandra: foreign key constraint emulation Accepted
0012 Cassandra: transaction and atomicity patterns for IAM catalog Accepted
0013 Cassandra: dynamic keyspace construction Accepted
0014 Cassandra: natural UPSERT semantics Accepted
0015 Cassandra: account keyspace provisioning timing Accepted
0016 Cassandra: index table primary-key structure Accepted
0017 Cassandra: TransactWriteItems / TransactGetItems implementation Accepted
0018 Cassandra: DynamoDB Streams implementation Accepted
0019 Cassandra: logical backup and restore Superseded in part by the backup and restore design (section 10)
0020 Cassandra: optimistic concurrency control for UpdateItem and PutItem Accepted
0021 Cassandra: LWT delete atomicity gap and required worker/saga pattern Accepted
0022 Role trust-policy evaluation follows IAM Deny-over-Allow order Accepted
0023 One list of catalog migrations for every backend, with a ledger in every store Accepted
0026 Credential cryptography uses AWS-LC through aws-lc-rs Accepted
0027 Cassandra: index rows carry the base-row version as their write timestamp Accepted
0029 The workspace crates go to crates.io together, at one version with exact pins Accepted

License

Copyright 2026 ExtendDB contributors. Licensed under the Apache License, Version 2.0. See LICENSE for the full text.

This software is provided "as is" without warranty of any kind. ExtendDB is an open source project maintained by AWS. It is not Amazon DynamoDB or an AWS service. "DynamoDB" is a trademark of Amazon.com, Inc. or its affiliates.