[MCOL-3800] columnstoreDBWrite -c suspend fails if there are writes to the system Created: 2020-02-17 Updated: 2020-03-13 Resolved: 2020-02-28 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | ? |
| Affects Version/s: | 1.4.2 |
| Fix Version/s: | 1.4.3 |
| Type: | Bug | Priority: | Major |
| Reporter: | Jens Röwekamp (Inactive) | Assignee: | Gregory Dorman (Inactive) |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Environment: |
SkySQL - mariadb/skysql-columnstore:1.4.2-2-SKIP-OAM |
||
| Description |
|
Executing `columnstoreDBWrite -c suspend` to a ColumnStore system which is still executing writes doesn't succeed. The return code of the program further doesn't indicate the failure.
It would be better if `columnstoreDBWrite -c suspend` either
In case of an error, I would further expect a return code unequal to 0. |
| Comments |
| Comment by Gregory Dorman (Inactive) [ 2020-02-17 ] |
|
At present we should only do the last part - return code !=0 if it was not able to get the request done. Killing current jobs, or suspending them, is a longer term development. |
| Comment by David Hall (Inactive) [ 2020-02-20 ] |
|
There is an internal mechanism for setting suspend pending while suppressing new writes. This mechanism is used by "mcsadmin suspendDatabaseWrites". It ought to be leveraged here. |
| Comment by Gregory Dorman (Inactive) [ 2020-02-28 ] |
|
Workaround is parse the response - accepted and implemented in SSKY |