Open ansjcy opened 16 hours ago
:x: Gradle check result for 8fc3f92f745a6fd64596ada017a3ec236683d1c5: ABORTED
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
Use binary serialization to avoid the JSON parsing overhead when piggybacking task resource usage info from data nodes to coordinator node.
Related Issues
Resolves https://github.com/opensearch-project/OpenSearch/issues/16635
Tests
I ran the big5 benchmark tests on a cluster with 3 master nodes (c5.xlarge) and 2 data nodes (r5.4xlarge) and did CPU profiling for term queries like mentioned in https://github.com/opensearch-project/OpenSearch/issues/16635. The parsing overhead is less than 1% in my tests.
Also validated the functionalities of query insights is not impacted.
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.