From b1afd3ea2f71a2f28871418edb28ec976939f709 Mon Sep 17 00:00:00 2001 From: Cai Yudong Date: Thu, 18 May 2023 17:57:23 +0800 Subject: [PATCH] Update knowhere commit to fix BIN_IVF_FLAT upgrade (#24187) Signed-off-by: Yudong Cai --- internal/core/src/common/Utils.h | 4 ++++ internal/core/thirdparty/knowhere/CMakeLists.txt | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/internal/core/src/common/Utils.h b/internal/core/src/common/Utils.h index 089a2b3c4..5f80678da 100644 --- a/internal/core/src/common/Utils.h +++ b/internal/core/src/common/Utils.h @@ -200,6 +200,10 @@ MatchKnowhereError(knowhere::Status status) { return "err: invalid value in json"; case knowhere::Status::arithmetic_overflow: return "err: arithmetic overflow"; + case knowhere::Status::raft_inner_error: + return "err: raft inner error"; + case knowhere::Status::invalid_binary_set: + return "err: invalid binary set"; default: return "not match the error type in knowhere"; } diff --git a/internal/core/thirdparty/knowhere/CMakeLists.txt b/internal/core/thirdparty/knowhere/CMakeLists.txt index 30e5d4e9a..61fc989a3 100644 --- a/internal/core/thirdparty/knowhere/CMakeLists.txt +++ b/internal/core/thirdparty/knowhere/CMakeLists.txt @@ -11,7 +11,7 @@ # or implied. See the License for the specific language governing permissions and limitations under the License. #------------------------------------------------------------------------------- -set( KNOWHERE_VERSION fbf2b6e6 ) +set( KNOWHERE_VERSION ebc957d ) message(STATUS "Building knowhere-${KNOWHERE_SOURCE_VER} from source") message(STATUS ${CMAKE_BUILD_TYPE}) -- GitLab