Skip to content

Conversation

@stuBirdFly
Copy link
Contributor

Summary

Fix the issue where the tablet_id is incorrect when the partition table num is 1

Solution Description

stuBirdFly and others added 2 commits November 11, 2024 15:55
Fix the issue where the tablet_id is incorrect when the partition tab…
@shenyunlong
Copy link
Contributor

LGTM

@shenyunlong shenyunlong merged commit 31027b7 into master Nov 11, 2024
maochongxin pushed a commit that referenced this pull request Nov 25, 2024
WeiXinChan added a commit that referenced this pull request Dec 6, 2024
…gle-partition operation (#178)

* git reset to no test util commit

* add ObFetchPartitionMetaType in request, pass re-fetch meta

* pass all situations to get ODP partition meta

* fix LSBatch in HBase mode, pass getPartition self-testing

* correct format

* revert LSBatch negateHbaseTimestamp

* revert batch atomic change

* correct substr test

* compatible with table master branch

* update addScanRange test with partition

* update odp rpc lock timeout, add odp range query

* add odp refresh lock timeout into initProperties

* remove getPartition with only row key values

* delete useless getStart and getEnd interface in Partition

* format code

* remove testing output

* bugfix hbase mode using odp mode does not add row key; format code

* add exception dealing in fetching odp partition meta

* correct test case

* do not calculate partition_id in ODP mode when using index

* do not calculate partition_id in ODP mode when using index query

* fetch the latest partition information in ocp mode everytime using getPartition

* add refresh flag in getPartition to get latest table and partition information

* Optimize SQL for refreshing table location information

* partical refresh

* Fix infinite loop caused by removed reference

* fix lsop retry fail

* Remove unnecessary comments and format code

* Fix frequent refresh lock failures due to short refresh interval

* Fix frequent refresh lock failures due to short refresh interval

* add result code -4723

* correct test; getPartition with rowKey do not need to add rowKey before

* correct test cases

* fix batch in odp mode after merge

* bugfix query with part_id

* fix review

* add -4138

* fix review: add ut for byteutil

* fix lsop refresh location

* fix: correct reverse-scan results affected by retry logic

* set ODP mode retry number to 3

* revert retry time

* feature: Optimize partial refresh and add retry for executeMutation/query (#213)

* remove lock in refreshTableLocationByTabletId

* fix refresh sql

* fix refresh interval

* add retry logic for common query

* add retry logic for executeMutation

* add retry logic for executeMutation

* add retry logic for ObTableQueryAndMutateRequest

* fix: correct ineffective retry logic

* retry logic for ObTableClient execute

* fix

* fix

* opt for errorMsg when execute batch in the scene of table not exist

* fix ls batch errMsg

* update pom.xml

* remove some unused dependencies in pom.xml

* fix 3.x null exception (#214)

* fix

* fix regress

* [fix] add threshold for refresh table entry with location (#220)

* add threshold for refresh table entry with location

* [Fix] remove TABLE_ENTRY_LOCATION_REFRESH_THRESHOLD in Property

* [Fix] fix compile error

---------

Co-authored-by: shenyunlong.syl <shenyunlong.syl@oceanbase.com>

* Fix the issue where the tablet_id is incorrect when the partition table has a single partition (#226)

* [fix] 3.x compatible (#223)

* fix

* fix

* [fix] test case stuck in await (#227)

* fix

* fix

* refine

* partition=1 error fix

* fix after merge and correct some test cases

* fix getPartition after merge

* add logic id into partition

* fix global index route refresh wrong when route need refresh (#228)

* Fix global route refresh wrong (#231)

* fix global index route refresh wrong when route need refresh

* fix global index route wrong

* revert unused commit

* revert ls batch, do not fetch odp partition meta in ls batch

* [Chore] remove the use of sofa common log

* modify version control for direct-load partition (#236)

* param (#221)

* [fix] multi-cf retry table not exist (#229)

* fix global index route wrong when need partial route refresh (#232)

* fix global index route wrong when need partial route refresh

* Ensure PartitionInfo is Exposed Only After Leader is Found During Single Shard Refresh

---------

Co-authored-by: maochongxin <maochongxin@gmail.com>

* feature: hbase compatible 2.x (#242)

* support hbase scan renewLease (#211)

* hbase tablename bug fix (#237)

* hbase empty family scan error (#239)

* hbase tablename bug fix

* hbase empty family scan error

---------

Co-authored-by: stuBirdFly <84010733+stuBirdFly@users.noreply.github.com>

* everytime force new if flag is true

* add comments

* fix -5150 error and try to refresh route after relogin

* fix getAllPartitionInternal

* fix -5150 tenent not exists

* remove useless import

* revert global index test case

---------

Co-authored-by: maochongxin <maochongxin@gmail.com>
Co-authored-by: GroundWu <1175416256@qq.com>
Co-authored-by: WeiXinChan <chenwx6728@163.com>
Co-authored-by: miyuan-ljr <884244693@qq.com>
Co-authored-by: shenyunlong.syl <shenyunlong.syl@oceanbase.com>
Co-authored-by: stuBirdFly <84010733+stuBirdFly@users.noreply.github.com>
Co-authored-by: medcll <53672709+medcll@users.noreply.github.com>
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.

3 participants