This is an automated email from the ASF dual-hosted git repository.
dataroaring pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-3.0 by this push:
new e3b48c80a3a branch-3.0: [opt](fe) Try to avoid `meta out of date` log
when non-master fe starting #48395 (#48448)
e3b48c80a3a is described below
commit e3b48c80a3a6d564641315fc204098fea60a12c0
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Fri Feb 28 17:14:43 2025 +0800
branch-3.0: [opt](fe) Try to avoid `meta out of date` log when non-master
fe starting #48395 (#48448)
Cherry-picked from #48395
Co-authored-by: Lei Zhang <[email protected]>
---
fe/fe-core/src/main/java/org/apache/doris/catalog/Env.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fe/fe-core/src/main/java/org/apache/doris/catalog/Env.java
b/fe/fe-core/src/main/java/org/apache/doris/catalog/Env.java
index e2cc7177bf4..c75609a4c7b 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/catalog/Env.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/catalog/Env.java
@@ -2751,7 +2751,7 @@ public class Env {
public void createReplayer() {
replayer = new Daemon("replayer", REPLAY_INTERVAL_MS) {
// Avoid numerous 'meta out of date' log
- private long lastLogMetaOutOfDateTime = 0;
+ private long lastLogMetaOutOfDateTime = System.currentTimeMillis();
@Override
protected void runOneCycle() {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]