1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
// SPDX-License-Identifier: BUSL-1.1
//! Boot stage 1 of 3: restore every engine's on-disk checkpoint.
//!
//! Runs before the catalog seed and before WAL replay. See
//! `load_boot_checkpoints` for why that order is the only sound one.
use crateCoreLoop;
/// Load vector + spatial + sparse vector + CRDT + KV + sync-gate + graph-label
/// checkpoints (fast recovery).
///
/// # Ordering (load-bearing)
///
/// Every loader here MUST run BEFORE `replay_all_wal` and BEFORE
/// `seed_catalog_state`: a checkpoint restores state as of the LSN it was
/// stamped with, and replay then resumes strictly ABOVE that LSN. Loading after
/// replay would overwrite newer replayed state with the older checkpoint's rows;
/// loading after the seed would leave the seed's empty columnar engine in place
/// and silently discard the restored rows.
///
/// The relative order of the loaders WITHIN this function is load-bearing too —
/// each call below carries the comment stating what its position rests on.
pub