opensearch-project / job-scheduler

Run periodic jobs on the cluster from your plugin
Apache License 2.0
21 stars 73 forks source link

[Backport 2.x] Wrap interactions with .opendistro-job-scheduler-lock in ThreadContext.stashContext to ensure JS can read and write to the index #647

Closed opensearch-trigger-bot[bot] closed 2 months ago

opensearch-trigger-bot[bot] commented 2 months ago

Backport eb506e214726bcb1ae96823267cec8a3bdf168be from #347.

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 37.71%. Comparing base (7baa9da) to head (1b03dbe).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## 2.x #647 +/- ## ============================================ + Coverage 37.37% 37.71% +0.33% - Complexity 133 135 +2 ============================================ Files 22 22 Lines 1188 1188 Branches 109 109 ============================================ + Hits 444 448 +4 + Misses 707 703 -4 Partials 37 37 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.