This is an automated email from the ASF dual-hosted git repository. morningman pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-doris.git
The following commit(s) were added to refs/heads/master by this push: new e5c7a6d [Bug] hll serialize 160 items cause backend crash(#5424) (#5425) e5c7a6d is described below commit e5c7a6dd9f174fc4156cb46f49f42126ddb27ac6 Author: 924060929 <924060...@qq.com> AuthorDate: Thu Mar 11 22:24:01 2021 +0800 [Bug] hll serialize 160 items cause backend crash(#5424) (#5425) Co-authored-by: lanhuajian <lanhuaj...@sankuai.com> --- be/src/olap/hll.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/be/src/olap/hll.cpp b/be/src/olap/hll.cpp index 91c479d..96c5710 100644 --- a/be/src/olap/hll.cpp +++ b/be/src/olap/hll.cpp @@ -164,7 +164,7 @@ size_t HyperLogLog::serialize(uint8_t* dst) const { break; } case HLL_DATA_EXPLICIT: { - DCHECK(_hash_set.size() < HLL_EXPLICIT_INT64_NUM) + DCHECK(_hash_set.size() <= HLL_EXPLICIT_INT64_NUM) << "Number of explicit elements(" << _hash_set.size() << ") should be less or equal than " << HLL_EXPLICIT_INT64_NUM; *ptr++ = _type; --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org