Skip to content

Intrasegment Slice Segment Profiling#20437

Draft
ajleong623 wants to merge 3 commits intoopensearch-project:mainfrom
ajleong623:intrasegment-concurrent-search-profiling
Draft

Intrasegment Slice Segment Profiling#20437
ajleong623 wants to merge 3 commits intoopensearch-project:mainfrom
ajleong623:intrasegment-concurrent-search-profiling

Conversation

@ajleong623
Copy link
Contributor

Description

In the debug section, adds information on how segments were distributed in a slice during a concurrent query.

Related Issues

Resolves #20344

Check List

  • Functionality includes testing.
  • API changes companion pull request created, if applicable.
  • Public documentation issue/PR created, if applicable.

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.

Signed-off-by: Anthony Leong <aj.leong623@gmail.com>
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 19, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

  • 🔍 Trigger a full review
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions github-actions bot added enhancement Enhancement or improvement to existing feature or request Search Search query, autocomplete ...etc labels Jan 19, 2026
@github-actions
Copy link
Contributor

❌ Gradle check result for b327473: 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
Copy link
Contributor

github-actions bot commented Feb 5, 2026

❌ Gradle check result for 01f7390: 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: Anthony Leong <aj.leong623@gmail.com>
@ajleong623
Copy link
Contributor Author

Example Response:

{
    "slices_info": {
        "slice_count": 4,
        "slices": [
            {
                "segments": [
                    {
                        "from": 0,
                        "segment_id": 1,
                        "to": 157
                    },
                    {
                        "from": 0,
                        "segment_id": 7,
                        "to": 78
                    }
                ],
                "partition_count": 2,
                "doc_count": 235
            },
            {
                "segments": [
                    {
                        "from": 0,
                        "segment_id": 2,
                        "to": 151
                    },
                    {
                        "from": 0,
                        "segment_id": 4,
                        "to": 97
                    }
                ],
                "partition_count": 2,
                "doc_count": 248
            },
            {
                "segments": [
                    {
                        "from": 0,
                        "segment_id": 0,
                        "to": 109
                    },
                    {
                        "from": 0,
                        "segment_id": 3,
                        "to": 144
                    }
                ],
                "partition_count": 2,
                "doc_count": 253
            },
            {
                "segments": [
                    {
                        "from": 0,
                        "segment_id": 5,
                        "to": 125
                    },
                    {
                        "from": 0,
                        "segment_id": 6,
                        "to": 139
                    }
                ],
                "partition_count": 2,
                "doc_count": 264
            }
        ]
    }
}

@github-actions
Copy link
Contributor

github-actions bot commented Feb 5, 2026

❌ Gradle check result for 2c540cb: 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?

@opensearch-trigger-bot
Copy link
Contributor

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

@opensearch-trigger-bot opensearch-trigger-bot bot added the stalled Issues that have stalled label Mar 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Enhancement or improvement to existing feature or request Search Search query, autocomplete ...etc stalled Issues that have stalled

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request] Segment Profiling

1 participant