Skip to content

Conversation

cwperks
Copy link
Member

@cwperks cwperks commented Aug 7, 2025

Description

Bug Fix: Improve Health Status of .opendistro-job-scheduler-lock Index in Single Node Clusters

This pull request addresses an issue where the .opendistro-job-scheduler-lock index was showing a yellow health status in single node clusters. The problem was caused by the use of indexrequest default settings, which were not optimal for single node environments.

Changes:

  • Modified the replica settings for the .opendistro-job-scheduler-lock index to:
    {
      "index.number_of_shards": 1,
      "index.auto_expand_replicas": "0-1"
    }
    
    

Issues Resolved

Check List

  • New functionality includes testing.
  • New functionality has been documented.
  • API changes companion pull request created.
  • Commits are signed per the DCO using --signoff.
  • Public documentation issue/PR created.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Copy link

codecov bot commented Aug 7, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 31.43%. Comparing base (edeb3a3) to head (44c1a81).
⚠️ Report is 1 commits behind head on main.

❌ Your project status has failed because the head coverage (31.43%) is below the target coverage (75.00%). You can increase the head coverage or adjust the target coverage.

Additional details and impacted files
@@            Coverage Diff            @@
##               main     #807   +/-   ##
=========================================
  Coverage     31.43%   31.43%           
  Complexity      150      150           
=========================================
  Files            34       34           
  Lines          1527     1527           
  Branches        137      137           
=========================================
  Hits            480      480           
  Misses         1010     1010           
  Partials         37       37           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@cwperks cwperks merged commit 24126b0 into opensearch-project:main Aug 7, 2025
15 of 16 checks passed
@github-project-automation github-project-automation bot moved this from 👀 In Review to ✅ Done in Engineering Effectiveness Board Aug 7, 2025
Jeremydupras pushed a commit to Jeremydupras/job-scheduler that referenced this pull request Aug 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

3 participants