[MCOL-39] console command "getSystemConfig" return API for some parameter names Created: 2016-05-05 Updated: 2023-10-26 Resolved: 2016-08-02 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | ? |
| Affects Version/s: | None |
| Fix Version/s: | 1.0.2 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Daniel Lee (Inactive) | Assignee: | Ben Thompson (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Sprint: | 1.0.2-2 |
| Description |
|
"getSystemConfig" or "getSystemConfig all" returned all parameters as expected. But when trying to return individual parameters values, some of the failed. InfiniDB> getsystemconfig System Configuration SystemName = calpont-1
If these parameters are not defined in the system, then we should return as such. |
| Comments |
| Comment by David Hill (Inactive) [ 2016-08-02 ] |
|
After investigtaing the issue and discussing with Daniel, I'm going to remove the commands getsystemconfig and setsystemconfig as the fix for this issue. These were originally added so a user could use the get to display the system configuration parameters and use the set to change them. BUT there are a number of system parameters we don't want to user to change. So it's best to just remove these instead of trying to update them to make them accurately show the correct parameters. The recommended way to change a parameter is using the setConfig.sh command. Plus I'm pretty sure there aren't any customers that ever used this to display or set the parmaters. So removing them will not impact anybody, but we can document in the readme that they are removed and they can use the getConfig and setConfig scripts instead. |
| Comment by David Hill (Inactive) [ 2016-08-02 ] |
|
please review, easy review. removed 2 commands from mcsadmin console getsystemconfig commit 60fe260033bfb70d8909d44b560b546521ebf49a mcol-39 oam/etc/ConsoleCmds.xml | 11 +---- |
| Comment by Ben Thompson (Inactive) [ 2016-08-02 ] |
|
Review Completed |