This is an automated email from the ASF dual-hosted git repository.
morningman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new 3e9e8becc65 [fix](regression) Add auto-expired prefix for
backup/restore cases (#26272)
3e9e8becc65 is described below
commit 3e9e8becc652638a96dba0f565f56554299864e5
Author: walter <[email protected]>
AuthorDate: Thu Nov 2 15:21:43 2023 +0800
[fix](regression) Add auto-expired prefix for backup/restore cases (#26272)
---
.../src/main/groovy/org/apache/doris/regression/suite/Syncer.groovy | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git
a/regression-test/framework/src/main/groovy/org/apache/doris/regression/suite/Syncer.groovy
b/regression-test/framework/src/main/groovy/org/apache/doris/regression/suite/Syncer.groovy
index cf6a6bd6af8..493c4daa493 100644
---
a/regression-test/framework/src/main/groovy/org/apache/doris/regression/suite/Syncer.groovy
+++
b/regression-test/framework/src/main/groovy/org/apache/doris/regression/suite/Syncer.groovy
@@ -792,7 +792,11 @@ class Syncer {
String externalStoragePrefix() {
String feAddr = "${context.config.feTargetThriftNetworkAddress}"
int code = feAddr.hashCode();
- ((code < 0) ? -code : code).toString()
+ String id = ((code < 0) ? -code : code).toString()
+
+ // An expiration time is configured for the prefix
'doris_build_backup_restore/*'
+ // to ensure that the data generated by the regression test will be
deleted.
+ "doris_build_backup_restore/${id}"
}
void createS3Repository(String name, boolean readOnly = false) {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]