Skip to content

Himkak/node stats api with warm index solu2#19474

Closed
himkak wants to merge 6 commits intoopensearch-project:mainfrom
himkak:himkak/NodeStatsApiWithWarmIndex_Solu2
Closed

Himkak/node stats api with warm index solu2#19474
himkak wants to merge 6 commits intoopensearch-project:mainfrom
himkak:himkak/NodeStatsApiWithWarmIndex_Solu2

Conversation

@himkak
Copy link
Copy Markdown

@himkak himkak commented Sep 30, 2025

Description
After creating the warm index and or indexing docs, if we check the node stats, we get the failure response of type illegal_argument_exception.
These changes are fix for that.
With these changes

  • while caching file we pin the file after put and decRef
  • While removing the file from cache, we unpin it and then remove

Related Issues
Resolves #19464

Check List
[ Y] Functionality includes testing.
[ NA] API changes companion pull request created, if applicable.
[ NA] Public documentation issue/PR created, if applicable.

Himanshu Kakar added 3 commits September 30, 2025 00:45
Signed-off-by: Himanshu Kakar <hkakar@microsoft.com>
…manshu Kakar hmnshkakar300@gmail.com

Signed-off-by: Himanshu Kakar <hkakar@microsoft.com>
…m cache unpin

Signed-off-by: Himanshu Kakar <hkakar@microsoft.com>
Signed-off-by: Himanshu Kakar <hkakar@microsoft.com>
Signed-off-by: Himanshu Kakar <hkakar@microsoft.com>
@github-actions
Copy link
Copy Markdown
Contributor

❌ Gradle check result for 5a77055: 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?

Signed-off-by: Himanshu Kakar <hkakar@microsoft.com>
@github-actions
Copy link
Copy Markdown
Contributor

❌ Gradle check result for 65d77f3: 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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working _No response_

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Node stats failing with error illegal_argument_exception

1 participant