Hi, yuyong Thanks a lot for reporting this. As Chris and I are refacting the logic here these days.
In my opinion, not specifying any option not to launch by default is an acceptable behavior. Since we have options in our default scripts, our users won't be affected by this commit. As far as I know, it may be affected only in IDEA, here it mainly affects the developers, so it is better to have an error message. Moreover, +1 for the logical unification of CN and DN Best ------------- Xinyu Tan On 2024/08/28 08:09:55 yu yong wrote: > Hi all, > > Just now I failed to start ConfigNode after pulling the latest commit from > the master branch. > > And I found out that the default startup mode -s or -r was not added after > 38c1d5 > <https://github.com/apache/iotdb/commit/38c1d591acfabdae4bbf542100090652416d2027> > commit, and it didn't report an error. > > So I suggest to add the default startup mode or throw an exception if the > user didn't specify the default startup mode.