From 96cf74d53a07320a38e470a5031f83e386a45bd3 Mon Sep 17 00:00:00 2001 From: yah01 Date: Thu, 20 Oct 2022 13:33:27 +0800 Subject: [PATCH] Add more panic info (#19922) Signed-off-by: yah01 Signed-off-by: yah01 --- internal/core/src/segcore/SegmentSealedImpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/core/src/segcore/SegmentSealedImpl.cpp b/internal/core/src/segcore/SegmentSealedImpl.cpp index 293d9b93ae..6e3d163d71 100644 --- a/internal/core/src/segcore/SegmentSealedImpl.cpp +++ b/internal/core/src/segcore/SegmentSealedImpl.cpp @@ -392,7 +392,7 @@ SegmentSealedImpl::check_search(const query::Plan* plan) const { AssertInfo(plan->extra_info_opt_.has_value(), "Extra info of search plan doesn't have value"); if (!is_system_field_ready()) { - PanicInfo("System Field RowID or Timestamp is not loaded"); + PanicInfo("Segment " + std::to_string(this->id_) + " System Field RowID or Timestamp is not loaded"); } auto& request_fields = plan->extra_info_opt_.value().involved_fields_;