OpenSearch icon indicating copy to clipboard operation
OpenSearch copied to clipboard

Use Atomic vars in multithreaded env. ++num and num++ operations aren…

Open dk2k opened this issue 1 year ago • 4 comments

Brief description of changes. For volatile num: ++num transformed to num.incrementAndGet() num++ transformed to num.getAndIncrement()

dk2k avatar Oct 16 '24 19:10 dk2k

:x: Gradle check result for 20ea733ae76e5004a50faf6ce89c0fb776ebd466: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

github-actions[bot] avatar Oct 16 '24 20:10 github-actions[bot]

:grey_exclamation: Gradle check result for 20ea733ae76e5004a50faf6ce89c0fb776ebd466: UNSTABLE

Please review all flaky tests that succeeded after retry and create an issue if one does not already exist to track the flaky failure.

github-actions[bot] avatar Oct 16 '24 23:10 github-actions[bot]

Codecov Report

Attention: Patch coverage is 85.71429% with 2 lines in your changes missing coverage. Please review.

Project coverage is 72.10%. Comparing base (ec7b652) to head (20ea733).

Files with missing lines Patch % Lines
...eldcaps/TransportFieldCapabilitiesIndexAction.java 50.00% 1 Missing and 1 partial :warning:
Additional details and impacted files
@@             Coverage Diff              @@
##               main   #16356      +/-   ##
============================================
+ Coverage     72.00%   72.10%   +0.10%     
- Complexity    64817    64880      +63     
============================================
  Files          5307     5307              
  Lines        302660   302663       +3     
  Branches      43724    43724              
============================================
+ Hits         217931   218238     +307     
+ Misses        66906    66578     -328     
- Partials      17823    17847      +24     

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

codecov[bot] avatar Oct 16 '24 23:10 codecov[bot]

:x: Gradle check result for 8b623696f245098f0689aa9466379adceb88ed70: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

github-actions[bot] avatar Oct 18 '24 08:10 github-actions[bot]

This PR is stalled because it has been open for 30 days with no activity.

@dbwiddis I left only the good change

dk2k avatar Nov 23 '24 17:11 dk2k

:x: Gradle check result for 3fad0c34bb1c2697402f3fc2f76ba0f8b221fc88: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

github-actions[bot] avatar Nov 23 '24 17:11 github-actions[bot]

This PR is stalled because it has been open for 30 days with no activity.