- Notifications
You must be signed in to change notification settings - Fork5
Commit8c873bb
committed
Make the walwriter close it's handle to an old xlog segment if it's no longer
the current one. Not doing this would leave the walwriter with a handle to adeleted file if there was nothing for it to do for a long period of time,preventing the file from being completely removed.Reported by Tollef Fog Heen, and thanks to Heikki for some hand-holding withthe patch.1 parent5a41c31 commit8c873bb
1 file changed
+14
-2
lines changedLines changed: 14 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 |
| - | |
| 10 | + | |
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
| |||
2124 | 2124 |
| |
2125 | 2125 |
| |
2126 | 2126 |
| |
2127 |
| - | |
| 2127 | + | |
| 2128 | + | |
| 2129 | + | |
| 2130 | + | |
| 2131 | + | |
2128 | 2132 |
| |
| 2133 | + | |
| 2134 | + | |
| 2135 | + | |
| 2136 | + | |
| 2137 | + | |
| 2138 | + | |
| 2139 | + | |
2129 | 2140 |
| |
| 2141 | + | |
2130 | 2142 |
| |
2131 | 2143 |
| |
2132 | 2144 |
| |
|
0 commit comments
Comments
(0)