morningman opened a new issue #6804:
URL: https://github.com/apache/incubator-doris/issues/6804


   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/incubator-doris/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### Version
   
   trunk 237a8ae
   
   ### What's Wrong?
   
   When handling tablet report from BE, FE will check the storage medium of 
each tablet, and send STORAGE_MIGRATION
   tasks for those tablets which is not located on specified storage medium.
   
   But if there is no target storage medium on BE, the task will be send 
anyway, and error will return like:
   `finish task report bad .... type: STORAGE_MIGRATION ....`
   
   So I think we should check if there exist specified storage medium on BE 
before sending the migration task
   
   ### What You Expected?
   
   Not sending task if there is no specified storage medium on BE.
   Just print a log on FE side, to avoid too many unnecessary tasks.
   
   ### How to Reproduce?
   
   _No response_
   
   ### Anything Else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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]

Reply via email to