forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit48c9f49
committed
Fix race condition when changing synchronous_standby_names
A momentary window exists when synchronous_standby_nameschanges that allows commands issued after the change tocontinue to act as async until the change becomes visible.Remove the race by using more appropriate test in syncrep.cAuthor: Asim Rama Praveen and Ashwin AgrawalReported-by: Xin Zhang, Ashwin Agrawal, and Asim Rama PraveenReviewed-by: Michael Paquier, Masahiko Sawada1 parent2958a67 commit48c9f49
1 file changed
+2
-4
lines changedLines changed: 2 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
156 | 156 |
| |
157 | 157 |
| |
158 | 158 |
| |
159 |
| - | |
160 |
| - | |
161 |
| - | |
| 159 | + | |
162 | 160 |
| |
163 |
| - | |
| 161 | + | |
164 | 162 |
| |
165 | 163 |
| |
166 | 164 |
| |
|
0 commit comments
Comments
(0)