[MCOL-4170] Refactor services/systemd units to finish their bootstrap after they are ready to process network traffic. Created: 2020-07-13 Updated: 2021-01-26 Resolved: 2021-01-26 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 5.5.2 |
| Type: | Task | Priority: | Major |
| Reporter: | Roman | Assignee: | Daniel Lee (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
As of now MCS systemd units relie on the order and sleep. We need to replace sleep with presumably socket activation to start units only after network service is up and running, e.g. start controllernode when at least local workernode is up and running. This is also expected to eliminate the need for an intermediate bash script currently in use, and the need for various sleep calls. |
| Comments |
| Comment by Roman [ 2020-09-02 ] |
|
This approach won't work in non-systemd environment w/o excessive changes in our daemons so we need to abandon this approach IMHO. |
| Comment by Roman [ 2020-11-22 ] |
|
4QA. MCS should just work as previously so the test is to check if it does so. |
| Comment by Daniel Lee (Inactive) [ 2021-01-26 ] |
|
Build verified: 5.5.2 (b1552), develop b1546 The fixed also checked into the develop branch Executed the entire ColumnStore MTR test suite on both branches. Did several multi-node installations with a Maxscale node. |