- Notifications
You must be signed in to change notification settings - Fork5
Commit3892a2d
committed
Fix canAcceptConnections() bugs introduced by replication-related patches.
We must not return any "okay to proceed" result code without having checkedfor too many children, else we might fail later on when trying to add thenew child to one of the per-child state arrays. It's not clear whetherthis oversight explains Stefan Kaltenbrunner's recent report, but it couldcertainly produce a similar symptom.Back-patch to 8.4; the logic was not broken before that.1 parent1bd2012 commit3892a2d
1 file changed
+19
-14
lines changedLines changed: 19 additions & 14 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
350 | 350 |
| |
351 | 351 |
| |
352 | 352 |
| |
353 |
| - | |
| 353 | + | |
354 | 354 |
| |
355 | 355 |
| |
356 | 356 |
| |
| |||
1908 | 1908 |
| |
1909 | 1909 |
| |
1910 | 1910 |
| |
1911 |
| - | |
| 1911 | + | |
1912 | 1912 |
| |
1913 | 1913 |
| |
| 1914 | + | |
| 1915 | + | |
1914 | 1916 |
| |
1915 | 1917 |
| |
1916 | 1918 |
| |
1917 | 1919 |
| |
1918 | 1920 |
| |
1919 | 1921 |
| |
1920 | 1922 |
| |
| 1923 | + | |
| 1924 | + | |
1921 | 1925 |
| |
1922 | 1926 |
| |
1923 | 1927 |
| |
1924 | 1928 |
| |
1925 |
| - | |
1926 |
| - | |
| 1929 | + | |
| 1930 | + | |
1927 | 1931 |
| |
1928 |
| - | |
1929 |
| - | |
1930 |
| - | |
1931 |
| - | |
1932 |
| - | |
1933 |
| - | |
1934 |
| - | |
1935 |
| - | |
| 1932 | + | |
| 1933 | + | |
| 1934 | + | |
| 1935 | + | |
| 1936 | + | |
| 1937 | + | |
| 1938 | + | |
| 1939 | + | |
| 1940 | + | |
1936 | 1941 |
| |
1937 | 1942 |
| |
1938 | 1943 |
| |
| |||
1948 | 1953 |
| |
1949 | 1954 |
| |
1950 | 1955 |
| |
1951 |
| - | |
| 1956 | + | |
1952 | 1957 |
| |
1953 |
| - | |
| 1958 | + | |
1954 | 1959 |
| |
1955 | 1960 |
| |
1956 | 1961 |
| |
|
0 commit comments
Comments
(0)