forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit4c032dd
committed
Check for two_phase change at end of process_syncing_tables_for_apply.
Previously this function checked to see if we were ready to switchto two_phase mode at its start, but that's silly: we should checkat the end, after we've done the work that might make us ready.This simple change removes one sleep cycle from the time needed toswitch to two_phase mode. In the real world that might not beworth much, but it shaves a few seconds off the runtime for thesubscription test suite.Nathan BossartDiscussion:https://postgr.es/m/20221122004119.GA132961@nathanxps131 parentb1665bf commit4c032dd
1 file changed
+29
-22
lines changedLines changed: 29 additions & 22 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
415 | 415 |
| |
416 | 416 |
| |
417 | 417 |
| |
| 418 | + | |
418 | 419 |
| |
419 | 420 |
| |
420 | 421 |
| |
| |||
446 | 447 |
| |
447 | 448 |
| |
448 | 449 |
| |
449 |
| - | |
450 |
| - | |
451 |
| - | |
452 |
| - | |
453 |
| - | |
454 |
| - | |
455 |
| - | |
456 |
| - | |
457 |
| - | |
458 |
| - | |
459 |
| - | |
460 |
| - | |
461 |
| - | |
462 |
| - | |
463 |
| - | |
464 |
| - | |
465 |
| - | |
466 |
| - | |
467 |
| - | |
468 |
| - | |
469 |
| - | |
470 |
| - | |
471 | 450 |
| |
472 | 451 |
| |
473 | 452 |
| |
| |||
619 | 598 |
| |
620 | 599 |
| |
621 | 600 |
| |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
622 | 625 |
| |
623 | 626 |
| |
624 | 627 |
| |
| 628 | + | |
| 629 | + | |
| 630 | + | |
625 | 631 |
| |
626 | 632 |
| |
627 | 633 |
| |
| |||
802 | 808 |
| |
803 | 809 |
| |
804 | 810 |
| |
| 811 | + | |
805 | 812 |
| |
806 | 813 |
| |
807 | 814 |
| |
|
0 commit comments
Comments
(0)