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 f3b023252bf branch-3.0: [feat](debugpoint) add a backup block debug point for ccr test #50380 (#50429) f3b023252bf is described below commit f3b023252bf6944efc97c753cfaf03a5fceda228 Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Sun Apr 27 10:08:42 2025 +0800 branch-3.0: [feat](debugpoint) add a backup block debug point for ccr test #50380 (#50429) Cherry-picked from #50380 Co-authored-by: koarz <li...@selectdb.com> --- .../src/main/java/org/apache/doris/backup/BackupHandler.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/fe/fe-core/src/main/java/org/apache/doris/backup/BackupHandler.java b/fe/fe-core/src/main/java/org/apache/doris/backup/BackupHandler.java index 9a709fa0323..188e07af5a2 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/backup/BackupHandler.java +++ b/fe/fe-core/src/main/java/org/apache/doris/backup/BackupHandler.java @@ -46,6 +46,7 @@ import org.apache.doris.common.ErrorCode; import org.apache.doris.common.ErrorReport; import org.apache.doris.common.Pair; import org.apache.doris.common.io.Writable; +import org.apache.doris.common.util.DebugPointUtil; import org.apache.doris.common.util.MasterDaemon; import org.apache.doris.common.util.TimeUtils; import org.apache.doris.fs.FileSystemFactory; @@ -397,6 +398,14 @@ public class BackupHandler extends MasterDaemon implements Writable { db.readUnlock(); } + while (DebugPointUtil.isEnable("BackupHandler.backup.block")) { + try { + Thread.sleep(100); + } catch (InterruptedException e) { + LOG.info("error ", e); + } + } + List<TableRef> tblRefs = Lists.newArrayList(); if (abstractBackupTableRefClause != null && !abstractBackupTableRefClause.isExclude()) { tblRefs = abstractBackupTableRefClause.getTableRefList(); --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org