mirror of
https://github.com/alibaba/canal.git
synced 2026-11-04 00:30:15 +08:00
fixed issue #482 , retry for getTableMetaByDB
This commit is contained in:
@@ -53,7 +53,7 @@ public class TableMetaCache {
|
||||
public TableMeta load(String name) throws Exception {
|
||||
try {
|
||||
return getTableMetaByDB(name);
|
||||
} catch (CanalParseException e) {
|
||||
} catch (Throwable e) {
|
||||
// 尝试做一次retry操作
|
||||
try {
|
||||
connection.reconnect();
|
||||
|
||||
Reference in New Issue
Block a user