weizuo93 opened a new pull request, #10711: URL: https://github.com/apache/doris/pull/10711
# Proposed changes Issue Number: close #10708 ## Problem Summary: There may be some exceptions that cause segment to be lost on BE node. However, the metadata shows that the tablet is normal. This abnormal replica is not detected by FE and cannot be automatically repaired.When query comes, exception information is thrown that `failed to initialize storage reader`. I think we'd better be able to check tablet segment lost. This patch add a interface to check tablet segment lost. ``` curl -X GET http://be_host:webserver_port/api/check_tablet_segment_existence ``` The return of the interface is all tablets on the current BE node that have lost segment. ``` { msg: "Succeed to check all tablet segment", num: 3, bad_tablets: [ 11190, 11210, 11216 ], host: "172.3.0.101" } ``` ## Checklist(Required) 1. Does it affect the original behavior: (No) 2. Has unit tests been added: (No Need) 3. Has document been added or modified: (Yes) 4. Does it need to update dependencies: (No) 5. Are there any changes that cannot be rolled back: (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: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org