Commit afc507c
committed
chore(qemu): ship the initialized data dir at a different location
The reason for not shipping it originally was to avoid any possibility
of the server starting up off a datadir on ephemeral storage.
The initdb process itself is decently heavy though. We can tread the
middle ground between the two by shipping the datadir at a secondary
location, which the server never gets configured to run off. This
datadir can be moved to the appropriate place on persistent storage
prior to server startup. The simpler operation of copying the files
over should be faster than the initdb routine.1 parent 196e3ad commit afc507c
2 files changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
147 | | - | |
| 147 | + | |
| 148 | + | |
148 | 149 | | |
149 | 150 | | |
0 commit comments