Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix broken master #9005

Merged
merged 4 commits into from Dec 11, 2019
Merged

Fix broken master #9005

merged 4 commits into from Dec 11, 2019

Conversation

jihoonson
Copy link
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
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
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