- Notifications
You must be signed in to change notification settings - Fork1k
Commit776231d
authored
fix(coderd): add blocking GetProvisionerJobByIDWithLock for workspace build cancellation (#19737)
Closescoder/internal#885Adds a new database method GetProvisionerJobByIDWithLock that uses FORUPDATE without SKIP LOCKED to fix workspace build cancellation returning500 errors when jobs are locked.1 parent065c7c3 commit776231d
File tree
9 files changed
+109
-2
lines changed- coderd
- database
- dbauthz
- dbmetrics
- dbmock
- queries
9 files changed
+109
-2
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2610 | 2610 |
| |
2611 | 2611 |
| |
2612 | 2612 |
| |
| 2613 | + | |
| 2614 | + | |
| 2615 | + | |
| 2616 | + | |
| 2617 | + | |
| 2618 | + | |
| 2619 | + | |
| 2620 | + | |
| 2621 | + | |
| 2622 | + | |
| 2623 | + | |
| 2624 | + | |
2613 | 2625 |
| |
2614 | 2626 |
| |
2615 | 2627 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
664 | 664 |
| |
665 | 665 |
| |
666 | 666 |
| |
| 667 | + | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
667 | 685 |
| |
668 | 686 |
| |
669 | 687 |
| |
|
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
55 | 55 |
| |
56 | 56 |
| |
57 | 57 |
| |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
58 | 69 |
| |
59 | 70 |
| |
60 | 71 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
663 | 663 |
| |
664 | 664 |
| |
665 | 665 |
| |
666 |
| - | |
| 666 | + | |
667 | 667 |
| |
668 | 668 |
| |
669 | 669 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
580 | 580 |
| |
581 | 581 |
| |
582 | 582 |
| |
583 |
| - | |
| 583 | + | |
584 | 584 |
| |
585 | 585 |
| |
586 | 586 |
| |
|
0 commit comments
Comments
(0)