-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add log for -10500 error * fix: tables with same index name use the same ObIndexinfo
- Loading branch information
Showing
8 changed files
with
135 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
69 changes: 69 additions & 0 deletions
69
src/main/java/com/alipay/oceanbase/rpc/exception/ObTableGlobalIndexRouteException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
/*- | ||
* #%L | ||
* OBKV Table Client Framework | ||
* %% | ||
* Copyright (C) 2021 OceanBase | ||
* %% | ||
* OBKV Table Client Framework is licensed under Mulan PSL v2. | ||
* You can use this software according to the terms and conditions of the Mulan PSL v2. | ||
* You may obtain a copy of Mulan PSL v2 at: | ||
* http://license.coscl.org.cn/MulanPSL2 | ||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, | ||
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, | ||
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE. | ||
* See the Mulan PSL v2 for more details. | ||
* #L% | ||
*/ | ||
|
||
package com.alipay.oceanbase.rpc.exception; | ||
|
||
public class ObTableGlobalIndexRouteException extends ObTableException { | ||
|
||
/* | ||
* Ob table global index route exception. | ||
*/ | ||
public ObTableGlobalIndexRouteException() { | ||
} | ||
|
||
/* | ||
* Ob table global index route exception. | ||
*/ | ||
public ObTableGlobalIndexRouteException(int errorCode) { | ||
super(errorCode); | ||
} | ||
|
||
/* | ||
* Ob table global index route exception. | ||
*/ | ||
public ObTableGlobalIndexRouteException(String message, int errorCode) { | ||
super(message, errorCode); | ||
} | ||
|
||
/* | ||
* Ob table global index route exception. | ||
*/ | ||
public ObTableGlobalIndexRouteException(String message) { | ||
super(message); | ||
} | ||
|
||
/* | ||
* Ob table global index route exception. | ||
*/ | ||
public ObTableGlobalIndexRouteException(String message, Throwable cause) { | ||
super(message, cause); | ||
} | ||
|
||
/* | ||
* Ob table global index route exception. | ||
*/ | ||
public ObTableGlobalIndexRouteException(Throwable cause) { | ||
super(cause); | ||
} | ||
|
||
/* | ||
* Is need refresh table entry. | ||
*/ | ||
public boolean isNeedRefreshTableEntry() { | ||
return false; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters