forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit6b67d72

Amit Kapila
Fix race condition in drop subscription's handling of tablesync slots.
Commitce0fdbf made tablesync slots permanent and allow DropSubscription to drop such slots. However, it is possible that beforetablesync worker could get the acknowledgment of slot creation, dropsubscription stops it and that can lead to a dangling slot on thepublisher. Prevent cancel/die interrupts while creating a slot in thetablesync worker.Reported-by: Thomas Munro as per buildfarmAuthor: Amit KapilaReviewed-by: Vignesh C, Takamichi OsumiDiscussion:https://postgr.es/m/CA+hUKGJG9dWpw1cOQ2nzWU8PHjm=PTraB+KgE5648K9nTfwvxg@mail.gmail.com1 parent7efeb21 commit6b67d72
1 file changed
+7
-0
lines changedLines changed: 7 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1051 | 1051 |
| |
1052 | 1052 |
| |
1053 | 1053 |
| |
| 1054 | + | |
| 1055 | + | |
| 1056 | + | |
| 1057 | + | |
| 1058 | + | |
1054 | 1059 |
| |
| 1060 | + | |
1055 | 1061 |
| |
1056 | 1062 |
| |
| 1063 | + | |
1057 | 1064 |
| |
1058 | 1065 |
| |
1059 | 1066 |
| |
|
0 commit comments
Comments
(0)