matrixone
matrixone copied to clipboard
[Enhancement]: ./mo-server setting
Is there an existing issue for enhancement?
- [X] I have checked the existing issues.
What would you like to be added ?
When we run ./mo-server without the config file, the server asked for some parameters, but none of them is comprehensive for users. I think we need a product design here.
>./mo-server
Usage: ./mo-server configFile
-allocs-profile string
write allocs profile to the specified file
-cpu-profile string
write cpu profile to the specified file
-heap-profile string
write heap profile to the specified file
-heap-profile-threshold uint
take a heap profile if mapped memory changes exceed the specified threshold bytes (default 8589934592)
-http string
start http server at specified address
-log-metrics-interval uint
log metrics every specified seconds. 0 means disable logging (default 23)
Why is this needed ?
No response
Additional information
No response
mo-server will be replaced by mo-service in the coming v0.6 release. all above parameters will be gone.
I think actually it is OK to require a config file. Ship a default/example one. Just fail to start without config file.
@lni to you since mo-service will clean out things. Please reassign if other devs is working on this.