Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add error code -5627 #241

Open
wants to merge 34 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
ecf8cc6
Optimize SQL for refreshing table location information
maochongxin Sep 19, 2024
a82d5d0
partical refresh
maochongxin Sep 24, 2024
6874323
Fix infinite loop caused by removed reference
maochongxin Oct 10, 2024
1d46a86
fix lsop retry fail
maochongxin Oct 14, 2024
8d60c55
Remove unnecessary comments and format code
maochongxin Oct 15, 2024
22eeb36
Fix frequent refresh lock failures due to short refresh interval
maochongxin Oct 18, 2024
73ef9aa
Fix frequent refresh lock failures due to short refresh interval
maochongxin Oct 18, 2024
a46e2b0
add result code -4723
maochongxin Oct 18, 2024
fb03d26
fix review
maochongxin Oct 23, 2024
e5762f4
add -4138
maochongxin Oct 23, 2024
4c630ee
fix review: add ut for byteutil
maochongxin Oct 25, 2024
64926a4
fix lsop refresh location
maochongxin Oct 25, 2024
e5e8687
Merge pull request #204 from oceanbase/retry_batchops_merge_master
maochongxin Oct 25, 2024
c8e655a
fix: correct reverse-scan results affected by retry logic
maochongxin Oct 28, 2024
bec5329
Merge pull request #208 from oceanbase/fix-rescan-result-error
maochongxin Oct 28, 2024
a53ba60
feature: Optimize partial refresh and add retry for executeMutation/q…
maochongxin Nov 4, 2024
f56010d
opt for errorMsg when execute batch in the scene of table not exist
GroundWu Nov 5, 2024
6d00f65
fix ls batch errMsg
GroundWu Nov 5, 2024
af579af
update pom.xml
WeiXinChan Nov 5, 2024
9f96bbf
remove some unused dependencies in pom.xml
WeiXinChan Nov 5, 2024
07c37aa
fix 3.x null exception (#214)
miyuan-ljr Nov 5, 2024
e053056
Merge pull request #216 from WeiXinChan/pom
GroundWu Nov 5, 2024
6afeb69
[fix] add threshold for refresh table entry with location (#220)
maochongxin Nov 7, 2024
31027b7
Fix the issue where the tablet_id is incorrect when the partition tab…
stuBirdFly Nov 11, 2024
2bac7bb
[fix] 3.x compatible (#223)
miyuan-ljr Nov 11, 2024
142249c
[fix] test case stuck in await (#227)
miyuan-ljr Nov 12, 2024
dc0be4b
fix global index route refresh wrong when route need refresh (#228)
GroundWu Nov 12, 2024
684a44e
Fix global route refresh wrong (#231)
GroundWu Nov 14, 2024
121b970
[Chore] remove the use of sofa common log
shenyunlong Nov 20, 2024
d524ae3
modify version control for direct-load partition (#236)
medcll Nov 20, 2024
d0701b6
param (#221)
miyuan-ljr Nov 21, 2024
a13481f
Merge pull request #235 from oceanbase/remove_sofa_log
stuBirdFly Nov 21, 2024
cd42200
[fix] multi-cf retry table not exist (#229)
maochongxin Nov 21, 2024
88d7c02
add error code 5627
maochongxin Nov 22, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
83 changes: 54 additions & 29 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,24 @@
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>testcontainers-bom</artifactId>
<version>1.15.3</version>
<type>pom</type>
<scope>import</scope>
<groupId>com.alipay.sofa.common</groupId>
<artifactId>sofa-common-tools</artifactId>
<version>1.3.12</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.7.36</version>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>31.1-jre</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.2</version>
</dependency>
</dependencies>
</dependencyManagement>
Expand All @@ -67,7 +80,6 @@
<dependency>
<groupId>com.alipay.sofa.common</groupId>
<artifactId>sofa-common-tools</artifactId>
<version>1.3.12</version>
</dependency>

<dependency>
Expand All @@ -91,21 +103,6 @@
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>31.1-jre</version>
</dependency>

<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<version>5.2.25.RELEASE</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-beans</artifactId>
<version>5.2.25.RELEASE</version>
<scope>test</scope>
</dependency>

<dependency>
Expand All @@ -129,13 +126,11 @@
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.7.36</version>
</dependency>

<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.2</version>
<scope>test</scope>
</dependency>

Expand All @@ -144,6 +139,12 @@
<artifactId>powermock-api-mockito2</artifactId>
<version>2.0.9</version>
<scope>test</scope>
<exclusions>
<exclusion>
<artifactId>objenesis</artifactId>
<groupId>org.objenesis</groupId>
</exclusion>
</exclusions>
</dependency>

<dependency>
Expand All @@ -154,15 +155,21 @@
</dependency>

<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>1.2.12</version>
<groupId>org.testcontainers</groupId>
<artifactId>jdbc</artifactId>
<scope>test</scope>
<version>1.15.3</version>
<exclusions>
<exclusion>
<groupId>org.rnorth.visible-assertions</groupId>
<artifactId>visible-assertions</artifactId>
</exclusion>
</exclusions>
</dependency>

<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>jdbc</artifactId>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>1.2.12</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down Expand Up @@ -361,6 +368,24 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.0.0-M3</version>
<executions>
<execution>
<id>enforce-dependency-convergence</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<DependencyConvergence/>
</rules>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
Expand Down
5 changes: 2 additions & 3 deletions src/main/java/com/alipay/oceanbase/rpc/ObGlobal.java
Original file line number Diff line number Diff line change
Expand Up @@ -83,15 +83,14 @@ public static String getObVsnString(long version) {

public static boolean isLsOpSupport() {
return OB_VERSION >= OB_VERSION_4_2_3_0 && OB_VERSION < OB_VERSION_4_3_0_0
|| OB_VERSION >= OB_VERSION_4_3_4_0;
|| OB_VERSION >= OB_VERSION_4_3_4_0;
}

public static boolean isReturnOneResultSupport() {
return OB_VERSION >= OB_VERSION_4_2_3_0 && OB_VERSION < OB_VERSION_4_3_0_0
|| OB_VERSION >= OB_VERSION_4_3_4_0;
|| OB_VERSION >= OB_VERSION_4_3_4_0;
}


public static final long OB_VERSION_4_2_3_0 = calcVersion(4, (short) 2, (byte) 3, (byte) 0);

public static final long OB_VERSION_4_3_0_0 = calcVersion(4, (short) 3, (byte) 0, (byte) 0);
Expand Down
Loading
Loading