[MDEV-25759] wsrep_sst_rsync.sh is_local_ip function can come to incorrect conclusion Created: 2021-05-22 Updated: 2021-08-24 Resolved: 2021-05-23 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Galera SST |
| Affects Version/s: | 10.2, 10.3, 10.4, 10.5, 10.6 |
| Fix Version/s: | 10.6.2, 10.2.39, 10.3.30, 10.4.20, 10.5.11 |
| Type: | Bug | Priority: | Major |
| Reporter: | Julius Goryavsky | Assignee: | Julius Goryavsky |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||
| Description |
|
The is_local_ip function now incorrectly identifies ip-addresses falling under the "127.0.0.0/8" netmask as non-local, although they certainly belong to the loopback interface. This problem was discovered and discussed in detail in the description of the MENT-1170 issue, however, this bug needs to be fixed for CS editions as well (because from my point of view, this is just an error in the script, and not a feature request for ES editions). |
| Comments |
| Comment by Julius Goryavsky [ 2021-05-22 ] |
|
Since SST scripts were heavily reworked by me, I also corrected this flaw (this task is identical to MENT-1170 - only this one is for CS): https://github.com/MariaDB/server/commit/d80d7f6f1229ff3c3d29cf045816c17a82bfbb26 |
| Comment by Jan Lindström (Inactive) [ 2021-05-23 ] |
|
ok to push |
| Comment by Julius Goryavsky [ 2021-05-23 ] |
|
Fixed, https://github.com/MariaDB/server/commit/c88e9342f37fff6d7757e4f7c6dcc5a7c44e2217 |