add message column to __all_virtual_load_data_stat placeholder

This commit is contained in:
obdev
2024-02-07 03:04:27 +00:00
committed by ob-robot
parent b41a25210b
commit d5e864bfbe
7 changed files with 30 additions and 4 deletions

View File

@ -330,7 +330,8 @@ struct ObLoadDataStat
insert_rt_sum_(0),
total_wait_secs_(0),
max_allowed_error_rows_(0),
detected_error_rows_(0) {}
detected_error_rows_(0),
message_() {}
int64_t aquire() {
return ATOMIC_AAF(&ref_cnt_, 1);
}
@ -377,6 +378,7 @@ struct ObLoadDataStat
common::ObString status_ = "none";
common::ObString trans_status_ = "none";
} store;
char message_[common::MAX_LOAD_DATA_MESSAGE_LENGTH];
TO_STRING_KV(K(tenant_id_), K(job_id_), K(job_type_),
K(table_name_), K(file_path_), K(table_column_), K(file_column_),
@ -389,7 +391,7 @@ struct ObLoadDataStat
K(coordinator.received_rows_), K(coordinator.last_commit_segment_id_),
K(coordinator.status_), K(coordinator.trans_status_),
K(store.processed_rows_), K(store.last_commit_segment_id_),
K(store.status_), K(store.trans_status_));
K(store.status_), K(store.trans_status_), K(message_));
};
class ObGetAllJobStatusOp