[MCOL-3324] Table remains locked after force restart of columnstore system Created: 2019-05-22 Updated: 2021-04-19 Resolved: 2021-01-05 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | cpimport |
| Affects Version/s: | 1.2.4 |
| Fix Version/s: | 5.5.2, 5.6.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Zdravelina Sokolovska (Inactive) | Assignee: | Daniel Lee (Inactive) |
| Resolution: | Fixed | Votes: | 2 |
| Labels: | None | ||
| Environment: |
UM1_PM1-PM2 |
||
| Attachments: |
|
| Description |
|
Table remains locked after force restart of columnstore system expected : clear tables locks after force restart columnstore system Start load data in table catalog_sales with cpimport in mode m1 note : cannot perform clear tableloacks as the PID of the not existing cpimport process is hold in table locks list after restarting
after system has being restarted
after system has being restarted
[root@pm1_1 ~]# ps aux | grep cpimport | grep -v grep |
| Comments |
| Comment by David Hall (Inactive) [ 2020-12-14 ] | |||||||||||||||||||||||||||||||||||||||||||||
|
I tried this in 5.5:
| |||||||||||||||||||||||||||||||||||||||||||||
| Comment by Daniel Lee (Inactive) [ 2021-01-05 ] | |||||||||||||||||||||||||||||||||||||||||||||
|
Build tested: 5.6.1-1 (drone #1437) and develop branch The locking issue no longer exist in 5.6.1-1. The cleartablelock also successfully cleared the lock set by the killed cpimport process without restart mariaDB or mariadb-columnstore. The old expected behavior was that if the lock was set by a process that no longer exist, such as a kill cpimport job, cleartablelock would fail to clear it. A restartsystem command would be needed to clear it. Also, in 5.6.1-1, there is no longer OAM module. | |||||||||||||||||||||||||||||||||||||||||||||
| Comment by Daniel Lee (Inactive) [ 2021-01-05 ] | |||||||||||||||||||||||||||||||||||||||||||||
|
BTW, the "ERROR 2006 (HY000): MySQL server has gone away" msg is expected since the server has been restarted. |