Skip to content

Remove hashtable index from memtable#341

Closed
cao1629 wants to merge 372 commits intooceanbase:masterfrom
cao1629:remove-hashtable-v5
Closed

Remove hashtable index from memtable#341
cao1629 wants to merge 372 commits intooceanbase:masterfrom
cao1629:remove-hashtable-v5

Conversation

@cao1629
Copy link
Copy Markdown
Contributor

@cao1629 cao1629 commented Mar 23, 2026

Use btree as the sole index in ObQueryEngine. Add insert_or_get() to ObKeyBtree for atomic insert-or-get semantics. Fold hashtable-based create_kv/ensure_kv into btree-only path. Point lookups now go directly through ObQueryEngine::get() (btree lookup).

Task Description

Solution Description

Passed Regressions

Upgrade Compatibility

Other Information

Release Note

obdev and others added 30 commits November 6, 2025 06:38
Co-authored-by: LINxiansheng <wangzelin19961202@gmail.com>
Co-authored-by: LINxiansheng <wangzelin19961202@gmail.com>
Co-authored-by: LINxiansheng <wangzelin19961202@gmail.com>
Co-authored-by: hnwyllmm <hnwyllmm@126.com>
Co-authored-by: LINxiansheng <wangzelin19961202@gmail.com>
Co-authored-by: hnwyllmm <hnwyllmm@126.com>
Co-authored-by: hnwyllmm <hnwyllmm@126.com>
Co-authored-by: LINxiansheng <wangzelin19961202@gmail.com>
Co-authored-by: footka <672528926@qq.com>
Co-authored-by: LINxiansheng <wangzelin19961202@gmail.com>
obdev and others added 25 commits March 6, 2026 08:15
Co-authored-by: footka <672528926@qq.com>
Co-authored-by: linbo-lin <1434442536@qq.com>
Co-authored-by: stuBirFly <1065492934@qq.com>
Co-authored-by: footka <672528926@qq.com>
Co-authored-by: LINxiansheng <wangzelin19961202@gmail.com>
Co-authored-by: Junkrat77 <2367392933@qq.com>
Co-authored-by: footka <672528926@qq.com>
Co-authored-by: Gmldry <1187044372@qq.com>
Co-authored-by: joseph12138 <17862707376@163.com>
Co-authored-by: Gmldry <1187044372@qq.com>
Co-authored-by: footka <672528926@qq.com>
Co-authored-by: Junkrat77 <2367392933@qq.com>
Co-authored-by: JLY2015 <1623359870@qq.com>
Co-authored-by: footka <672528926@qq.com>
Co-authored-by: joseph12138 <17862707376@163.com>
Use btree as the sole index in ObQueryEngine. Add insert_or_get()
to ObKeyBtree for atomic insert-or-get semantics. Fold hashtable-based
create_kv/ensure_kv into btree-only path. Point lookups now go
directly through ObQueryEngine::get() (btree lookup).
@cao1629 cao1629 changed the title Remove hashtable dependency from memtable Remove hashtable index from memtable Mar 23, 2026
@ob-robot ob-robot force-pushed the master branch 2 times, most recently from 682722e to 993d61e Compare April 23, 2026 13:51
@hnwyllmm hnwyllmm closed this Apr 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants