Skip to content

Fix broken master#9005

Merged
jihoonson merged 4 commits intoapache:masterfrom
jihoonson:multibind-self
Dec 11, 2019
Merged

Fix broken master#9005
jihoonson merged 4 commits intoapache:masterfrom
jihoonson:multibind-self

Conversation

@jihoonson
Copy link
Copy Markdown
Contributor

@jihoonson jihoonson commented Dec 9, 2019

Fixes #9002.

Description

This PR uses multibinding to fix the binding bug in overlord + coordinator mode. Also fixes the bug in SelfDiscoveryResource that APIs are not bound properly.


This PR has:

  • been self-reviewed.
  • added documentation for new or modified features or behaviors.
  • added Javadocs for most classes and all non-trivial methods. Linked related entities via Javadoc links.
  • added or updated version, license, or notice information in licenses.yaml
  • added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
  • added unit tests or modified existing tests to cover new code paths.
  • added integration tests.
  • been tested in a test Druid cluster.

This change is Reviewable

@jihoonson jihoonson added the Bug label Dec 9, 2019
@jihoonson jihoonson added this to the 0.17.0 milestone Dec 9, 2019
@jihoonson jihoonson changed the title Multibind self Fix broken master Dec 9, 2019
/** See the description of this endpoint in api-reference.md. */
@GET
@Path("/status/selfDiscoveredStatus")
@Path("/status")
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since this changes the API path of /status/selfDiscoveredStatus to /status/selfDiscovered/status the docs in api-reference.md need updated

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, thanks. Fixed.

@jihoonson jihoonson merged commit e5e1e9c into apache:master Dec 11, 2019
jihoonson added a commit to jihoonson/druid that referenced this pull request Dec 13, 2019
* Multibinding for NodeRole

* Fix endpoints

* fix doc

* fix test
jon-wei pushed a commit that referenced this pull request Dec 13, 2019
* Multibinding for NodeRole

* Fix endpoints

* fix doc

* fix test
@jon-wei jon-wei mentioned this pull request Dec 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Broken master because of duplicate injection

3 participants