Skip to content

Commit c4d5d07

Browse files
committed
remove redundant exception catch
1 parent a991be7 commit c4d5d07

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/main/java/com/alipay/oceanbase/hbase/OHTable.java

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1526,13 +1526,7 @@ public void flushCommits() throws IOException {
15261526
if (mutator == null) {
15271527
return;
15281528
}
1529-
try {
1530-
mutator.flush();
1531-
} catch (Exception e) {
1532-
throw new IOException("put table " + tableNameString + " error codes " + null
1533-
+ " auto flush " + autoFlush + " current buffer size "
1534-
+ mutator.getCurrentBufferSize(), e);
1535-
}
1529+
mutator.flush();
15361530
}
15371531

15381532
@Override

0 commit comments

Comments
 (0)