forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitacd4c7d
committed
Fix an issue in recent walwriter hibernation patch.
Users of asynchronous-commit mode expect there to be a guaranteed maximumdelay before an async commit's WAL records get flushed to disk. Theoriginal version of the walwriter hibernation patch broke that. Add anextra shared-memory flag to allow async commits to kick the walwriter outof hibernation mode, without adding any noticeable overhead in cases whereno action is needed.1 parent8b77e22 commitacd4c7d
File tree
3 files changed
+60
-7
lines changed- src
- backend
- access/transam
- postmaster
- include/access
3 files changed
+60
-7
lines changedLines changed: 41 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
426 | 426 |
| |
427 | 427 |
| |
428 | 428 |
| |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
429 | 436 |
| |
430 | 437 |
| |
431 | 438 |
| |
| |||
1903 | 1910 |
| |
1904 | 1911 |
| |
1905 | 1912 |
| |
1906 |
| - | |
| 1913 | + | |
1907 | 1914 |
| |
1908 | 1915 |
| |
1909 | 1916 |
| |
1910 | 1917 |
| |
1911 | 1918 |
| |
1912 | 1919 |
| |
| 1920 | + | |
1913 | 1921 |
| |
1914 | 1922 |
| |
1915 | 1923 |
| |
1916 | 1924 |
| |
1917 | 1925 |
| |
1918 | 1926 |
| |
| 1927 | + | |
1919 | 1928 |
| |
1920 | 1929 |
| |
1921 | 1930 |
| |
1922 | 1931 |
| |
1923 |
| - | |
1924 |
| - | |
| 1932 | + | |
| 1933 | + | |
| 1934 | + | |
| 1935 | + | |
| 1936 | + | |
| 1937 | + | |
| 1938 | + | |
| 1939 | + | |
| 1940 | + | |
1925 | 1941 |
| |
1926 |
| - | |
1927 |
| - | |
1928 |
| - | |
| 1942 | + | |
| 1943 | + | |
| 1944 | + | |
| 1945 | + | |
1929 | 1946 |
| |
1930 | 1947 |
| |
1931 |
| - | |
| 1948 | + | |
| 1949 | + | |
| 1950 | + | |
1932 | 1951 |
| |
1933 | 1952 |
| |
1934 | 1953 |
| |
| |||
5100 | 5119 |
| |
5101 | 5120 |
| |
5102 | 5121 |
| |
| 5122 | + | |
5103 | 5123 |
| |
5104 | 5124 |
| |
5105 | 5125 |
| |
| |||
10479 | 10499 |
| |
10480 | 10500 |
| |
10481 | 10501 |
| |
| 10502 | + | |
| 10503 | + | |
| 10504 | + | |
| 10505 | + | |
| 10506 | + | |
| 10507 | + | |
| 10508 | + | |
| 10509 | + | |
| 10510 | + | |
| 10511 | + | |
| 10512 | + | |
| 10513 | + | |
| 10514 | + | |
| 10515 | + |
Lines changed: 18 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
99 | 99 |
| |
100 | 100 |
| |
101 | 101 |
| |
| 102 | + | |
102 | 103 |
| |
103 | 104 |
| |
104 | 105 |
| |
| |||
230 | 231 |
| |
231 | 232 |
| |
232 | 233 |
| |
| 234 | + | |
| 235 | + | |
233 | 236 |
| |
234 | 237 |
| |
235 | 238 |
| |
| |||
244 | 247 |
| |
245 | 248 |
| |
246 | 249 |
| |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
247 | 265 |
| |
248 | 266 |
| |
249 | 267 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
316 | 316 |
| |
317 | 317 |
| |
318 | 318 |
| |
| 319 | + | |
319 | 320 |
| |
320 | 321 |
| |
321 | 322 |
| |
|
0 commit comments
Comments
(0)