Skip to content

Commit 8d1ed64

Browse files
committed
Fix sync objectNode error log
1 parent b04bfaa commit 8d1ed64

File tree

1 file changed

+2
-2
lines changed
  • iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/planner/plan/node/write

1 file changed

+2
-2
lines changed

iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/planner/plan/node/write/ObjectNode.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,8 +284,8 @@ public ByteBuffer serialize() {
284284
}
285285
}
286286
}
287-
if (!readSuccess) {
288-
LOGGER.error("Error when read tmp object file {}.", filePath.toString(), ioException);
287+
if (!readSuccess && LOGGER.isDebugEnabled()) {
288+
LOGGER.debug("Error when read object file {}.", filePath.toString(), ioException);
289289
}
290290
ReadWriteIOUtils.write(readSuccess && isEOF, stream);
291291
ReadWriteIOUtils.write(offset, stream);

0 commit comments

Comments
 (0)