-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into fix-parse-query_string-including-unmapped-field
Signed-off-by: gaobinlong <[email protected]>
- Loading branch information
Showing
956 changed files
with
49,165 additions
and
9,252 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,3 +34,5 @@ BWC_VERSION: | |
- "2.14.0" | ||
- "2.14.1" | ||
- "2.15.0" | ||
- "2.15.1" | ||
- "2.16.0" |
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,161 @@ | ||
{ | ||
"name": "Cluster and opensearch-benchmark configurations", | ||
"id_1": { | ||
"description": "Indexing only configuration for NYC_TAXIS workload", | ||
"supported_major_versions": ["2", "3"], | ||
"cluster-benchmark-configs": { | ||
"SINGLE_NODE_CLUSTER": "true", | ||
"MIN_DISTRIBUTION": "true", | ||
"TEST_WORKLOAD": "nyc_taxis", | ||
"WORKLOAD_PARAMS": "{\"number_of_replicas\":\"0\",\"number_of_shards\":\"1\"}", | ||
"EXCLUDE_TASKS": "type:search", | ||
"CAPTURE_NODE_STAT": "true" | ||
}, | ||
"cluster_configuration": { | ||
"size": "Single-Node", | ||
"data_instance_config": "4vCPU, 32G Mem, 16G Heap" | ||
} | ||
}, | ||
"id_2": { | ||
"description": "Indexing only configuration for HTTP_LOGS workload", | ||
"supported_major_versions": ["2", "3"], | ||
"cluster-benchmark-configs": { | ||
"SINGLE_NODE_CLUSTER": "true", | ||
"MIN_DISTRIBUTION": "true", | ||
"TEST_WORKLOAD": "http_logs", | ||
"WORKLOAD_PARAMS": "{\"number_of_replicas\":\"0\",\"number_of_shards\":\"1\"}", | ||
"EXCLUDE_TASKS": "type:search", | ||
"CAPTURE_NODE_STAT": "true" | ||
}, | ||
"cluster_configuration": { | ||
"size": "Single-Node", | ||
"data_instance_config": "4vCPU, 32G Mem, 16G Heap" | ||
} | ||
}, | ||
"id_3": { | ||
"description": "Search only test-procedure for NYC_TAXIS, uses snapshot to restore the data for OS-3.0.0", | ||
"supported_major_versions": ["3"], | ||
"cluster-benchmark-configs": { | ||
"SINGLE_NODE_CLUSTER": "true", | ||
"MIN_DISTRIBUTION": "true", | ||
"TEST_WORKLOAD": "nyc_taxis", | ||
"WORKLOAD_PARAMS": "{\"snapshot_repo_name\":\"benchmark-workloads-repo-300\",\"snapshot_bucket_name\":\"benchmark-workload-snapshots\",\"snapshot_region\":\"us-east-1\",\"snapshot_base_path\":\"workload-snapshots-300\",\"snapshot_name\":\"nyc_taxis_1_shard\"}", | ||
"CAPTURE_NODE_STAT": "true", | ||
"TEST_PROCEDURE": "restore-from-snapshot" | ||
}, | ||
"cluster_configuration": { | ||
"size": "Single-Node", | ||
"data_instance_config": "4vCPU, 32G Mem, 16G Heap" | ||
} | ||
}, | ||
"id_4": { | ||
"description": "Search only test-procedure for HTTP_LOGS, uses snapshot to restore the data for OS-3.0.0", | ||
"supported_major_versions": ["3"], | ||
"cluster-benchmark-configs": { | ||
"SINGLE_NODE_CLUSTER": "true", | ||
"MIN_DISTRIBUTION": "true", | ||
"TEST_WORKLOAD": "http_logs", | ||
"WORKLOAD_PARAMS": "{\"snapshot_repo_name\":\"benchmark-workloads-repo-300\",\"snapshot_bucket_name\":\"benchmark-workload-snapshots\",\"snapshot_region\":\"us-east-1\",\"snapshot_base_path\":\"workload-snapshots-300\",\"snapshot_name\":\"http_logs_1_shard\"}", | ||
"CAPTURE_NODE_STAT": "true", | ||
"TEST_PROCEDURE": "restore-from-snapshot" | ||
}, | ||
"cluster_configuration": { | ||
"size": "Single-Node", | ||
"data_instance_config": "4vCPU, 32G Mem, 16G Heap" | ||
} | ||
}, | ||
"id_5": { | ||
"description": "Search only test-procedure for HTTP_LOGS, uses snapshot to restore the data for OS-3.0.0", | ||
"supported_major_versions": ["3"], | ||
"cluster-benchmark-configs": { | ||
"SINGLE_NODE_CLUSTER": "true", | ||
"MIN_DISTRIBUTION": "true", | ||
"TEST_WORKLOAD": "big5", | ||
"WORKLOAD_PARAMS": "{\"snapshot_repo_name\":\"benchmark-workloads-repo-300\",\"snapshot_bucket_name\":\"benchmark-workload-snapshots\",\"snapshot_region\":\"us-east-1\",\"snapshot_base_path\":\"workload-snapshots-300\",\"snapshot_name\":\"big5_1_shard\"}", | ||
"CAPTURE_NODE_STAT": "true", | ||
"TEST_PROCEDURE": "restore-from-snapshot" | ||
}, | ||
"cluster_configuration": { | ||
"size": "Single-Node", | ||
"data_instance_config": "4vCPU, 32G Mem, 16G Heap" | ||
} | ||
}, | ||
"id_6": { | ||
"description": "Search only test-procedure for NYC_TAXIS, uses snapshot to restore the data for OS-2.x", | ||
"supported_major_versions": ["2"], | ||
"cluster-benchmark-configs": { | ||
"SINGLE_NODE_CLUSTER": "true", | ||
"MIN_DISTRIBUTION": "true", | ||
"TEST_WORKLOAD": "nyc_taxis", | ||
"WORKLOAD_PARAMS": "{\"snapshot_repo_name\":\"benchmark-workloads-repo\",\"snapshot_bucket_name\":\"benchmark-workload-snapshots\",\"snapshot_region\":\"us-east-1\",\"snapshot_base_path\":\"workload-snapshots\",\"snapshot_name\":\"nyc_taxis_1_shard\"}", | ||
"CAPTURE_NODE_STAT": "true", | ||
"TEST_PROCEDURE": "restore-from-snapshot" | ||
}, | ||
"cluster_configuration": { | ||
"size": "Single-Node", | ||
"data_instance_config": "4vCPU, 32G Mem, 16G Heap" | ||
} | ||
}, | ||
"id_7": { | ||
"description": "Search only test-procedure for HTTP_LOGS, uses snapshot to restore the data for OS-2.x", | ||
"supported_major_versions": ["2"], | ||
"cluster-benchmark-configs": { | ||
"SINGLE_NODE_CLUSTER": "true", | ||
"MIN_DISTRIBUTION": "true", | ||
"TEST_WORKLOAD": "http_logs", | ||
"WORKLOAD_PARAMS": "{\"snapshot_repo_name\":\"benchmark-workloads-repo\",\"snapshot_bucket_name\":\"benchmark-workload-snapshots\",\"snapshot_region\":\"us-east-1\",\"snapshot_base_path\":\"workload-snapshots\",\"snapshot_name\":\"http_logs_1_shard\"}", | ||
"CAPTURE_NODE_STAT": "true", | ||
"TEST_PROCEDURE": "restore-from-snapshot" | ||
}, | ||
"cluster_configuration": { | ||
"size": "Single-Node", | ||
"data_instance_config": "4vCPU, 32G Mem, 16G Heap" | ||
} | ||
}, | ||
"id_8": { | ||
"description": "Search only test-procedure for HTTP_LOGS, uses snapshot to restore the data for OS-2.x", | ||
"supported_major_versions": ["2"], | ||
"cluster-benchmark-configs": { | ||
"SINGLE_NODE_CLUSTER": "true", | ||
"MIN_DISTRIBUTION": "true", | ||
"TEST_WORKLOAD": "big5", | ||
"WORKLOAD_PARAMS": "{\"snapshot_repo_name\":\"benchmark-workloads-repo\",\"snapshot_bucket_name\":\"benchmark-workload-snapshots\",\"snapshot_region\":\"us-east-1\",\"snapshot_base_path\":\"workload-snapshots\",\"snapshot_name\":\"big5_1_shard\"}", | ||
"CAPTURE_NODE_STAT": "true", | ||
"TEST_PROCEDURE": "restore-from-snapshot" | ||
}, | ||
"cluster_configuration": { | ||
"size": "Single-Node", | ||
"data_instance_config": "4vCPU, 32G Mem, 16G Heap" | ||
} | ||
}, | ||
"id_9": { | ||
"description": "Indexing and search configuration for pmc workload", | ||
"supported_major_versions": ["2", "3"], | ||
"cluster-benchmark-configs": { | ||
"SINGLE_NODE_CLUSTER": "true", | ||
"MIN_DISTRIBUTION": "true", | ||
"TEST_WORKLOAD": "pmc", | ||
"WORKLOAD_PARAMS": "{\"number_of_replicas\":\"0\",\"number_of_shards\":\"1\"}", | ||
"CAPTURE_NODE_STAT": "true" | ||
}, | ||
"cluster_configuration": { | ||
"size": "Single-Node", | ||
"data_instance_config": "4vCPU, 32G Mem, 16G Heap" | ||
} | ||
}, | ||
"id_10": { | ||
"description": "Indexing only configuration for stack-overflow workload", | ||
"supported_major_versions": ["2", "3"], | ||
"cluster-benchmark-configs": { | ||
"SINGLE_NODE_CLUSTER": "true", | ||
"MIN_DISTRIBUTION": "true", | ||
"TEST_WORKLOAD": "so", | ||
"WORKLOAD_PARAMS": "{\"number_of_replicas\":\"0\",\"number_of_shards\":\"1\"}", | ||
"CAPTURE_NODE_STAT": "true" | ||
}, | ||
"cluster_configuration": { | ||
"size": "Single-Node", | ||
"data_instance_config": "4vCPU, 32G Mem, 16G Heap" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Performance Label Action | ||
|
||
on: | ||
pull_request_target: | ||
types: [labeled] | ||
|
||
jobs: | ||
add-comment: | ||
if: github.event.label.name == 'Performance' | ||
runs-on: ubuntu-latest | ||
permissions: | ||
pull-requests: write | ||
|
||
steps: | ||
- name: Add comment to PR | ||
uses: actions/github-script@v6 | ||
with: | ||
github-token: ${{secrets.GITHUB_TOKEN}} | ||
script: | | ||
github.rest.issues.createComment({ | ||
issue_number: context.issue.number, | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
body: "Hello!\nWe have added a performance benchmark workflow that runs by adding a comment on the PR.\n Please refer https://github.com/opensearch-project/OpenSearch/blob/main/PERFORMANCE_BENCHMARKS.md on how to run benchmarks on pull requests." | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.