This is an automated email from the ASF dual-hosted git repository.
morrysnow pushed a commit to branch branch-3.1
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-3.1 by this push:
new 31788d4f336 branch-3.1: [chore](FE) Log meta module size when doing
checkpoint #58478 (#58501)
31788d4f336 is described below
commit 31788d4f33684fcfc97a44739780e21810c95ce3
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Tue Dec 2 14:27:54 2025 +0800
branch-3.1: [chore](FE) Log meta module size when doing checkpoint #58478
(#58501)
Cherry-picked from #58478
Co-authored-by: Gavin Chou <[email protected]>
---
fe/fe-core/src/main/java/org/apache/doris/persist/meta/MetaWriter.java | 3 +++
1 file changed, 3 insertions(+)
diff --git
a/fe/fe-core/src/main/java/org/apache/doris/persist/meta/MetaWriter.java
b/fe/fe-core/src/main/java/org/apache/doris/persist/meta/MetaWriter.java
index 56bbbc196e5..fe219c8ab4f 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/persist/meta/MetaWriter.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/persist/meta/MetaWriter.java
@@ -113,11 +113,14 @@ public class MetaWriter {
// 2. write other modules
for (MetaPersistMethod m : PersistMetaModules.MODULES_IN_ORDER) {
checksum.setRef(writer.doWork(m.name, () -> {
+ long cnt1 = dos.getCount();
try {
return (long) m.writeMethod.invoke(env, dos,
checksum.getRef());
} catch (IllegalAccessException |
InvocationTargetException e) {
LOG.warn("failed to write meta module: {}", m.name, e);
throw new RuntimeException(e);
+ } finally {
+ LOG.info("write meta module: {} size in bytes: {}",
m.name, dos.getCount() - cnt1);
}
}));
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]