This is an automated email from the ASF dual-hosted git repository.
yongzao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/master by this push:
new 097be8b989d More detailed log when the partition consensus write
failed (#16193)
097be8b989d is described below
commit 097be8b989dff40a603388099115f05ae7b4da15
Author: Yongzao <[email protected]>
AuthorDate: Mon Aug 18 13:38:44 2025 +0800
More detailed log when the partition consensus write failed (#16193)
---
.../org/apache/iotdb/confignode/manager/partition/PartitionManager.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/partition/PartitionManager.java
b/iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/partition/PartitionManager.java
index 8259efb567f..fbbcb3cfa68 100644
---
a/iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/partition/PartitionManager.java
+++
b/iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/partition/PartitionManager.java
@@ -522,7 +522,7 @@ public class PartitionManager {
return getConsensusManager().write(plan);
} catch (ConsensusException e) {
// The allocation might fail due to consensus error
- LOGGER.error("Write partition allocation result failed because: {}",
status);
+ LOGGER.error("Write partition allocation result failed because: {}",
e.getMessage());
TSStatus res = new
TSStatus(TSStatusCode.EXECUTE_STATEMENT_ERROR.getStatusCode());
res.setMessage(e.getMessage());
return res;