datasophon icon indicating copy to clipboard operation
datasophon copied to clipboard

[Improvement][worker] Detect the configuration of the path type when the service restarts

Open thomasg19930417 opened this issue 2 years ago • 2 comments

Search before asking

  • [X] I had searched in the issues and found no similar feature requirement.

Description

When the hardware fails, it is mainly the disk. At this time, the service needs to be restarted. For services such as datanode, it is necessary to check whether the relevant data directory exists.There is no need for automatic creation. The code should do this when doing configuration refresh. It didn’t do this when starting the service. I’m not sure if there is an existing corresponding function.

Are you willing to submit a PR?

  • [ ] Yes I am willing to submit a PR!

Code of Conduct

thomasg19930417 avatar Jul 21 '23 06:07 thomasg19930417

Directory configuration is only automatically generated when the configuration is refreshed

datasophon avatar Jul 21 '23 14:07 datasophon

Directory configuration is only automatically generated when the configuration is refreshed

Whether to consider this kind of disk failure in the future, it will be automatically created when the service is restarted, and the probability of this kind of hardware failure is still relatively high when the cluster is large

thomasg19930417 avatar Jul 24 '23 01:07 thomasg19930417