Skip to content

Make DocumentDB usable from package install with one-command setup #561

Closed

Description

@guanzhousongmicrosoft

Summary

When users install DocumentDB's two packages (PostgreSQL extension + gateway), they cannot use DocumentDB without performing 7 undocumented manual steps: configuring shared_preload_libraries, setting GUCs, restarting PostgreSQL, creating extensions, creating users via internal APIs, starting the gateway, and constructing the connection string.

This epic delivers a one-command setup experience that takes users from package install to working DocumentDB in a single documentdb-setup command.

Before vs After

Step Before After
Install packages apt install ext.deb gw.deb apt install ext.deb gw.deb
Initialize PG Manual initdb, port 9712, data dir documentdb-setup handles it
Configure PG Edit postgresql.conf with exact GUC names documentdb-setup handles it
Restart PG systemctl restart postgresql documentdb-setup handles it
Create extension CREATE EXTENSION documentdb CASCADE documentdb-setup handles it
Create user Internal documentdb_api.create_user(...) API --username / --password flags
Start gateway systemctl start documentdb-gateway documentdb-setup handles it
Connection string Construct manually Printed by documentdb-setup
Total steps 7 (each requiring undocumented knowledge) 1 command

User Experience (3 commands from zero to working)

# 1. Install packages
sudo apt install -y ./extension.deb ./gateway.deb

# 2. One-command setup
sudo documentdb-setup --username myuser --password MySecretPass123

# 3. Connect!
mongosh mongodb://myuser:MySecretPass123@localhost:10260/?tls=true&tlsAllowInvalidCertificates=true

Sub-Issues

Impact

  • Reduces time-to-first-query from ~30 minutes to ~2 minutes
  • Eliminates need for undocumented tribal knowledge to use DocumentDB from packages
  • Ensures behavioral parity between Docker and package installs (same GUCs, same extensions, same user model)
  • Enables community adoption -- users can try DocumentDB without cloning the repo or running Docker

