Repository navigation
Conversation
dweitzman
force-pushed
the
dw-multiorch-hostname-advertisement
branch
from
September 29, 2026 17:41
622e663 to
79f129a
Compare
Without it, multiorch's discovered hostname was unresolvable outside its own pod, causing multiadmin to fail to contact multiorch (e.g. forwarding ApplyCertifiedRuleChange). Multiorch is a Deployment behind one Service (unlike multipooler's per-pod hostname), so the fix advertises the Service FQDN instead. Adds an e2e regression test that runs `multigres cluster apply-rule-change` against a real cluster to exercise the multiadmin -> multiorch RPC hop. Signed-off-by: David Weitzman <100598+dweitzman@users.noreply.github.com>
This comment has been minimized.
This comment has been minimized.
dweitzman
force-pushed
the
dw-multiorch-hostname-advertisement
branch
from
September 29, 2026 17:46
79f129a to
f2e87d3
Compare
This comment has been minimized.
This comment has been minimized.
1 similar comment
This comment has been minimized.
This comment has been minimized.
Integration test fixtures built the expected multiorch Deployment args before the --hostname flag existed. Patch the expected args alongside the other hashed-name normalization already done for these fixtures. Signed-off-by: David Weitzman <100598+dweitzman@users.noreply.github.com>
🔬 Go Test Coverage ReportSummary
Status✅ PASS DetailShow New Coverage |
dweitzman
marked this pull request as ready for review
September 29, 2026 18:12
Verolop
reviewed
Sep 29, 2026
| "--cell=" + cellName, | ||
| "--watch-targets=" + watchTarget, | ||
| "--log-level=" + string(shard.Spec.LogLevels.Multiorch), | ||
| fmt.Sprintf("--hostname=%s.%s.svc.cluster.local", serviceName, shard.Namespace), |
Contributor
There was a problem hiding this comment.
Can we have something advertise a per-pod address here? With multiorch.replicas > 1, each replica registers a distinct topology ID, but this gives them all the same load-balanced hostname. A request targeting orch A can therefore reach orch B, affecting /proxy/orch/{cell}/{id} and instance-specific RPCs such as DisableRecovery.
The new e2e test uses one replica. Can we add a two-replica case that verifies each advertised address reaches the corresponding instance? This is just to match the current setup we have for other tests.
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.
Without it, multiorch's discovered hostname was unresolvable outside its own pod, causing multiadmin to fail to contact multiorch (e.g. forwarding ApplyCertifiedRuleChange). Multiorch is a Deployment behind one Service (unlike multipooler's per-pod hostname), so the fix advertises the Service FQDN instead.
Adds an e2e regression test that runs
multigres cluster apply-rule-changeagainst a real cluster to exercise the multiadmin -> multiorch RPC hop.