diff --git a/iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/pipe/extractor/ConfigRegionListeningQueue.java b/iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/pipe/extractor/ConfigRegionListeningQueue.java index 36d489f27521..8fe2dce73a8f 100644 --- a/iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/pipe/extractor/ConfigRegionListeningQueue.java +++ b/iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/pipe/extractor/ConfigRegionListeningQueue.java @@ -155,8 +155,7 @@ protected Event deserializeFromByteBuffer(final ByteBuffer byteBuffer) { /////////////////////////////// Snapshot /////////////////////////////// @Override - public synchronized boolean processTakeSnapshot(final File snapshotDir) - throws IOException { + public synchronized boolean processTakeSnapshot(final File snapshotDir) throws IOException { try { return super.serializeToFile(new File(snapshotDir, SNAPSHOT_FILE_NAME)); } catch (final IOException e) { @@ -171,7 +170,7 @@ public synchronized void processLoadSnapshot(final File snapshotDir) throws TException, IOException { try { super.deserializeFromFile(new File(snapshotDir, SNAPSHOT_FILE_NAME)); - }catch (final IOException e) { + } catch (final IOException e) { throw e; } catch (final Exception e) { throw new IOException(e);