Commit e929a7a
committed
Bug#37162636 Ndb : GCP_SAVE_REF handling + recoverability [noclose]
Backport to 7.6
As described in the bug, there are some situations around graceful
shutdown + node failures which could lead to a cluster becoming
unrecoverable without manual intervention.
The causes of these situations can be addressed individually.
In this patch the generic GCI info propagation mechanism (CopyGCI)
is modified to reject propagating any set of GCI info which does
not describe the ability to automatically recover a cluster via
SR.
Specifically, it is essential that for a given restorable GCI,
there must be at least one node in every nodegroup also restorable
to that GCI.
Checking this in the Master before propagating it avoids it
becoming disk durable anywhere, so that in any cases where it
may be about-to-be violated, the problem does not propagate.
This could lead to a (faster) cluster shutdown, but the
cluster would then be automatically recoverable via SR.
Change-Id: I840267ef15873c47856ad31378052675efe008e81 parent f0b6652 commit e929a7a
2 files changed
+47
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1523 | 1523 | | |
1524 | 1524 | | |
1525 | 1525 | | |
| 1526 | + | |
1526 | 1527 | | |
1527 | 1528 | | |
1528 | 1529 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17797 | 17797 | | |
17798 | 17798 | | |
17799 | 17799 | | |
| 17800 | + | |
| 17801 | + | |
| 17802 | + | |
| 17803 | + | |
| 17804 | + | |
| 17805 | + | |
| 17806 | + | |
| 17807 | + | |
| 17808 | + | |
| 17809 | + | |
| 17810 | + | |
| 17811 | + | |
| 17812 | + | |
| 17813 | + | |
| 17814 | + | |
| 17815 | + | |
| 17816 | + | |
| 17817 | + | |
| 17818 | + | |
17800 | 17819 | | |
17801 | 17820 | | |
17802 | 17821 | | |
17803 | 17822 | | |
17804 | 17823 | | |
17805 | 17824 | | |
17806 | 17825 | | |
| 17826 | + | |
| 17827 | + | |
17807 | 17828 | | |
17808 | 17829 | | |
| 17830 | + | |
| 17831 | + | |
17809 | 17832 | | |
17810 | 17833 | | |
17811 | 17834 | | |
| 17835 | + | |
| 17836 | + | |
| 17837 | + | |
| 17838 | + | |
17812 | 17839 | | |
17813 | 17840 | | |
17814 | 17841 | | |
17815 | 17842 | | |
17816 | 17843 | | |
17817 | 17844 | | |
17818 | | - | |
| 17845 | + | |
| 17846 | + | |
| 17847 | + | |
| 17848 | + | |
| 17849 | + | |
| 17850 | + | |
17819 | 17851 | | |
17820 | 17852 | | |
17821 | 17853 | | |
| |||
17835 | 17867 | | |
17836 | 17868 | | |
17837 | 17869 | | |
17838 | | - | |
| 17870 | + | |
| 17871 | + | |
| 17872 | + | |
| 17873 | + | |
| 17874 | + | |
| 17875 | + | |
| 17876 | + | |
| 17877 | + | |
| 17878 | + | |
| 17879 | + | |
| 17880 | + | |
| 17881 | + | |
17839 | 17882 | | |
| 17883 | + | |
17840 | 17884 | | |
17841 | 17885 | | |
17842 | 17886 | | |
| |||
0 commit comments