[MCOL-861] Add way to script "cancel" (or "wait") for "mcsadmin suspendDatabaseWrites y" command Created: 2017-08-07 Updated: 2023-10-26 Resolved: 2017-11-03 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | ? |
| Affects Version/s: | None |
| Fix Version/s: | Icebox |
| Type: | New Feature | Priority: | Major |
| Reporter: | Chris Calender (Inactive) | Assignee: | Todd Stoffel (Inactive) |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Description |
|
If one tries to do run "mcsadmin suspendDatabaseWrites y" during a large insertion, it will ask to either to 'cancel' or 'wait'. It would be great if we could add a way to be able to script it so that one could feed "Cancel" (or "Wait") to the command. |
| Comments |
| Comment by David Thompson (Inactive) [ 2017-08-08 ] |
|
mcsadmin suspendDatabaseWrites y << EOF |
| Comment by David Thompson (Inactive) [ 2017-08-08 ] |
|
Will leave this open as it would be nice to have a cleaner parameter to control this. |
| Comment by David Thompson (Inactive) [ 2017-11-03 ] |
|
This can be achieved with a shell wrapper to redirect input to stdin, for examples see here: I'm not sure there is value in enhancing the command further since this will achieve the desired outcome? |