luwei16 opened a new pull request, #68087:
URL: https://github.com/apache/doris/pull/68087
### What problem does this PR solve?
Issue Number: None
Related PR: #67173
Problem Summary: Dropping a base table leaves its table stream object in
metadata, but the table stream metadata function previously reported the
retained stream as enabled and non-stale even though its original base table ID
could no longer be resolved. This change derives the displayed health from the
same base-table lookup used for the identity columns, while preserving the
stream configured state so recovering the original table restores its health.
### Release note
Table streams whose base table is unavailable are now reported as disabled
and stale with an explicit reason.
### Check List (For Author)
- Test: Unit Test
- DropTableStreamTest
- TableStreamManagerCleanupTest
- TableStreamBaseTableInfoTest
- Behavior changed: Yes. Missing-base streams are reported as disabled and
stale.
- Does this need documentation: No
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]