Skip to content

chore: modify replicasync to handle NATS explicitly#26666

Draft
spikecurtis wants to merge 1 commit into
spike/gru-69-db-replica-natsfrom
spike/gru-69-replicasync-integrates-nats
Draft

chore: modify replicasync to handle NATS explicitly#26666
spikecurtis wants to merge 1 commit into
spike/gru-69-db-replica-natsfrom
spike/gru-69-replicasync-integrates-nats

Conversation

@spikecurtis

@spikecurtis spikecurtis commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

relates to GRU-69

Modifies replicasync to handle discovering NATS enabled primary replicas explicitly, and passing that info to the NATS Pubsub.

This PR adds a new deployment value to explicitly represent the host or IP that the replica can be reached on. It isn't wired up to the CLI, but piggybacks on the DERP config for now.

We learn the NATS port directly from NATS at runtime, and propagate it thru replicasync to learn all peers for clustering.<!--

If you have used AI to produce some or all of this PR, please ensure you have read our AI Contribution guidelines before submitting.

-->

@linear-code

linear-code Bot commented Jun 24, 2026

Copy link
Copy Markdown

GRU-69

Copy link
Copy Markdown
Contributor Author

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

@spikecurtis spikecurtis force-pushed the spike/gru-69-db-replica-nats branch from 7de3198 to f609f9d Compare June 24, 2026 15:32
@spikecurtis spikecurtis force-pushed the spike/gru-69-replicasync-integrates-nats branch from 1b67bd7 to 8e447eb Compare June 24, 2026 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant