Do not report ERROR when sample rate equals 100

This commit is contained in:
ZenoWang
2024-02-06 14:49:31 +00:00
committed by ob-robot
parent 1f1d5c08ae
commit c8ef409bf3
3710 changed files with 486984 additions and 3083329 deletions

View File

@ -421,7 +421,7 @@ int run_test() {
if(!config.is_test_write()) {
STORAGE_LOG(WARN, "no thread, cannot start write bench");
} else {
const int thread_no = config.get_total_partition_num();//one partition one write thread
const int thread_no = config.get_total_partition_num();//one partiton one write thread
MultiThreadWrite write(thread_no);
if(OB_FAIL(write.init(schema_service, &restore_schema, config))){
STORAGE_LOG(WARN, "fail to init query", K(ret));
@ -459,8 +459,8 @@ int run_test() {
if (OB_SUCC(ret)) {
//multi thread single get speed test
const int partition_num = config.get_total_partition_num();
const int thread_no = config.get_single_get_thread_count() * partition_num;
const int partiton_num = config.get_total_partition_num();
const int thread_no = config.get_single_get_thread_count() * partiton_num;
if(thread_no <= 0) {
STORAGE_LOG(WARN, "no thread, cannot start single get bench");
} else {
@ -490,8 +490,8 @@ int run_test() {
if (OB_SUCC(ret)) {
//multi thread multi get speed test
const int partition_num = config.get_total_partition_num();
int thread_no = config.get_multi_get_thread_count() * partition_num;
const int partiton_num = config.get_total_partition_num();
int thread_no = config.get_multi_get_thread_count() * partiton_num;
if(thread_no <= 0) {
STORAGE_LOG(WARN, "no thread, cannot start multi get bench");
} else {
@ -521,8 +521,8 @@ int run_test() {
if (OB_SUCC(ret)) {
//multi thread scan speed test
const int partition_num = config.get_total_partition_num();
int thread_no = config.get_scan_thread_count() * partition_num;
const int partiton_num = config.get_total_partition_num();
int thread_no = config.get_scan_thread_count() * partiton_num;
if(thread_no <= 0) {
STORAGE_LOG(WARN, "no thread, cannot start scan speed bench");
} else {