[MCOL-386] postConfigure should show cause of write error. Created: 2016-11-02  Updated: 2017-12-01  Resolved: 2016-11-22

Status: Closed
Project: MariaDB ColumnStore
Component/s: installation
Affects Version/s: 1.0.4
Fix Version/s: 1.0.5

Type: New Feature Priority: Major
Reporter: Andrew Hutchings (Inactive) Assignee: Daniel Lee (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Sprint: 2016-21, 2016-22, 2016-23

 Description   

in helpers.cpp the writeConfig try...catch block ignores the error message and just returns when there is an error. An error here could be for many different reasons including XML issues. We should change this to something like:

catch(const std::exception &exc)
{
    std::cerr << exc.what() << std::endl;
}



 Comments   
Comment by Andrew Hutchings (Inactive) [ 2016-11-15 ]

Testing should probably be:

We don't spit out anything strange and unexpected during postConfigure.

Comment by Daniel Lee (Inactive) [ 2016-11-22 ]

Build verified: 1.0.5-1
mcsadmin> getsoft
getsoftwareinfo Tue Nov 22 10:13:49 2016

Name : mariadb-columnstore-platform
Version : 1.0.5
Release : 1
Architecture: x86_64
Install Date: Tue 22 Nov 2016 10:10:12 AM CST
Group : Applications/Databases
Size : 9990112
License : Copyright (c) 2016 MariaDB Corporation Ab., all rights reserved; redistributable under the terms of the GPL, see the file COPYING for details.
Signature : (none)
Source RPM : mariadb-columnstore-platform-1.0.5-1.src.rpm
Build Date : Mon 21 Nov 2016 07:29:37 PM CST

Verified by regression of postConfigure.

Generated at Thu Feb 08 02:20:41 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.