Skip to content

fix coredump in hgraph when using empty parameter#885

Merged
inabao merged 2 commits into
mainfrom
fix-core-hgrapj
Jul 4, 2025
Merged

fix coredump in hgraph when using empty parameter#885
inabao merged 2 commits into
mainfrom
fix-core-hgrapj

Conversation

@inabao

@inabao inabao commented Jul 3, 2025

Copy link
Copy Markdown
Collaborator

closed: #883

Signed-off-by: jinjiabao.jjb <jinjiabao.jjb@antgroup.com>
@inabao inabao self-assigned this Jul 3, 2025
@inabao
inabao requested review from jiaweizone and wxyucs as code owners July 3, 2025 11:04
@inabao inabao added kind/bug Bug fixes, defects, or unexpected behavior 修复程序错误、缺陷或异常行为 version/0.16 1. Add SINDI 2. Extend HGraph 1. 新增SINDI 2. 扩展 HGraph needs-cherry-pick-release-0.15 labels Jul 3, 2025
@inabao inabao changed the title fix coredump in hgraph when useing empty parameter fix coredump in hgraph when using empty parameter Jul 3, 2025

@wxyucs wxyucs left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@codecov

codecov Bot commented Jul 3, 2025

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

@@            Coverage Diff             @@
##             main     #885      +/-   ##
==========================================
+ Coverage   90.08%   90.36%   +0.27%     
==========================================
  Files         224      224              
  Lines       15026    15026              
==========================================
+ Hits        13536    13578      +42     
+ Misses       1490     1448      -42     
Flag Coverage Δ
cpp 90.36% <ø> (+0.27%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
common 92.73% <ø> (ø)
datacell 90.94% <ø> (-0.34%) ⬇️
index 88.41% <ø> (+0.09%) ⬆️
simd 100.00% <ø> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 25889d6...a1ac547. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Comment thread src/algorithm/hgraph.cpp Outdated
"{SQ4_UNIFORM_QUANTIZATION_TRUNC_RATE}": 0.05,
"{PCA_DIM}": 0,
"{PRODUCT_QUANTIZATION_DIM}": 0
"{PRODUCT_QUANTIZATION_DIM}": 32

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 is better, some times dim may lower than 32

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Signed-off-by: jinjiabao.jjb <jinjiabao.jjb@antgroup.com>

@LHT129 LHT129 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@inabao
inabao merged commit e352d90 into main Jul 4, 2025
23 of 24 checks passed
@inabao
inabao deleted the fix-core-hgrapj branch July 4, 2025 07:32
@wxyucs

wxyucs commented Jul 4, 2025

Copy link
Copy Markdown
Collaborator

@inabao this pull request cannot cherry-pick to 0.15, because there is a merge conflict, please create a new pull request to branch 0.15

jingyueob pushed a commit to jingyueob/vsag that referenced this pull request Jul 15, 2025
Signed-off-by: jinjiabao.jjb <jinjiabao.jjb@antgroup.com>
Signed-off-by: jingyue.zjl <jingyue.zjl@oceanbase.com>
LHT129 pushed a commit to LHT129/vsag that referenced this pull request Apr 16, 2026
Signed-off-by: jinjiabao.jjb <jinjiabao.jjb@antgroup.com>
LHT129 pushed a commit that referenced this pull request May 11, 2026
Signed-off-by: jinjiabao.jjb <jinjiabao.jjb@antgroup.com>
Signed-off-by: LHT129 <tianlan.lht@antgroup.com>
Sia-Sheerland pushed a commit to Sia-Sheerland/vsag that referenced this pull request Jun 26, 2026
Signed-off-by: jinjiabao.jjb <jinjiabao.jjb@antgroup.com>
Signed-off-by: Sia Sheerland <x1075956441x@163.com>

Signed-off-by: Sia Sheerland <x1075956441x@163.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/bug Bug fixes, defects, or unexpected behavior 修复程序错误、缺陷或异常行为 module/testing size/M version/0.16 1. Add SINDI 2. Extend HGraph 1. 新增SINDI 2. 扩展 HGraph

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[0.15.0] create hgraph index crash when index_param is empty

3 participants