Migrate gRPC transport executor to ForkJoinPool#19685
Migrate gRPC transport executor to ForkJoinPool#19685jungeunyooon wants to merge 5 commits intoopensearch-project:mainfrom
Conversation
42def60 to
cb0269f
Compare
|
❌ Gradle check result for cb0269f: 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? |
cb0269f to
32618f4
Compare
|
❌ Gradle check result for 32618f4: 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? |
karenyrx
left a comment
There was a problem hiding this comment.
Thanks for taking this on!
modules/transport-grpc/src/main/java/org/opensearch/transport/grpc/GrpcPlugin.java
Outdated
Show resolved
Hide resolved
...pc/src/test/java/org/opensearch/transport/grpc/ssl/SecureNetty4GrpcServerTransportTests.java
Show resolved
Hide resolved
32618f4 to
06951a4
Compare
Signed-off-by: yoonjungeun1 <angal2310@tukorea.ac.kr>
Signed-off-by: yoonjungeun1 <angal2310@tukorea.ac.kr>
Signed-off-by: yoonjungeun1 <angal2310@tukorea.ac.kr>
8f95072 to
96c61de
Compare
Signed-off-by: jungeun yoon <jungeun.kate@gmail.com>
|
❌ Gradle check result for 6fafca3: 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? |
|
@karenyrx I’ve updated the PR based on your feedback. |
karenyrx
left a comment
There was a problem hiding this comment.
Overall LGTM, would be great to see an OSB run with/without this change to see if/how much performance improves
Signed-off-by: Karen X <karenxyr@gmail.com>
📝 WalkthroughWalkthroughThis change migrates the gRPC transport executor implementation from Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
📜 Recent review detailsConfiguration used: Organization UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (4)
🧰 Additional context used🧠 Learnings (7)📚 Learning: 2025-12-12T18:40:08.452ZApplied to files:
📚 Learning: 2025-12-19T21:26:37.090ZApplied to files:
📚 Learning: 2025-12-12T13:31:51.234ZApplied to files:
📚 Learning: 2025-12-13T20:16:15.318ZApplied to files:
📚 Learning: 2026-01-02T19:23:16.689ZApplied to files:
📚 Learning: 2026-01-02T19:23:29.698ZApplied to files:
📚 Learning: 2026-01-02T19:23:29.698ZApplied to files:
🧬 Code graph analysis (2)modules/transport-grpc/src/test/java/org/opensearch/transport/grpc/ssl/SecureNetty4GrpcServerTransportTests.java (1)
modules/transport-grpc/src/main/java/org/opensearch/transport/grpc/GrpcPlugin.java (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
🔇 Additional comments (9)
✏️ Tip: You can disable this entire section by setting Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
❌ Gradle check result for a81020d: 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? |
|
❌ Gradle check result for a81020d: 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? |
Description
This PR migrates the gRPC transport executor from
FixedExecutorBuildertoForkJoinPoolExecutorBuilderto improve performance through work-stealing and better load balancing.GrpcPlugin.javato useForkJoinPoolExecutorBuilderinstead ofFixedExecutorBuilderRelated Issues
Resolves #19370
Check List
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.