[MCOL-475] Error in script /usr/local/mariadb/columnstore/bin/rsync.sh Created: 2016-12-20 Updated: 2017-01-20 Resolved: 2017-01-20 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | installation |
| Affects Version/s: | 1.0.6 |
| Fix Version/s: | 1.0.7 |
| Type: | Bug | Priority: | Major |
| Reporter: | Zeng Chun | Assignee: | Daniel Lee (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
CentOS release 6.5 |
||
| Issue Links: |
|
||||||||
| Sprint: | 2016-25, 2017-01, 2017-2 | ||||||||
| Description |
|
Recently, I upgraded the MariaDB Columnstore from 1.0.5 to 1.0.6. It is failed at the step of setting the Replication configuration between UM1 and UM2. I found an error in the script /usr/local/mariadb/columnstore/bin/rsync.sh. I removed the line 25 and the line 57 from the original script so that the postConfigure finished successfully. Thanks. In addition, the setting of AllowVarbinary of WriteEngine in the Columnstore.xml.rpmsave disappeared in the upgraded Columnstore.xml. Please help investigate this issue. Thanks. |
| Comments |
| Comment by David Thompson (Inactive) [ 2016-12-20 ] |
|
It appears that you must use the alter table column syntax which is accepted and updates the comment but doesn't reset the sequence counter: create table t1(i int not null, c char(4)) engine=columnstore comment='autoincrement=i'; create text file with values: cpimport test t1 data1.txt alter table t1 change i i int comment 'autoincrement=i,3'; insert into t1 values (0, 'XYZ') will result in i value of 1 not 3. |
| Comment by David Hill (Inactive) [ 2016-12-21 ] |
|
fixed in repo 1.0.6.1 commit 3844b1e26afc55fd72f0d1669b197eee55252176 oam/install_scripts/rsync.sh | 1 - |
| Comment by David Hill (Inactive) [ 2017-01-09 ] |
|
pull request done |
| Comment by Ben Thompson (Inactive) [ 2017-01-11 ] |
|
Reviewed and merged |
| Comment by David Hill (Inactive) [ 2017-01-16 ] |
|
no sure mysql replication works on root user and non-root user install, rsych script will be the first script that runs. check for errors on the pm1 log file |
| Comment by Daniel Lee (Inactive) [ 2017-01-18 ] |
|
Build tested: Github source build [root@localhost mariadb-columnstore-server]# git show Merge pull request #26 from mariadb-corporation/ Update README.md [root@localhost mariadb-columnstore-server]# cd mariadb-columnstore-engine/ Update README.md for 1.0.7 Line 57 in the original rsync.sh was not removed. That is an extra "}" character. |
| Comment by Daniel Lee (Inactive) [ 2017-01-20 ] |
|
Build verified: 1.0.7-1 mcsadmin> getsoft Name : mariadb-columnstore-platform Verified the last extra } has been removed. |