Repository navigation
Correct the no-systemd setup statements in the package guide - #245
Merged
guanzhousongmicrosoft merged 1 commit intoNov 10, 2026
Merged
guanzhousongmicrosoft merged 1 commit into
guanzhousongmicrosoft merged 1 commit into
Conversation
Tested with the 1.0.1 packages on a host without systemd: re-running setup keeps a loopback bind, and a scoped restore stops only that major's recorded gateway. The 1.0 packages also depend on procps, so the minimal-RHEL known issue no longer applies. Signed-off-by: Guanzhou Song <26541184+GuanzhouSong@users.noreply.github.com>
guanzhousongmicrosoft
approved these changes
Nov 10, 2026
guanzhousongmicrosoft
pushed a commit
that referenced
this pull request
Nov 10, 2026
DocumentDB 1.0.1 is withdrawn: its extension version 1.0-1 has no upgrade path to later releases. This reverts the version move in #244 and keeps #245 and the unrelated sample and tsconfig changes that landed with #244. Signed-off-by: Guanzhou Song <26541184+GuanzhouSong@users.noreply.github.com> Co-authored-by: Guanzhou Song <26541184+GuanzhouSong@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The operations guide says re-running
documentdb-setupsilently resets a loopbackDOCUMENTDB_LISTEN_ADDRto a wildcard bind, and that a scoped--restore --pg-version Ncan't stop a gateway on a host without systemd, so readers are told to detach every major to remove one. Neither matches the 1.0 setup script: a scoped restore stops the gateway it has a valid record for, and a re-run keeps a127.0.0.1:<port>or[::1]:<port>bind. Its "Minimal RHEL" known issue is also stale: the 1.0 packages depend onprocps/procps-ng, and an unscoped restore refuses to run withoutpgrep.Checked with the released 1.0.1 packages in an Ubuntu 24.04 arm64 container without systemd, PG17 on 10260 and PG18 on 10261. After setting PG17 to
127.0.0.1:10260, a re-run printedKeeping gateway bind address 127.0.0.1 from the previous runandss -lntshowed127.0.0.1:10260. Thendocumentdb-setup --restore --pg-version 18exited 0, port 10261 closed, and PG17 kept listening on127.0.0.1:10260. The setup script is identical in v1.0-0 and v1.0-1.For a gateway with no valid record, the guide now says to find the process and stop it: the unscoped restore only sweeps gateways started by the packaged binary's full path, and it detaches every major.
Found by the review of #244; independent of it.