[FEAT MERGE] Merge syslog user experience improvement to master
Co-authored-by: Charles0429 <xiezhenjiang@gmail.com> Co-authored-by: tino247 <tino247@126.com> Co-authored-by: chaser-ch <chaser.ch@antgroup.com>
This commit is contained in:
@ -159,7 +159,7 @@ ObAsyncTask *ObCheckServerTask::deep_copy(char *buf, const int64_t buf_size) con
|
||||
{
|
||||
ObCheckServerTask *task = NULL;
|
||||
if (NULL == buf || buf_size < static_cast<int64_t>(sizeof(*this))) {
|
||||
LOG_WARN("buffer not large enough", K(buf_size));
|
||||
LOG_WARN_RET(common::OB_BUF_NOT_ENOUGH, "buffer not large enough", K(buf_size));
|
||||
} else {
|
||||
task = new(buf) ObCheckServerTask(work_queue_, checker_);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user