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

[Backport stable/operate-8.5] feat: allow for disabling cluster health checks #23372

Merged

Conversation

backport-action
Copy link
Collaborator

Description

Backport of #23218 to stable/operate-8.5.

relates to #22918
original author: @kristinkomschow

@backport-action
Copy link
Collaborator Author

Please cherry-pick the changes locally and resolve any conflicts.

git fetch origin backport-23218-to-stable/operate-8.5
git worktree add --checkout .worktree/backport-23218-to-stable/operate-8.5 backport-23218-to-stable/operate-8.5
cd .worktree/backport-23218-to-stable/operate-8.5
git reset --hard HEAD^
git cherry-pick -x 1f50069dd83dfde85a6b6fa1241e60bf32101363 5fa1e3aa734d09ddf0f263f07c5609ccb3f739ba 93f7fdb43950cf0194763bfb90d3716f93abbb3e 1555c026587d4574df63cf553f2909ab82733a0b
git push --force-with-lease

@github-actions github-actions bot added the component/operate Related to the Operate component/team label Oct 11, 2024
Copy link
Contributor

github-actions bot commented Oct 11, 2024

Test Results

909 tests  +4   889 ✅ +4   15m 52s ⏱️ - 1m 10s
146 suites +1    20 💤 ±0 
146 files   +1     0 ❌ ±0 

Results for commit 1075a38. ± Comparison against base commit b8a6305.

♻️ This comment has been updated with latest results.

- added property camunda.operate.healthCheck.enabled with default 'true'
- added checks to not perform health checks on clusters when that property is false in
IndicesHealthIndicator, ElasticsearchConnector and OpensearchConnector

(cherry picked from commit 1f50069)

# Conflicts:
#	operate/common/src/main/java/io/camunda/operate/connect/ElasticsearchConnector.java
#	operate/common/src/main/java/io/camunda/operate/connect/OpensearchConnector.java
@kristinkomschow kristinkomschow force-pushed the backport-23218-to-stable/operate-8.5 branch from 2c59a8b to 2bb9995 Compare October 11, 2024 12:48
@kristinkomschow kristinkomschow marked this pull request as ready for review October 11, 2024 12:49
@kristinkomschow kristinkomschow self-assigned this Oct 14, 2024
@kristinkomschow kristinkomschow force-pushed the backport-23218-to-stable/operate-8.5 branch from 2bb9995 to cf890f3 Compare October 14, 2024 07:08
for elasticsearch and opensearch connector

(cherry picked from commit 93f7fdb)

# Conflicts:
#	operate/common/src/test/java/io/camunda/operate/connect/ElasticsearchConnectorTest.java
#	operate/common/src/test/java/io/camunda/operate/connect/OpensearchConnectorTest.java
…roperties

to better reflect that health check is turned off for ES/OS, not Operate itself

(cherry picked from commit 1555c02)

# Conflicts:
#	operate/common/src/main/java/io/camunda/operate/connect/OpensearchConnector.java
@kristinkomschow kristinkomschow force-pushed the backport-23218-to-stable/operate-8.5 branch from cf890f3 to 1075a38 Compare October 14, 2024 08:19
@kristinkomschow kristinkomschow requested a review from a team October 16, 2024 07:21
@kristinkomschow kristinkomschow merged commit af07f55 into stable/operate-8.5 Oct 17, 2024
17 checks passed
@kristinkomschow kristinkomschow deleted the backport-23218-to-stable/operate-8.5 branch October 17, 2024 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/operate Related to the Operate component/team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants