This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch branch-4.2
in repository https://gitbox.apache.org/repos/asf/doris.git
commit 5df8e4ee6f67261118c6c184c2a5f89eb9ff336b
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Thu Sep 10 09:04:31 2026 +0800
branch-4.1: [fix](cloud) Set file cache TTL on cloud schema change output
#67454 (#67686)
Cherry-picked from #67454
Co-authored-by: Xin Liao <[email protected]>
---
be/src/cloud/cloud_schema_change_job.cpp | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/be/src/cloud/cloud_schema_change_job.cpp
b/be/src/cloud/cloud_schema_change_job.cpp
index 66039619716..32b4386e059 100644
--- a/be/src/cloud/cloud_schema_change_job.cpp
+++ b/be/src/cloud/cloud_schema_change_job.cpp
@@ -387,6 +387,11 @@ Status
CloudSchemaChangeJob::_convert_historical_rowsets(const SchemaChangeParam
context.storage_resource =
_cloud_storage_engine.get_storage_resource(sc_params.vault_id);
context.job_id = _job_id;
context.write_file_cache = sc_params.output_to_file_cache;
+ // Schema change output belongs to the new tablet, so it must carry
the tablet TTL
+ // like the load and compaction output does. Otherwise it is cached in
the
+ // NORMAL/INDEX queues here, while every warm-up path downloads it
into the TTL
+ // queue on the destination cluster.
+ context.file_cache_ttl_sec = _new_tablet->ttl_seconds();
context.tablet = _new_tablet;
if (!context.storage_resource) {
return Status::InternalError("vault id not found, maybe not sync,
vault id {}",
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]