- Notifications
You must be signed in to change notification settings - Fork35
Commitc3b25b2
authored
This patch has the following changes:1) It adds a new argument release_resources to PostgresNode::cleanup method. Default value is False.2) It fixes a port number leak in NodeBackup::spawn_replica through explicit call of PostgresNode::cleanup(release_resources=True).Closes#249.
1 parent0b331e6 commitc3b25b2
2 files changed
+17
-6
lines changedLines changed: 8 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
184 | 184 |
| |
185 | 185 |
| |
186 | 186 |
| |
187 |
| - | |
188 |
| - | |
| 187 | + | |
| 188 | + | |
189 | 189 |
| |
| 190 | + | |
190 | 191 |
| |
191 | 192 |
| |
192 | 193 |
| |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
193 | 198 |
| |
194 |
| - | |
| 199 | + | |
195 | 200 |
| |
196 | 201 |
| |
197 | 202 |
| |
|
Lines changed: 9 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
231 | 231 |
| |
232 | 232 |
| |
233 | 233 |
| |
234 |
| - | |
235 |
| - | |
236 | 234 |
| |
237 | 235 |
| |
238 | 236 |
| |
| |||
246 | 244 |
| |
247 | 245 |
| |
248 | 246 |
| |
| 247 | + | |
| 248 | + | |
249 | 249 |
| |
250 | 250 |
| |
251 | 251 |
| |
| |||
663 | 663 |
| |
664 | 664 |
| |
665 | 665 |
| |
| 666 | + | |
| 667 | + | |
| 668 | + | |
666 | 669 |
| |
667 | 670 |
| |
668 | 671 |
| |
| |||
1340 | 1343 |
| |
1341 | 1344 |
| |
1342 | 1345 |
| |
1343 |
| - | |
| 1346 | + | |
1344 | 1347 |
| |
1345 | 1348 |
| |
1346 | 1349 |
| |
| |||
1363 | 1366 |
| |
1364 | 1367 |
| |
1365 | 1368 |
| |
| 1369 | + | |
| 1370 | + | |
| 1371 | + | |
1366 | 1372 |
| |
1367 | 1373 |
| |
1368 | 1374 |
| |
|
0 commit comments
Comments
(0)