Commit 47ad913
Get partition meta for HBase data synchronization and Table batch single-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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
Co-authored-by: GroundWu <[email protected]>
Co-authored-by: WeiXinChan <[email protected]>
Co-authored-by: miyuan-ljr <[email protected]>
Co-authored-by: shenyunlong.syl <[email protected]>
Co-authored-by: stuBirdFly <[email protected]>
Co-authored-by: medcll <[email protected]>1 parent ca68517 commit 47ad913
File tree
42 files changed
+3834
-97
lines changed- src
- main/java/com/alipay/oceanbase/rpc
- bolt
- protocol
- transport
- exception
- location
- model
- partition
- property
- protocol/payload
- impl
- column
- execute
- query
- stream
- table
- test
- java/com/alipay/oceanbase/rpc
- resources
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
42 files changed
+3834
-97
lines changedLines changed: 24 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
| 22 | + | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
| |||
152 | 154 | | |
153 | 155 | | |
154 | 156 | | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
155 | 179 | | |
156 | 180 | | |
157 | 181 | | |
| |||
Lines changed: 443 additions & 5 deletions
Large diffs are not rendered by default.
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
106 | 107 | | |
107 | 108 | | |
108 | 109 | | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
109 | 119 | | |
110 | 120 | | |
111 | 121 | | |
| |||
159 | 169 | | |
160 | 170 | | |
161 | 171 | | |
| 172 | + | |
| 173 | + | |
162 | 174 | | |
163 | 175 | | |
164 | 176 | | |
| |||
Lines changed: 18 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
125 | | - | |
| 125 | + | |
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
142 | | - | |
| 142 | + | |
| 143 | + | |
143 | 144 | | |
144 | 145 | | |
145 | 146 | | |
| |||
193 | 194 | | |
194 | 195 | | |
195 | 196 | | |
| 197 | + | |
| 198 | + | |
196 | 199 | | |
197 | 200 | | |
198 | 201 | | |
199 | 202 | | |
200 | 203 | | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
214 | 217 | | |
215 | 218 | | |
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
84 | 89 | | |
85 | 90 | | |
86 | 91 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | 24 | | |
26 | 25 | | |
27 | 26 | | |
| |||
Lines changed: 14 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | 26 | | |
28 | 27 | | |
| 28 | + | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
| 50 | + | |
49 | 51 | | |
50 | 52 | | |
51 | 53 | | |
52 | 54 | | |
53 | 55 | | |
54 | 56 | | |
55 | 57 | | |
56 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
57 | 61 | | |
58 | 62 | | |
59 | 63 | | |
| |||
156 | 160 | | |
157 | 161 | | |
158 | 162 | | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
159 | 167 | | |
160 | 168 | | |
161 | 169 | | |
| |||
170 | 178 | | |
171 | 179 | | |
172 | 180 | | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
173 | 185 | | |
174 | 186 | | |
175 | 187 | | |
| |||
220 | 232 | | |
221 | 233 | | |
222 | 234 | | |
223 | | - | |
224 | | - | |
225 | 235 | | |
226 | 236 | | |
227 | 237 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
Lines changed: 20 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
27 | 29 | | |
28 | 30 | | |
29 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
30 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
31 | 41 | | |
32 | 42 | | |
33 | 43 | | |
| |||
39 | 49 | | |
40 | 50 | | |
41 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
42 | 62 | | |
43 | 63 | | |
44 | 64 | | |
| |||
86 | 106 | | |
87 | 107 | | |
88 | 108 | | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | 109 | | |
0 commit comments