Skip to content

Update documentation for Thread::threadId() migration in OpenSearch 2.19.0 #7

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dev-docs-github-app-dev[bot]
Copy link

This PR updates the documentation to reflect the migration from Thread::getId() to Thread::threadId() in OpenSearch 2.19.0. The update provides guidance and context around this important Java compatibility change.

Key additions to the documentation include:

  • Detailed explanation of the migration from Thread::getId() to Thread::threadId()
  • List of affected components and systems
  • Impact assessment and benefits of the change
  • Developer guidance for working with the new thread ID implementation
  • References to the original code changes in PR #18237

This documentation update helps developers and users understand:

  • Why the change was necessary (Java 19+ compatibility)
  • What components were affected by the change
  • How to properly use thread IDs in code going forward
  • The broader impact on OpenSearch's future compatibility

These changes are part of the OpenSearch 2.19.0 release notes and provide important context for developers working with or maintaining OpenSearch code.

Copy link
Author

This pull request was created by AI Agent. Please review the changes and provide feedback. Context used:

                    ```json
                    {

"docsToCreate": [
{
"filePath": "release-notes/opensearch-documentation-release-notes-2.19.0.md",
"branch": "main"
}
],
"docsToUpdate": [],
"relevantCodeFiles": [
{
"branch": "main",
"filePath": "libs/common/src/test/java/org/opensearch/common/recycler/ConcurrentRecyclerTests.java"
},
{
"branch": "main",
"filePath": "libs/common/src/test/java/org/opensearch/common/recycler/QueueRecyclerTests.java"
}
],
"relevantCodeRepo": "opensearch-project/OpenSearch",
"relevantDocsFiles": [
{
"filePath": "release-notes/opensearch-documentation-release-notes-2.19.0.md",
"branch": "main"
}
]
}
```

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants