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

[Merged by Bors] - Bugfix for: Druid connection not established #187

Closed
wants to merge 21 commits into from

Conversation

fhennig
Copy link
Contributor

@fhennig fhennig commented May 2, 2022

Description

Fixes #174

A test for the bug is found in this PR https://github.com/stackabletech/integration-tests/pull/235

  • the DruidConnection controller now watches the ConfigMaps, to be notified if a druid instance that should be connected is deployed; to connect it then.
  • the DruidConnnection namespaces are also made optional in this PR

Review Checklist

  • Code contains useful comments
  • (Integration-)Test cases added (or not applicable)
  • Documentation added (or not applicable)
  • Changelog updated (or not applicable)
  • Cargo.toml only contains references to git tags (not specific commits or branches)
  • Helm chart can be installed and deployed operator works (or not applicable)

Once the review is done, comment bors r+ (or bors merge) to merge. Further information

@fhennig fhennig changed the title Made namespace optional in DruidConnection Bugfix for: Druid connection not established May 2, 2022
Copy link
Member

@maltesander maltesander left a comment

Choose a reason for hiding this comment

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

Just one thing (not sure if that applies, but i think it could make things easier)

rust/crd/src/druidconnection.rs Outdated Show resolved Hide resolved
rust/operator-binary/src/main.rs Outdated Show resolved Hide resolved
@siegfriedweber siegfriedweber self-requested a review May 3, 2022 14:25
@siegfriedweber siegfriedweber force-pushed the bugfix/druid-connection-not-established branch from 762926b to 6e9c4f6 Compare May 4, 2022 13:24
Copy link
Member

@siegfriedweber siegfriedweber left a comment

Choose a reason for hiding this comment

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

Approved as soon as the open comments of @maltesander are done.

rust/crd/src/druidconnection.rs Outdated Show resolved Hide resolved
Copy link
Member

@maltesander maltesander left a comment

Choose a reason for hiding this comment

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

Some small things:

rust/operator-binary/src/druid_connection_controller.rs Outdated Show resolved Hide resolved
rust/operator-binary/src/main.rs Outdated Show resolved Hide resolved
Copy link
Member

@maltesander maltesander left a comment

Choose a reason for hiding this comment

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

LGTM.

@fhennig
Copy link
Contributor Author

fhennig commented May 9, 2022

bors merge

bors bot pushed a commit that referenced this pull request May 9, 2022
## Description

Fixes #174 

A test for the bug is found in this PR https://github.com/stackabletech/integration-tests/pull/235

- the DruidConnection controller now watches the ConfigMaps, to be notified if a druid instance that should be connected is deployed; to connect it then.
- the DruidConnnection namespaces are also made optional in this PR
@bors
Copy link
Contributor

bors bot commented May 9, 2022

Pull request successfully merged into main.

Build succeeded:

@bors bors bot changed the title Bugfix for: Druid connection not established [Merged by Bors] - Bugfix for: Druid connection not established May 9, 2022
@bors bors bot closed this May 9, 2022
@bors bors bot deleted the bugfix/druid-connection-not-established branch May 9, 2022 15:12
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.

Druid connection is not established if Druid is started afterwards
3 participants