Commit dcfebda
committed
OF-3153: Introduce option to configure failfast behavior of room loading
This introduces a new SystemProperty `xmpp.muc.loading.failfast` that controls if an exception while loading a room causes an error to be thrown (fail-fast), or will allow all other rooms to be loaded (resilient).
Note that this applies to non-SQL exceptions only, as SQL exceptions are logged but otherwise ignored by the `loadFromDB` method.1 parent f8f0294 commit dcfebda
3 files changed
Lines changed: 24 additions & 5 deletions
File tree
- i18n/src/main/resources
- xmppserver/src/main/java/org/jivesoftware/openfire/muc/spi
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1369 | 1369 | | |
1370 | 1370 | | |
1371 | 1371 | | |
| 1372 | + | |
1372 | 1373 | | |
1373 | 1374 | | |
1374 | 1375 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1278 | 1278 | | |
1279 | 1279 | | |
1280 | 1280 | | |
| 1281 | + | |
1281 | 1282 | | |
1282 | 1283 | | |
1283 | 1284 | | |
| |||
Lines changed: 22 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
| 40 | + | |
45 | 41 | | |
| 42 | + | |
46 | 43 | | |
47 | 44 | | |
48 | 45 | | |
| |||
93 | 90 | | |
94 | 91 | | |
95 | 92 | | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
96 | 102 | | |
97 | 103 | | |
98 | 104 | | |
| |||
730 | 736 | | |
731 | 737 | | |
732 | 738 | | |
| 739 | + | |
| 740 | + | |
733 | 741 | | |
734 | 742 | | |
735 | 743 | | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
736 | 749 | | |
737 | 750 | | |
738 | 751 | | |
739 | 752 | | |
740 | 753 | | |
| 754 | + | |
741 | 755 | | |
742 | 756 | | |
743 | 757 | | |
| |||
756 | 770 | | |
757 | 771 | | |
758 | 772 | | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
759 | 776 | | |
760 | 777 | | |
761 | 778 | | |
| |||
0 commit comments