liaoxin01 opened a new pull request, #65049:
URL: https://github.com/apache/doris/pull/65049
### What problem does this PR solve?
Issue Number: None
Related PR: None
Problem Summary: Stream load backend selection could still choose a backend
that is being decommissioned because load availability only checks
alive/load-disabled/shutdown state. This can redirect new stream load requests
to a draining backend. This change adds an explicit non-decommissioned
selection policy and applies it to stream load redirect and transaction stream
load backend selection. Cloud stream load redirect and group commit backend
availability now also skip backends that are decommissioned or decommissioning.
### Release note
None
### Check List (For Author)
- Test: Unit Test
- ./run-fe-ut.sh --run
org.apache.doris.system.SystemInfoServiceTest,org.apache.doris.qe.InsertStreamTxnExecutorTest,org.apache.doris.load.StreamLoadHandlerTest
- Behavior changed: Yes. Stream load backend selection skips decommissioned
and decommissioning backends.
- 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]