Closed joedevivo closed 10 years ago
Something needs to be done for 2.0
even if it's just a disclaimer. bottom line is that even if it can't be accurate, which I think it can be, it can't lie
riak config effective
should also be tested for nodes configured with legacy app.config and vm.args, and at the very least print an error message that these legacy files are not supported by 'effective'
The testing should be tagged with 'test' and 'resilience'.
@cmeiklejohn the testing of this is covered by #142
all eunit tests pass: https://gist.github.com/metadave/9896753
it looks like advanced.config vars that don't have a cuttlefish equiv (such as repl) won't show up in the output.
latest eunit output: https://gist.github.com/metadave/9901069
+1 52e963d
@borshop merge
Super pedantic, but in the future I'd really like to see commit histories like this squash so there aren't a bunch of broken WIP intermediary commits in the history.
+1 to that @cmeiklejohn
This is a tricky one, I'd like to get one of the following solutions in for riak's 2.0 release:
Option 1
simply cat the advanced.config at the end of the output of the effective conf. It will at least indicate to the user that these values are detected and being used.
Option 2
Since we know which app.config values a cuttlefish variable will effect, we could include some kind of indicator that it is overridden in advanced.config.
e.g.
I think this option is more friendly to commandline querying of effective confs. grep etc...