matrixone icon indicating copy to clipboard operation
matrixone copied to clipboard

[Enhancement]: ./mo-server setting

Open dengn opened this issue 2 years ago • 3 comments

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

dengn avatar Aug 02 '22 13:08 dengn

mo-server will be replaced by mo-service in the coming v0.6 release. all above parameters will be gone.

lni avatar Aug 03 '22 12:08 lni

I think actually it is OK to require a config file. Ship a default/example one. Just fail to start without config file.

fengttt avatar Aug 12 '22 03:08 fengttt

@lni to you since mo-service will clean out things. Please reassign if other devs is working on this.

fengttt avatar Aug 12 '22 03:08 fengttt