Skip to content

[OBSDATA-13995] Revert service-discovery isPodReady() filter (keep connect-timeout fix) - #474

Merged
Sadananda Aithal (saithal-confluent) merged 1 commit into
30.0.1-confluentfrom
saithal/OBSDATA-13995-revert-svcdisc-druid30
Jul 20, 2026
Merged

Sadananda Aithal (saithal-confluent) merged 1 commit into
30.0.1-confluentfrom
saithal/OBSDATA-13995-revert-svcdisc-druid30

Conversation

@saithal-confluent

Copy link
Copy Markdown
Member

Summary

Test plan

  • mvn compile -pl extensions-core/kubernetes-extensions,server,processing -am -DskipTests -Dweb.console.skip=true -Pskip-static-checks succeeds
  • Confirmed broker connect-timeout files (HttpClientConfig.java, HttpClientInit.java, HttpClientModule.java, DruidHttpClientConfig.java) have zero diff — untouched
  • CI

🤖 Generated with Claude Code

…oker connect timeout

Scoped revert of the kubernetes-extensions / service-discovery half of
455f3e5 (OBSDATA-13995 Backport connect timeout (#450) and service
discovery fix (apache apache#19139) to druid 30 (#469)). The broker TCP
connect-timeout fix (HttpClientConfig.java, HttpClientInit.java,
HttpClientModule.java, DruidHttpClientConfig.java) is untouched and
remains in place - it is unrelated and unaffected by this incident.

The isPodReady() filter added to DefaultK8sApiClient.listPods()/
watchPods() requires k8s to already report a pod's container ready
before that pod can be treated as self-discovered. But a pod's
readiness/startup probe (still pointed at /status/selfDiscovered on
every environment using this image) only passes once self-discovery
succeeds - a circular dependency. This crash-restart-looped every
overlord pod on druid-devel-44409 (running druid-34, which carries
the identical filter) after it picked up an image containing this
filter; druid-30 is exposed to the same risk on its next fresh pod
rollout.

The real fix (a new /status/ready endpoint backed by a purely local
ServiceAnnouncementState flag, breaking the circularity) is up as
PR #472 on this branch's line, but the filter and the fix must ship
in the same image tag - landing them in different tags is what
caused the incident, and leaving the filter in now blocks other
in-flight work on this branch. Reverting here to unblock; the filter
will be re-added together with PR #472 once both are ready to ship
as a single image.

This reverts the isPodReady() filter and its tests to their pre-455f3e5715
state; docs/development/extensions-core/kubernetes.md and
website/.spelling are reverted alongside since both are attributable
solely to the service-discovery change.
@saithal-confluent
Sadananda Aithal (saithal-confluent) merged commit a1f493a into 30.0.1-confluent Jul 20, 2026
3 checks passed
@saithal-confluent
Sadananda Aithal (saithal-confluent) deleted the saithal/OBSDATA-13995-revert-svcdisc-druid30 branch July 20, 2026 10:01
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.

2 participants