Activity

  1. added
    enhancement
    gateway
    on Apr 7, 2026
  2. added this to the 0.111-0 milestone on Apr 7, 2026
  3. removed
    gateway
    on Apr 29, 2026
  4. xgerman commented on Apr 29, 2026

    @xgerman
    Contributor

    Maybe we cna run the init scripts right when the package is installed. @alaye-ms is there anyhtign you leanred from Fedora? Most of the things I install come with systemd support and start as a service and/or are configured during package install. Ad

  5. guanzhousongmicrosoft commented on May 1, 2026

    @guanzhousongmicrosoft
    MemberAuthor

    DocumentDB Packaging Design (Track 1)

    Status: Implementation specification. Track 1 only.
    Track 2 (gateway BYO refactor for cloud-PG over TCP/password) is deferred to a separate effort and is not in scope for this design. See §11 Deferred work for the explicit list of what's not in this release and why.

    Companion docs:


    Contents

    1. Scope and goals
    2. The promise (one line per package)
    3. Source-verified constraints
    4. Four packages
    5. User workflows in scope
    6. Behavior matrix
    7. Security posture
    8. Tool inventory
    9. Implementation tasks — the actionable specs
    10. Deferred work
    11. Cross-distro UX policy
    12. Footnotes

    1. Scope and goals

    In scope (Track 1, packages only):

    • Split the existing monolithic documentdb-gateway .deb into three packages: postgresql-N-documentdb (extension), documentdb-gateway (lean daemon), documentdb-local-N + documentdb-local meta (appliance).
    • Adopt systemd-native conventions (sysusers.d, tmpfiles.d, hardened service unit, documentdb.target for the appliance).
    • Refactor the gateway crate for env-var configuration, secret-file credentials, fixable TLS cert paths, and a --check subcommand.
    • Stand up a hosted apt/yum repository.
    • Document and ship the workflow the architecture genuinely supports.

    Explicitly out of scope (deferred):

    • Docker images. The existing documentdb-local image at ghcr.io/documentdb/documentdb/documentdb-local keeps being built by the existing CI; this design does not modify it. New images (lean gateway image, separate postgres-documentdb image, refactored documentdb-local) are deferred to a follow-on effort. The gateway code refactor in T1.1 is still the prerequisite for those when we decide to ship them.
    • True FerretDB-style remote/cloud PostgreSQL over TCP/password authentication. The gateway's three of four connection pools today open with hardcoded None password — fixing this is a separate effort ("Track 2") and out of scope.
    • Production two-container Docker compose. Same blocker as above.
    • Workflow A (cloud-PG) and Workflow E (production compose) from earlier design iterations.

    What "done" looks like for Track 1:

    • apt install documentdb-local works on Debian 12, Ubuntu 22.04/24.04, RHEL 9.
    • sudo documentdb-setup walks the operator through an interactive install (greenfield or brownfield) with backup-and-rollback discipline.
    • sudo systemctl enable --now documentdb.target brings up a working DocumentDB endpoint on port 10260.
    • apt purge documentdb-local cleanly reverts every change the appliance made.
    • The existing ghcr.io/.../documentdb-local:latest Docker image keeps building from existing CI without changes.

    2. The promise (one line per package)

    Package Promise
    postgresql-N-documentdb "I extend your PostgreSQL major N. I do not configure existing clusters; on Debian I auto-register with new ones via a per-major createcluster.d/N-documentdb.conf hook (no effect on other PG majors)."
    documentdb-tools "Operator helpers (documentdb-tune, future doctor commands). Optional. Not depended on by the extension or the gateway."
    documentdb-gateway "MongoDB wire-protocol daemon. I work against any local PG that allows passwordless connection (peer/trust auth) — typical for the appliance, also usable standalone. (Cloud-PG over TCP/password arrives in Track 2.)"
    documentdb-local-N "I make DocumentDB work on this machine. Greenfield or existing PG. I prompt before each invasive change. Co-installable with other PG majors via per-major paths."

    Note the honest framing for documentdb-gateway: in Track 1 it serves both the appliance (Workflow C) and a power-user "BYO local PG with peer auth" path (Workflow B). It does not yet support cloud or remote PG over TCP/password — that's Track 2. The package shape doesn't change between Track 1 and Track 2; the gateway just gains capability.

    documentdb-tools is a deliberate split from postgresql-N-documentdb (per the review): the pure extension package contains only the extension and the createcluster.d/ hook, matching what Citus / pgvector / pg_cron / TimescaleDB do. Operators who need documentdb-tune (for retrofitting existing clusters or for RHEL where the createcluster.d/ hook doesn't apply) install documentdb-tools explicitly.


    3. Source-verified constraints

    These are facts in the current code that the design must respect. Any task in §10 that touches one of these areas must satisfy or change the constraint.

    Constraint Source Implication
    TLS auto-gen writes ./pkey.pem and ./cert.pem (CWD-relative) tls.rs:57-58 — const DEFAULT_PRIVATE_KEY_PATH: &str = "./pkey.pem"; T1.1 must add a state_dir config knob and respect it. The systemd WorkingDirectory is doing hidden config work today.
    Cert generation shells out to the openssl CLI binary docdb_openssl.rs:74-114 T1.1 rewrites cert-gen to use the openssl Rust crate (already a dep). This removes a runtime dep on the openssl CLI binary and makes the gateway portable to minimal environments.
    Existing postrm purge inlines its cleanup documentdb_gateway/maintainer-scripts/postrm — comment: "intentionally inlined rather than calling a helper script under /usr/share/documentdb/scripts because that directory has already been removed by dpkg by the time postrm purge runs" All maintainer scripts in T1.6 must follow this rule.
    Gateway uses openssl = "0.10.78" Rust crate AND tokio-openssl Cargo.toml Distroless gateway image needs libssl.so.3, libcrypto.so.3, plus CA certs bundle. gcr.io/distroless/cc-debian12:nonroot provides these.
    Existing local setup uses peer auth + pg_ident map documentdb-setup.sh:1191-1257 The appliance keeps this model — Unix socket peer auth is what makes the gateway's empty-password data pool actually work.
    Existing gateway .deb is appliance-shaped, not lean Cargo.toml [package.metadata.deb] ships 18 assets including documentdb-setup, documentdb-postgresql.service T1.6 is the cleanup.
    Gateway data pool opens with empty password after SCRAM auth.rs:650 allocate_data_pool("") This is the Track 2 blocker for cloud-PG. Track 1 leaves this as-is; the appliance's Unix-socket peer auth makes it work for the local case.
    System pools (system_requests_pool, authentication_pool) hardcode password: None pool_manager.rs:447, 457 Same — Track 2 issue. Track 1 does not change.

    4. Four packages

    4.1 postgresql-N-documentdb (extension only)

    Files installed:

    /usr/lib/postgresql/N/lib/pg_documentdb_core.so
    /usr/lib/postgresql/N/lib/pg_documentdb.so
    /usr/lib/postgresql/N/lib/pg_documentdb_extended_rum.so       # PG 18+ optional
    /usr/share/postgresql/N/extension/documentdb_core{.control,--*.sql}
    /usr/share/postgresql/N/extension/documentdb{.control,--*.sql}
    /usr/share/postgresql/N/extension/documentdb_extended_rum{.control,--*.sql}
    
    /etc/postgresql-common/createcluster.d/N-documentdb.conf       # createcluster.d/ hook (Debian/Ubuntu, per-major)
    
    /usr/share/doc/postgresql-N-documentdb/{README.Debian,changelog.Debian.gz,copyright}
    /usr/share/doc/postgresql-N-documentdb/examples/postgresql.conf.snippet
    

    Note: documentdb-tune is NOT in this package — it ships in documentdb-tools (§4.5). Pure extension package only contains the extension and the createcluster.d/ hook, matching what Citus / pgvector / pg_cron / TimescaleDB do.

    The createcluster.d/ hook (Debian/Ubuntu, per-major)

    This is the canonical Debian PG-extension-with-preload-need pattern, used by Patroni and others. Per-major: each postgresql-N-documentdb ships its own hook file scoped to its PG major, so installing postgresql-15-documentdb only affects new PG-15 clusters, never PG-17 clusters. This avoids the footgun where an operator with postgresql-17-documentdb installed creates a PG-15 cluster and ends up with shared_preload_libraries = 'pg_documentdb' referencing an .so that doesn't exist for that major.

    The file is shipped as a Debian conffile so dpkg respects operator edits:

    # /etc/postgresql-common/createcluster.d/N-documentdb.conf
    # Shipped by postgresql-N-documentdb. Scoped to PG major N only.
    # Read by pg_createcluster when initializing a new PostgreSQL cluster of this major.
    # Existing clusters are NOT affected — operator must run documentdb-tune (or
    # edit postgresql.conf manually) to retrofit them.
    pg_version = N
    shared_preload_libraries = 'pg_cron,pg_documentdb_core,pg_documentdb'
    cron.database_name = 'postgres'
    

    The pg_version = N selector means pg_createcluster only applies this block when creating a cluster of matching major. (T1.13 must verify the exact directive name postgresql-common accepts; if pg_version = is not honored we fall back to per-major filename matching, which postgresql-common does support.)

    Behavior split:

    • Existing clusters at install time: untouched. Operator can use documentdb-tune (from documentdb-tools) to retrofit, or hand-edit, or ignore.
    • Clusters created via pg_createcluster N <name> after install: automatically get this block in their postgresql.conf, but only if a matching postgresql-N-documentdb is installed for that major. No documentdb-tune step needed.
    • Multi-major coexistence: if postgresql-15-documentdb and postgresql-17-documentdb are both installed, two hook files exist (15-documentdb.conf, 17-documentdb.conf); each scopes to its own major and they don't interfere.
    • apt purge postgresql-N-documentdb: removes that one conffile; the other major's hook is unaffected.

    RHEL/Fedora doesn't have postgresql-common — there is no createcluster.d/ equivalent. RHEL users always need documentdb-tools and documentdb-tune (or hand-edits) for both new clusters and retrofits. The asymmetry is in the platforms, not in the design — see §7 for how the design handles cross-distro UX.

    Control file:

    Package: postgresql-N-documentdb
    Architecture: any
    Depends:
      ${shlibs:Depends}, ${misc:Depends},
      postgresql-N,
      postgresql-N-cron,
      postgresql-N-pgvector,
      postgresql-N-postgis-3,
      postgresql-N-rum [linux-any] | postgresql-N (>= 18~),
      postgresql-common [linux-any]
    Recommends: postgresql-contrib-N
    Suggests: documentdb-tools, documentdb-local
    Description: MongoDB-compatible document store extension for PostgreSQL N
    

    Maintainer scripts:

    postinst (Debian):

    #!/bin/sh
    set -e
    case "$1" in
      configure)
        if [ -z "$2" ]; then
          cat <<'EOF'
      postgresql-N-documentdb installed.
    
      New PostgreSQL N clusters created via pg_createcluster will automatically
      preload the extension (see /etc/postgresql-common/createcluster.d/N-documentdb.conf).
      Other PG majors are unaffected.
    
      For an ALREADY-RUNNING cluster, you must opt in:
        1. Either edit postgresql.conf to add to shared_preload_libraries:
             shared_preload_libraries = 'pg_cron,pg_documentdb_core,pg_documentdb'
           Or:  sudo apt install documentdb-tools
                sudo documentdb-tune --pg-version N --cluster main --yes
        2. sudo systemctl restart postgresql@N-main
        3. sudo -u postgres psql -c 'CREATE EXTENSION documentdb CASCADE;'
    
      For a one-step install of the full appliance: sudo apt install documentdb-local
    EOF
        else
          cat <<EOF
      postgresql-N-documentdb upgraded from \$2.
      Apply the upgrade:  sudo -u postgres psql -d <db> -c 'ALTER EXTENSION documentdb_core UPDATE; ALTER EXTENSION documentdb UPDATE;'
    EOF
        fi
        ;;
    esac

    %post (RPM, RHEL/Fedora) — purely informational, no actions:

    %post
    if [ "$1" = 1 ]; then
      cat <<'EOF'
      postgresql%{pg_version}-documentdb installed.
    
      RHEL/Fedora's postgresql-server has no createcluster.d/ equivalent, so
      the extension is NOT auto-preloaded. To enable it on a local cluster:
        1. sudo yum install documentdb-tools
        2. sudo documentdb-tune --pg-version %{pg_version} --cluster main --yes
        3. sudo systemctl restart postgresql-%{pg_version}
        4. sudo -u postgres psql -c 'CREATE EXTENSION documentdb CASCADE;'
    
      For a one-step install of the full appliance: sudo yum install documentdb-local
    EOF
    fi

    The RPM %post is non-interactive (echo only). For the appliance package's RPM, post-transaction work that depends on other RPMs in the same dnf install (e.g., the gateway cert directory) goes in %posttrans — RHEL's RPM mechanism for "after the entire transaction completes." See T1.6 R6.

    postrm (Debian) and %postun (RPM): no-op (the conffile/file is removed by the package manager). The user owns the DROP EXTENSION lifecycle.

    This package never modifies existing clusters. It drops files (including the createcluster.d/ template on Debian) and prints next steps. PGDG-policy compliant — the createcluster.d/ hook is the documented, mainstream Debian mechanism for exactly this kind of "auto-register with new clusters" need; on RHEL where no such hook exists, the package is even more conservative and only prints guidance.

    4.2 documentdb-gateway (lean daemon)

    Files installed:

    /usr/bin/documentdb-gateway                            # binary: daemon + admin subcommands
    
    /etc/documentdb/gateway/gateway.env                    # Debian conffile (env template)
    /etc/documentdb/gateway/SetupConfiguration.json        # Debian conffile (JSON template, optional)
    
    /lib/systemd/system/documentdb-gateway.service
    /usr/lib/sysusers.d/documentdb-gateway.conf
    /usr/lib/tmpfiles.d/documentdb-gateway.conf
    
    /usr/share/doc/documentdb-gateway/{README.Debian,changelog.Debian.gz,copyright}
    /usr/share/doc/documentdb-gateway/examples/connect.md
    /usr/share/doc/documentdb-gateway/examples/postgres-url.example
    

    Control file:

    Package: documentdb-gateway
    Architecture: any
    Depends: ${shlibs:Depends}, ${misc:Depends}, adduser
    Suggests: postgresql-N-documentdb, documentdb-local
    Description: MongoDB wire-protocol gateway for PostgreSQL with documentdb extension
     .
     The gateway translates MongoDB wire protocol into SQL against a PostgreSQL
     instance with the documentdb extension installed. In this release, the
     gateway is intended to run as part of the documentdb-local appliance.
     Standalone use against arbitrary remote PostgreSQL backends is planned
     for a future release.
    

    Suggests:, not Recommends:. apt would install Recommends: by default, silently pulling a local extension for users who don't want one.

    Subcommand structure (one binary):

    documentdb-gateway run                          # daemon mode (default)
    documentdb-gateway --check                      # connectivity probe (post-install smoke test)
    documentdb-gateway --version
    
    # One-shot setup against an existing PG cluster (Workflow B)
    documentdb-gateway setup --target-cluster N/NAME [--admin-user U --password-file F]
                             [--yes | --dry-run | --restore]
    
    # Day-2 user management
    documentdb-gateway admin create-user    --pg-url-file FILE --username U --password-file FILE [--role R]...
    documentdb-gateway admin drop-user      --pg-url-file FILE --username U
    documentdb-gateway admin list-users     --pg-url-file FILE
    documentdb-gateway admin reset-password --pg-url-file FILE --username U --password-file FILE
    documentdb-gateway admin check          --pg-url-file FILE
    

    sysusers.d (/usr/lib/sysusers.d/documentdb-gateway.conf):

    u documentdb-gateway - "DocumentDB Gateway" /var/lib/documentdb-gateway /usr/sbin/nologin
    g documentdb-gateway -
    

    tmpfiles.d (/usr/lib/tmpfiles.d/documentdb-gateway.conf):

    d /var/lib/documentdb-gateway 0750 documentdb-gateway documentdb-gateway -
    d /run/documentdb-gateway     0750 documentdb-gateway documentdb-gateway -
    

    Hardened systemd unit (/lib/systemd/system/documentdb-gateway.service):

    [Unit]
    Description=DocumentDB Gateway
    Documentation=https://documentdb.io/docs https://github.com/documentdb/documentdb
    Wants=network-online.target
    After=network-online.target
    
    [Service]
    Type=simple
    User=documentdb-gateway
    Group=documentdb-gateway
    WorkingDirectory=/var/lib/documentdb-gateway
    EnvironmentFile=-/etc/documentdb/gateway/gateway.env
    ExecStart=/usr/bin/documentdb-gateway
    ExecReload=/bin/kill -HUP $MAINPID
    Restart=on-failure
    RestartSec=5
    TimeoutStopSec=30
    
    # Sandboxing
    NoNewPrivileges=true
    PrivateTmp=true
    PrivateDevices=true
    ProtectSystem=strict
    ProtectHome=true
    ReadWritePaths=/var/lib/documentdb-gateway /run/documentdb-gateway
    ProtectKernelTunables=true
    ProtectKernelModules=true
    ProtectKernelLogs=true
    ProtectControlGroups=true
    RestrictAddressFamilies=AF_INET AF_INET6 AF_UNIX
    RestrictNamespaces=true
    LockPersonality=true
    MemoryDenyWriteExecute=true
    RestrictRealtime=true
    SystemCallArchitectures=native
    SystemCallFilter=@system-service
    SystemCallFilter=~@privileged @resources
    UMask=0077
    LimitNOFILE=65536
    
    [Install]
    WantedBy=multi-user.target

    Configuration env file (/etc/documentdb/gateway/gateway.env):

    # REQUIRED — choose ONE of these patterns.
    # Pattern 1 (preferred): secret file containing the connection URL.
    #   File MUST be mode 0640, owner root:documentdb-gateway.
    DOCUMENTDB_PG_URL_FILE=/etc/documentdb/gateway/postgres-url
    
    # Pattern 2: connection URL (no password) + separate password file.
    # DOCUMENTDB_PG_URL=postgres://[email protected]:5432/postgres
    # DOCUMENTDB_PG_PASSWORD_FILE=/etc/documentdb/gateway/postgres-password
    
    # REJECTED: DOCUMENTDB_PG_URL=postgres://user:password@host/db
    #   Gateway exits 1 if a password is detected in an env-var URL.
    #   (Passwords in env vars leak to /proc/<pid>/environ and crash dumps.)
    
    # OPTIONAL.
    # DOCUMENTDB_LISTEN_ADDR=:27017
    # DOCUMENTDB_TLS_CERT_FILE=/etc/documentdb/gateway/tls.crt
    # DOCUMENTDB_TLS_KEY_FILE=/etc/documentdb/gateway/tls.key
    # DOCUMENTDB_TLS_AUTO_GENERATE=true
    # DOCUMENTDB_STATE_DIR=/var/lib/documentdb-gateway
    # DOCUMENTDB_LOG_LEVEL=info
    # DOCUMENTDB_LOG_FORMAT=json
    # DOCUMENTDB_STRICT_VERSION_CHECK=true

    Maintainer scripts: postinst invokes systemd-sysusers and systemd-tmpfiles --create eagerly (so directories exist immediately, not at next boot), with a fallback to adduser/install -d for systemd-pre-238 systems. Does not start the service. Prints next steps. postrm inline cleanup (no external script dependencies) per the existing pattern.

    4.3 documentdb-local-N (appliance, per PG major) + documentdb-local (meta)

    Naming:

    documentdb-local-15
    documentdb-local-16
    documentdb-local-17        # current default
    documentdb-local-18
    documentdb-local           # meta package, depends on documentdb-local-17
    

    Co-installable across majors. Per the review, the appliance follows PGDG's pattern: documentdb-local-15 and documentdb-local-17 can be installed side-by-side, just like postgresql-15 and postgresql-17. No Conflicts: between major-N variants. Operators staging major upgrades can run both appliances in parallel during the migration window.

    The meta package documentdb-local is just a pointer to the default major (depends on documentdb-local-17 today). To switch the default later: sudo documentdb-local switch-default 18 (writes a small alternatives-style symlink the meta package's postinst respects on next upgrade).

    Files (templated by PG major):

    /usr/bin/documentdb-setup                                          # version-aware: detects which majors are installed
    /usr/bin/documentdb-local                                          # CLI dispatcher: 'switch-default', etc.
    /usr/bin/documentdb-local-reset                                    # destructive wipe (--yes-i-am-sure --pg-version N)
    
    /lib/systemd/system/[email protected]                       # templated; instance = PG major
    /lib/systemd/system/[email protected]                  # templated; instance = PG major
    /lib/systemd/system/[email protected]/target.conf
    /lib/systemd/system/[email protected]              # templated; gateway-instance per major
    /lib/systemd/system/[email protected]/local.conf
    
    /usr/lib/sysusers.d/documentdb-local.conf
    /usr/lib/tmpfiles.d/documentdb-local-N.conf                        # one per major (per-major dirs)
    
    /etc/documentdb/local/N/setup.conf                                  # per-major remembered config
    /var/lib/documentdb-local/N/managed-blocks.json                     # per-major state file
                                                                        # (under /var/lib, not /etc;
                                                                        #  prevents dpkg conffile handling)
    
    /usr/share/documentdb-local/scripts/documentdb_postgresql_service.sh
    /usr/share/documentdb-local/sample-data/{01..04}-*.js
    /usr/share/documentdb-local/sample-data/README.md
    
    /usr/share/doc/documentdb-local-N/{README.Debian,changelog.Debian.gz,copyright}
    

    Owned paths (per-major):

    /var/lib/documentdb-local/N/data         PG data dir for major N (initdb here)
    /var/lib/documentdb-local/N/gateway      gateway working dir (TLS state) for major N
    /var/lib/documentdb-local/N/backups      timestamped config backups for --restore
    /run/documentdb-local/N/postgresql       Unix socket directory for major N
    /var/log/documentdb-local/N              logs for major N
    

    The single OS user documentdb-local is shared across majors (it's the cluster owner). The gateway OS user documentdb-gateway is also shared (it's created by the gateway package). Per-major isolation is in the data/state/socket paths and the systemd template instances, not in OS users.

    Depends: postgresql-N, postgresql-N-documentdb (>= ${binary:Version}), documentdb-gateway (= ${binary:Version}), jq.

    Suggests: documentdb-tools (for retrofit operations against the cluster after the appliance is installed).

    Two OS users: documentdb-local owns the PG cluster (initdb's --username=documentdb-local), documentdb-gateway runs the gateway. A narrow pg_ident.conf map allows the gateway to assume only the DB roles it needs:

    # pg_ident.conf entries written by documentdb-gateway setup (and the appliance's
    # documentdb-setup, which delegates to it)
    
    # 1st column = map name; 2nd column = OS user that PG sees via peer auth;
    # 3rd column = PG role the OS user is allowed to connect as.
    # A leading '+' means "any role that is a member of this group" (Postgres docs:
    # https://www.postgresql.org/docs/current/auth-username-maps.html).
    
    documentdb-gateway-map  documentdb-gateway  documentdb-gateway      # the role created by 'documentdb-gateway setup' (matches the OS user name)
    documentdb-gateway-map  documentdb-gateway  +documentdb_admin_role  # any role in the admin group (created by CREATE EXTENSION)
    documentdb-gateway-map  documentdb-gateway  +documentdb_readwrite_role
    documentdb-gateway-map  documentdb-gateway  +documentdb_readonly_role
    

    The map name documentdb-gateway-map matches what documentdb-gateway setup writes (T1.3 R10.4-R10.5). The PG role documentdb-gateway (line 1) is created by documentdb-gateway setup, not by the extension — see T1.3 R10.3.

    Default ports for the appliance: PG (auto-allocated per major: 9712 for the first major installed, 9713 for the next, etc.), gateway 10260 (single endpoint regardless of how many majors are installed; the meta package's default-major selection determines which underlying gateway answers). Both overridable via documentdb-setup flags.

    Systemd templated units — instance = PG major. This is the per-major isolation:

    # /lib/systemd/system/[email protected]
    [Unit]
    Description=DocumentDB Appliance for PostgreSQL %i
    Documentation=https://documentdb.io/docs
    Requires=documentdb-postgresql@%i.service documentdb-gateway-local@%i.service
    After=documentdb-postgresql@%i.service
    
    [Install]
    WantedBy=multi-user.target
    # /lib/systemd/system/[email protected]/local.conf
    [Unit]
    After=documentdb-postgresql@%i.service
    Requires=documentdb-postgresql@%i.service
    PartOf=documentdb-local@%i.target
    
    [Service]
    EnvironmentFile=/etc/documentdb-local/%i/gateway-env
    # /lib/systemd/system/[email protected]/target.conf
    [Unit]
    PartOf=documentdb-local@%i.target

    PartOf= makes both services stop together when the target stops, restart together when the target restarts. The operator controls a specific major's appliance with one verb:

    sudo systemctl enable --now [email protected]    # start the PG-17 appliance
    sudo systemctl status [email protected]          # see both services for major 17
    sudo systemctl restart [email protected]         # ordered restart
    sudo systemctl stop [email protected]            # stop both

    For the meta package's "default major," there's a top-level documentdb-local.target symlink (via systemd alias) pointing at the configured default — so systemctl enable --now documentdb-local.target Just Works for the common single-major case.

    documentdb-setup (prompt-driven, handles greenfield AND brownfield):

    documentdb-setup [OPTIONS]                         # default: interactive setup
    
    Other modes:
      --update                ALTER EXTENSION UPDATE on the active cluster
      --restore               Strip all managed blocks (rollback)
      --print-config          Print the postgresql.conf snippet, exit 0
      --status                Show what's installed and active
      --uninstall             Stop services, drop ext, strip managed blocks (preserves data)
    
    Targeting (default: auto-detect):
      --use-private-cluster        Force greenfield: initdb our own cluster
      --target-cluster NAME        Use specific Debian/RHEL cluster (skips detection)
      --pgdata DIR                 Override data dir for greenfield mode
      --pg-port N                  Override PG port (default: 9712)
    
    Bootstrap:
      --listen-port N              Gateway port (default: 10260)
      --admin-user NAME
      --admin-password-file FILE
      --tls-cert-file FILE
      --tls-key-file FILE
    
    Behavior:
      --yes                   Non-interactive (CI / unattended)
      --quiet                 Suppress progress output
      --dry-run               Show every change; write nothing
    

    The default flow: detect installed PG clusters; offer the operator a choice (use existing cluster X, or initialize a new private cluster); for each subsequent invasive step (write postgresql.conf managed block, write pg_hba.conf, write pg_ident.conf, restart PG, run CREATE EXTENSION, create first user), prompt with description and offer [y/N/dry-run]; always backup to /var/lib/documentdb-local/backups/<timestamp>/ first; record what was written to managed-blocks.json for --restore and for postrm purge.

    Safety properties:

    • Always write a timestamped backup before any file change.
    • Refuse to mutate any config file containing foreign managed-block markers (markers from another tool we don't recognize). Print conflict, exit non-zero.
    • Warn loudly when the operator is targeting a postgres-owned cluster (vs. an empty cluster we'd init ourselves), explain the implications, require confirmation. Don't refuse — the user installed documentdb-local, that's the consent.
    • --restore strips every managed block ever written (across all clusters touched, recorded in managed-blocks.json).
    • apt purge documentdb-local-N invokes the same restore via inline shell in postrm (consistent with the existing pattern that postrm purge cannot depend on package files which may already be removed).

    4.4 documentdb-tools (operator helpers, optional)

    Purpose: ship documentdb-tune and any future operator helpers (e.g., a documentdb-doctor diagnostic command) that need to mutate cluster state. Kept out of postgresql-N-documentdb per the review so the pure extension package stays Citus/pgvector-shaped.

    Files installed:

    /usr/bin/documentdb-tune                                       # postgresql.conf snippet helper
    
    /usr/share/doc/documentdb-tools/{README.Debian,changelog.Debian.gz,copyright}
    /usr/share/doc/documentdb-tools/examples/postgresql.conf.snippet  # canonical snippet, version-pinned
    

    Control file:

    Package: documentdb-tools
    Architecture: any
    Depends: ${shlibs:Depends}, ${misc:Depends}, postgresql-common
    Suggests: postgresql-15-documentdb | postgresql-16-documentdb |
              postgresql-17-documentdb | postgresql-18-documentdb
    Description: Operator tooling for DocumentDB on PostgreSQL
     .
     Ships documentdb-tune, a helper that applies the recommended postgresql.conf
     snippet to an existing PostgreSQL cluster (with backup, dry-run, and restore).
     .
     Required only for retrofitting existing clusters or for use on RHEL where
     the createcluster.d/ hook from postgresql-N-documentdb does not apply.
     New PostgreSQL clusters created via pg_createcluster on Debian/Ubuntu
     automatically pick up the extension's preload settings without this tool.
    

    Suggests: (not Depends: or Recommends:) on the extension packages — documentdb-tools is operator scaffolding, useful even before the extension is installed (e.g., previewing the snippet via --print).

    Maintainer scripts: none for postinst/postrm. The package only installs files. Pure operator tool.

    Why a separate package? Per review finding #3: putting a config-mutating CLI in the pure extension package weakens its PGDG-clean shape. None of Citus / pgvector / pg_cron / TimescaleDB ship config-editing tooling in their extension packages. The bar for upstream-Debian acceptance of the extension package is "the extension package contains only the extension." documentdb-tools is the explicit opt-in for operators who want the tooling.

    The documentdb-local-N appliance package Suggests: documentdb-tools so operators can retrofit additional clusters they bring online later.


    5. User workflows in scope

    Three install paths corresponding to the three end-user packages (postgresql-N-documentdb, documentdb-gateway, documentdb-local-N). The fourth package, documentdb-tools, is operator scaffolding referenced from workflows that need to retrofit existing clusters or run on RHEL. Each workflow is honestly described — the Track 2 limitations (no TCP/password backend) constrain Workflow B but do not block it.

    On Debian/Ubuntu, the createcluster.d/ hook in postgresql-N-documentdb (§4.1) handles the SPL setup automatically for clusters created via pg_createcluster after the extension package is installed. This simplifies Workflows A and B in the common "I'm setting up a fresh cluster" case — no documentdb-tune step needed. For existing already-running clusters, or for RHEL where the hook doesn't exist, install documentdb-tools and use documentdb-tune as documented in each workflow.

    Conventions used in the examples below

    Default port: 10260. All three workflows use port 10260 for the MongoDB endpoint to avoid colliding with a real MongoDB instance on the same host. Override with DOCUMENTDB_LISTEN_ADDR=:27017 if you want the standard MongoDB port.

    Password-file pattern. All three workflows pass admin passwords via --admin-password-file, never on the command line. Prepare a password file once, then reference it in each command:

    # One-time: prepare the admin password file (interactive entry, no shell-history leak)
    read -s -p "DocumentDB admin password: " PWFILE_CONTENT
    PWFILE=$(mktemp) && chmod 600 "$PWFILE" && printf '%s' "$PWFILE_CONTENT" > "$PWFILE"
    unset PWFILE_CONTENT
    # After install: rm -f "$PWFILE"

    The examples below assume $PWFILE contains the admin password and is mode 0600.

    TLS in the connect string. tlsAllowInvalidCertificates=true is correct for the gateway's auto-generated self-signed cert. For production, supply your own cert via DOCUMENTDB_TLS_CERT_FILE/DOCUMENTDB_TLS_KEY_FILE and drop the tlsAllowInvalidCertificates flag from your client.


    Workflow A — Install the extension into a managed PG cluster

    Primary intent: install the documentdb extension into a PostgreSQL cluster you manage. This is the install path for users whose primary interest is the extension itself — for example, ops/migration tooling, or as preparation for layering the gateway on top in Workflow B. The same install steps happen inside Workflow C; the appliance just bundles them.

    Filling a doc gap. The extension .deb/.rpm is already shipped today (built by oss/.github/workflows/build_deb_packages.yml, attached to GitHub Releases) but the OSS project has no install documentation for it — the only existing pages cover building the packages, not using them. This workflow is what we tell users to do after they apt install postgresql-17-documentdb.

    Precondition: PostgreSQL 17 is already installed via the PGDG apt repo or your distro's PG package set.

    What the package does on install: drops .so/.sql/.control files. Does not modify postgresql.conf, restart PG, or run CREATE EXTENSION. The postinst (T1.6) prints next-steps guidance for fresh installs and an ALTER EXTENSION UPDATE reminder on upgrades.

    The next steps the operator runs:

    # (1) Install the package
    sudo apt install postgresql-17-documentdb
    
    # (2) Apply the recommended postgresql.conf snippet (skip on Debian/Ubuntu if you'll
    #     create the cluster AFTER this install — the createcluster.d/ hook handles it).
    #     For an existing already-running cluster, OR on RHEL:
    sudo apt install documentdb-tools                                   # ships documentdb-tune
    sudo documentdb-tune --pg-version 17 --cluster main --dry-run       # preview
    sudo documentdb-tune --pg-version 17 --cluster main --yes
    sudo systemctl restart postgresql@17-main
    
    # (3) Create the extension in your target database
    sudo -u postgres psql -d mydb -c 'CREATE EXTENSION documentdb CASCADE;'
    
    # (4) Verify
    sudo -u postgres psql -d mydb -c '\dx documentdb*'
    # Should list: documentdb, documentdb_core, plus dependencies (pg_cron, pgvector, postgis, ...)

    Even simpler on Debian/Ubuntu when starting from scratch:

    sudo apt install postgresql-17-documentdb
    sudo pg_createcluster 17 main --start                              # createcluster.d/ hook activates
    sudo -u postgres psql -d mydb -c 'CREATE EXTENSION documentdb CASCADE;'

    Three commands, no documentdb-tools needed, because the /etc/postgresql-common/createcluster.d/documentdb.conf shipped by the extension package adds shared_preload_libraries to the new cluster automatically.

    After step (4) the extension is installed and verified. At this point you have three options:

    • Stop here — you have the extension's SQL surface available for ops/migration scripts. See "Using the extension via SQL" below.
    • Add a MongoDB-protocol gateway — continue with Workflow B. The extension install above is the prerequisite; the gateway-side setup picks up where you left off.
    • Switch to the appliance — apt install documentdb-local && sudo documentdb-setup will detect your existing cluster (with the extension already loaded) and offer to use it; the wizard is brownfield-aware. No need to undo Workflow A first.

    Using the extension via SQL (advanced)

    The extension's function surface is shaped primarily for the wire-protocol gateway. For application use, prefer Workflow B (which gives you MongoDB drivers). Direct SQL access is intended for operational tasks: data inspection, migration scripts, custom integrations.

    For a non-superuser application account, grant role membership first:

    GRANT documentdb_readwrite_role TO myappuser;
    GRANT USAGE ON SCHEMA documentdb_api TO myappuser;

    Then call the SQL primitives directly:

    -- Create a collection
    SELECT documentdb_api.create_collection('mydb', 'people');
    
    -- Insert one document (simple, recommended for direct SQL use)
    SELECT documentdb_api.insert_one('mydb', 'people',
                                      '{"name":"alice","age":30}');
    
    -- Query the collection (planner rewrites this to a direct table scan)
    SELECT document
      FROM documentdb_api.collection('mydb', 'people');
    
    -- Insert multiple documents via the wire-protocol-shaped command
    SELECT * FROM documentdb_api.insert(
        'mydb',
        '{"insert":"people","documents":[{"name":"bob"},{"name":"carol"}]}'::documentdb_core.bson);

    Verified function signatures (Track 1 source):

    • documentdb_api.create_collection(db_name TEXT, coll_name TEXT) RETURNS bool — pg_documentdb/sql/udfs/schema_mgmt/create_collection--latest.sql
    • documentdb_api.insert_one(db TEXT, coll TEXT, doc BSON, transaction_id TEXT DEFAULT NULL) — used throughout pg_documentdb/src/test/regress/sql/
    • documentdb_api.collection(db TEXT, coll TEXT) RETURNS SETOF (shard_key_value, object_id, document) — pg_documentdb/sql/udfs/metadata/collection--0.111-0.sql. Comment says: "the planner hook replaces this function directly with the table."
    • documentdb_api.insert(db TEXT, command_bson BSON, ...) — wire-protocol-shaped, takes the full Mongo command document.

    What you get: BSON storage, document indexing, the full documentdb SQL function surface — all callable from any PostgreSQL client.

    What you don't get: the MongoDB wire protocol. MongoDB drivers cannot talk to this; they need a gateway (Workflow B or C).


    Workflow B — Extension + standalone gateway (BYO local PG with peer/trust auth)

    When to use: A power user with a local PostgreSQL who wants the MongoDB wire protocol on top of it, without the appliance taking ownership of the cluster lifecycle.

    Precondition: PostgreSQL 17 is already installed via the PGDG apt repo or your distro's PG package set.

    Limitation: The gateway's connection pools open without a password in this release (Track 2 blocker). This means PostgreSQL must allow passwordless connections for the gateway's OS user — typically via Unix-socket peer auth. Cloud-managed PostgreSQL services that require password authentication are not supported in this release.

    # (1) Install both packages
    sudo apt install postgresql-17-documentdb documentdb-gateway
    
    # (2) Apply postgresql.conf settings (skip on Debian/Ubuntu when the cluster is
    #     created AFTER the extension package — the createcluster.d/ hook handles it).
    #     For an existing already-running cluster, OR on RHEL:
    sudo apt install documentdb-tools                                   # ships documentdb-tune
    sudo documentdb-tune --pg-version 17 --cluster main --yes
    sudo systemctl restart postgresql@17-main
    sudo -u postgres psql -c 'CREATE EXTENSION documentdb CASCADE;'
    
    # (3) One-shot gateway-side setup against the local cluster.
    # Auto-detects when there is exactly one PG cluster on the host (typical case).
    sudo documentdb-gateway setup --admin-user admin --admin-password-file "$PWFILE" --yes
    
    # When you have multiple PG clusters, name the target explicitly:
    #   sudo documentdb-gateway setup --target-cluster 17/main \
    #       --admin-user admin --admin-password-file "$PWFILE" --yes
    
    # (4) Validate the configured connection before starting the service
    sudo -u documentdb-gateway documentdb-gateway --check
    
    # (5) Start
    sudo systemctl enable --now documentdb-gateway
    
    # (6) Connect — the --eval round-trips a ping to prove it works
    mongosh 'mongodb://[email protected]:10260/?tls=true&tlsAllowInvalidCertificates=true' \
            --password "$(cat "$PWFILE")" \
            --eval 'db.runCommand({ping: 1})'

    documentdb-gateway setup is a one-shot command that, against the targeted existing cluster:

    • Creates a PG role matching the gateway's OS user (or reuses if present).
    • Writes a managed block to pg_hba.conf (peer auth with named ident map).
    • Writes a managed block to pg_ident.conf mapping the gateway OS user to the documentdb role groups.
    • Reloads PostgreSQL.
    • Writes the gateway URL secret file (/etc/documentdb/gateway/postgres-url, mode 0640, owner root:documentdb-gateway).
    • Creates the first MongoDB admin user via the same documentdb-gateway admin create-user flow.
    • Records every change in /var/lib/documentdb-gateway/managed-blocks.json so documentdb-gateway setup --restore can fully reverse it (and so does apt purge documentdb-gateway).

    Without --yes, the command is interactive: it shows what it will change and prompts before each invasive step. --dry-run previews all changes without writing.

    The cluster's postgresql.conf is not modified by documentdb-gateway setup — that's documentdb-tune's job (§4.1). The two tools compose: documentdb-tune handles postgresql.conf, documentdb-gateway setup handles pg_hba.conf/pg_ident.conf + role + gateway URL + admin user. Both write reversible managed blocks. Both can be --restored.

    What you get: the MongoDB wire protocol, full SCRAM authentication, all the same gateway capabilities the appliance provides.

    What you don't get: ability to point the gateway at a remote PostgreSQL or one that requires password authentication (Track 2 unlocks that), or appliance-managed cluster lifecycle (use Workflow C if you want that).


    Workflow C — Full appliance (apt install documentdb-local)

    When to use: Anyone who wants apt install → working DocumentDB in a few commands, on a machine they're willing to let the appliance manage. Greenfield (the appliance initdb's its own private cluster) or brownfield (operator points the appliance at an existing cluster, with consent prompts before each invasive change).

    # (1) Install the appliance meta package (pulls in extension + gateway)
    sudo apt install documentdb-local
    
    # (2) Run the setup wizard
    sudo documentdb-setup --admin-user admin --admin-password-file "$PWFILE"
    
    # (3) Start the appliance (PG + gateway as one unit via the systemd target)
    sudo systemctl enable --now documentdb.target
    sudo systemctl status  documentdb.target    # quick sanity: both services active
    
    # (4) Connect — the --eval round-trips a ping to prove it works
    mongosh 'mongodb://[email protected]:10260/?tls=true&tlsAllowInvalidCertificates=true' \
            --password "$(cat "$PWFILE")" \
            --eval 'db.runCommand({ping: 1})'

    documentdb-setup walks the operator through detected PG clusters or offers a fresh private cluster, prompts before each config-file modification with backup-and-rollback safety, and configures both PG and the gateway (using the same packages as Workflow B under the hood — the appliance is documentdb-gateway + the local pg_ident.conf map + documentdb-postgresql.service for cluster lifecycle).

    What you get: the entire stack, managed end-to-end. Day-2 lifecycle is systemctl <verb> documentdb.target.

    What you don't get: independent control over the PG cluster (the appliance owns it). For that, use Workflow A or B.


    After any workflow

    Don't forget to remove the password file:

    rm -f "$PWFILE"

    Workflows NOT in this release

    • Docker evaluation — the existing ghcr.io/documentdb/documentdb/documentdb-local:latest image keeps building from existing CI; this design does not modify it. Users who want a Docker evaluation path use the existing image as-is. A refactored, layered Docker image (lean gateway + separate postgres-documentdb) is deferred.
    • Cloud / remote PG over TCP/password — gateway architecture has hardcoded password: None in three of four pools (pool_manager.rs:447,457; auth.rs:650). This is the Track 2 work.
    • Production two-container compose — same gateway-auth blocker. Track 2 + Docker work.

    6. Behavior matrix

    The bolded cells are the only places postgresql.conf, pg_hba.conf, or pg_ident.conf are modified. All happen only on explicit operator invocation, never on dpkg install.

    Action postgresql-N-documentdb install documentdb-gateway install documentdb-local-N install documentdb-tune documentdb-gateway setup documentdb-setup
    Install extension files Yes No Via dep No No No
    Install gateway binary No Yes Via dep No No No
    Create OS service user No Yes (sysusers.d, eager) Yes (sysusers.d, eager) No No Ensure/reuse
    Create gateway PG role No No No No Yes (delegates to gateway setup)
    initdb No No No No No Yes (greenfield mode)
    Edit postgresql.conf No No No Yes (managed block) No (delegates to tune)
    Edit pg_hba.conf No No No No Yes (managed block) (delegates to gateway setup)
    Edit pg_ident.conf No No No No Yes (managed block) (delegates to gateway setup)
    Run CREATE EXTENSION No No No No No (verifies it's done) Yes
    Create first MongoDB user No No No No Yes (calls admin create-user) (delegates to gateway setup)
    Auto-start service on install No No No No No Yes (via systemctl enable --now documentdb.target after explicit setup)
    Restart active service on upgrade N/A Yes Yes N/A N/A N/A
    Preserve PG data on remove Yes Yes Yes N/A N/A N/A
    Reversible N/A N/A N/A Yes (--restore) Yes (--restore, also postrm purge of gateway pkg) Yes (--restore, also postrm purge of local-N pkg)

    7. Security posture

    Concern Decision
    Postinst modifies cluster config Never. Only documentdb-tune, documentdb-gateway setup, and documentdb-setup do, only when explicitly invoked.
    Postinst auto-runs setup wizards Never. Debian and RPM both.
    Maintainer scripts restart PostgreSQL Never. A maintainer script restarting PG would be a surprising side effect under unattended upgrades or scripted CI. The CLI tools may restart PG — see "CLI tools restart PostgreSQL" below.
    CLI tools restart PostgreSQL Yes, only with --yes. documentdb-tune --yes and documentdb-setup --yes (and documentdb-gateway setup --yes) restart the affected PG service after applying changes, because the operator is foreground and the restart is required for shared_preload_libraries to take effect. Without --yes, the CLI prints the restart command for the operator to run manually. The interactive default for the CLI is to ask before restart, with the prompt default being no.
    Interactive prompts in maintainer scripts (debconf etc.) Never used. Maintainer scripts are non-interactive on both Debian and RPM by policy. All consent for invasive operations lives in operator-invoked CLIs (documentdb-tune, documentdb-gateway setup, documentdb-setup). Rationale: keeps the install UX symmetric across distros (RHEL/Fedora has no debconf equivalent), matches what every major cross-distro PostgreSQL extension does (Citus, TimescaleDB, pg_cron, pgvector), avoids divergent docs/CI/failure-modes for the sake of saving one operator command on one distro. See discussion in §11.
    OS users created at install Yes, via sysusers.d, narrow scope, no shell, no home, eager creation in postinst.
    Gateway runs as root Never. User=documentdb-gateway, sandboxed.
    Secret-file ownership root:documentdb-gateway mode 0640 — gateway reads, can't overwrite.
    Passwords in env vars Rejected. Gateway exits 1 if DOCUMENTDB_PG_URL contains a password. Use *_FILE.
    TLS cert auto-gen path $DOCUMENTDB_STATE_DIR (default /var/lib/documentdb-gateway in deb). T1.1 fixes the current CWD bug.
    SUPERUSER granted to MongoDB users Never. We use documentdb_admin_role. (FerretDB does this; we explicitly do not.)
    Reversibility All managed-block edits revert via --restore or apt purge.
    Cluster modification safety Always backed up before write; refuses to overwrite foreign managed-block markers; warns when adopting another OS user's cluster; --dry-run always available.
    Compatibility check Default DOCUMENTDB_STRICT_VERSION_CHECK=true. Operator opts out with DOCUMENTDB_ALLOW_UNTESTED_EXTENSION_VERSION=true.
    Supply chain GPG-signed apt/yum repo.
    Suggests: not Recommends: from gateway to extension Yes.

    Footnotes

    Footnotes

    1. Existing documentdb-setup.sh is the basis for T1.5: oss/documentdb-local/scripts/documentdb-setup.sh (~1656 lines including the existing managed-block helpers). ↩

  6. documentdb-triage-tool commented on May 30, 2026

    @documentdb-triage-tool

    👋 @guanzhousongmicrosoft — this issue has been assigned for 28 days with no activity. Is it still in progress? If you've made progress, please leave a quick update. Otherwise it'll be flagged for re-assignment at the next triage meeting.

  7. documentdb-triage-tool commented on Jun 13, 2026

    @documentdb-triage-tool

    👋 @guanzhousongmicrosoft — this issue has been assigned for 14 days with no activity. Is it still in progress? If you've made progress, please leave a quick update. Otherwise it'll be flagged for re-assignment at the next triage meeting.

  8. documentdb-triage-tool commented on Jun 28, 2026

    @documentdb-triage-tool

    👋 @guanzhousongmicrosoft — this issue has been assigned for 14 days with no activity. Is it still in progress? If you've made progress, please leave a quick update. Otherwise it'll be flagged for re-assignment at the next triage meeting.

  9. documentdb-triage-tool commented on Jul 13, 2026

    @documentdb-triage-tool

    👋 @guanzhousongmicrosoft — this issue has been assigned for 15 days with no activity. Is it still in progress? If you've made progress, please leave a quick update. Otherwise it'll be flagged for re-assignment at the next triage meeting.

  10. modified the milestones: 0.111-0, 0.117-0 on Jul 24, 2026
  11. documentdb-triage-tool commented on Aug 8, 2026

    @documentdb-triage-tool

    👋 @guanzhousongmicrosoft — this issue has been assigned for 14 days with no activity. Is it still in progress? If you've made progress, please leave a quick update. Otherwise it'll be flagged for re-assignment at the next triage meeting.

  12. documentdb-triage-tool commented on Aug 23, 2026

    @documentdb-triage-tool

    👋 @guanzhousongmicrosoft — this issue has been assigned for 14 days with no activity. Is it still in progress? If you've made progress, please leave a quick update. Otherwise it'll be flagged for re-assignment at the next triage meeting.

  13. guanzhousongmicrosoft commented on Aug 31, 2026

    @guanzhousongmicrosoft
    MemberAuthor

    We have released the new packages. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions