Skip to content
Merged
Changes from all commits
Commits
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
4 changes: 4 additions & 0 deletions src/main/java/com/alipay/oceanbase/hbase/OHTable.java
Original file line number Diff line number Diff line change
Expand Up @@ -1266,6 +1266,7 @@ private void innerDelete(Delete delete) throws IOException {
batch(Collections.singletonList(delete));
} catch (Exception e) {
logger.error(LCD.convert("01-00004"), tableNameString, e);
throw e;
}
}

Expand Down Expand Up @@ -1552,6 +1553,9 @@ public void flushCommits() throws IOException {
} catch (Exception e) {
logger.error(LCD.convert("01-00008"), tableNameString, null, autoFlush,
writeBuffer.size(), e);
if (e instanceof IOException) {
throw (IOException) e;
}
} finally {
// mutate list so that it is empty for complete success, or contains
// only failed records results are returned in the same order as the
Expand Down