- Notifications
You must be signed in to change notification settings - Fork5
Commitc124e36
committed
Retry DSM control segment creation if Windows indicates access denied.
Otherwise, attempts to run multiple postmasters running on the samemachine may fail, because Windows sometimes returns ERROR_ACCESS_DENIEDrather than ERROR_ALREADY_EXISTS when there is an existing segment.Hitting this bug is much more likely because of another defect notfixed by this patch, namely that dsm_postmaster_startup() usesrandom() which returns the same value every time. But that's nota reason not to fix this.Kyotaro Horiguchi and Amit Kapila, reviewed by Michael PaquierDiscussion: <CAA4eK1JyNdMeF-dgrpHozDecpDfsRZUtpCi+1AbtuEkfG3YooQ@mail.gmail.com>1 parentf0a86df commitc124e36
1 file changed
+18
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
671 | 671 | | |
672 | 672 | | |
673 | 673 | | |
| 674 | + | |
674 | 675 | | |
675 | 676 | | |
676 | 677 | | |
| |||
686 | 687 | | |
687 | 688 | | |
688 | 689 | | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
689 | 706 | | |
690 | 707 | | |
691 | | - | |
| 708 | + | |
692 | 709 | | |
693 | 710 | | |
694 | 711 | | |
695 | 712 | | |
696 | 713 | | |
697 | 714 | | |
698 | | - | |
699 | | - | |
700 | | - | |
701 | | - | |
702 | | - | |
703 | | - | |
704 | | - | |
705 | | - | |
706 | | - | |
707 | | - | |
708 | | - | |
709 | | - | |
710 | 715 | | |
711 | 716 | | |
712 | 717 | | |
| |||
0 commit comments
Comments
(0)