[MCOL-4224] Improve error message: "Failed to open file: /var/lib/columnstore/data1/systemFiles/dbrm/tablelocks" Created: 2020-07-30 Updated: 2020-08-03 Resolved: 2020-08-03 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | N/A |
| Affects Version/s: | 1.5.3 |
| Fix Version/s: | N/A |
| Type: | New Feature | Priority: | Major |
| Reporter: | Geoff Montee (Inactive) | Assignee: | Todd Stoffel (Inactive) |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||
| Description |
|
I'm testing multi-node ColumnStore on Ubuntu 20.04 with MariaDB Enterprise Server 10.5.4-2 and ColumnStore 1.5.3. When I try to add a second node to the cluster, the syslog contains errors like this:
It is true that this file does not exist:
This error happens every time the mcs-controllernode process is started on a non-primary node:
I have been told that this is probably "normal" for a non-primary node. If so, then the error message should be improved to clarify that this error is not serious. If the mcs-controllernode process isn't supposed to run at all on non-primary nodes, then it might be best to avoid starting the process on those nodes in general. Why is ColumnStore starting a process that it doesn't need? |
| Comments |
| Comment by Todd Stoffel (Inactive) [ 2020-08-03 ] | ||||||||||||||||||||||||||||
|
I cannot reproduce this issue. Maybe there is a timing problem on your system. Try to increase the timeout in your api calls. | ||||||||||||||||||||||||||||
| Comment by Geoff Montee (Inactive) [ 2020-08-03 ] | ||||||||||||||||||||||||||||
|
This seems to be unrelated to the API timeouts. This error happens when the mcs-controllernode process tries to start:
But if I manually restart the process:
Then it seems to ignore the error:
| ||||||||||||||||||||||||||||
| Comment by Geoff Montee (Inactive) [ 2020-08-03 ] | ||||||||||||||||||||||||||||
|
This error is very easy for me to reproduce. It happens every time I restart the mcs-controllernode process on the non-primary nodes. See here:
And I can do it again too:
| ||||||||||||||||||||||||||||
| Comment by Todd Stoffel (Inactive) [ 2020-08-03 ] | ||||||||||||||||||||||||||||
|
Controller functions do not need to run on replicas. This is a primary only function. The journal entry is expected and perfectly fine. |