diff options
| author | Stefan Boberg <[email protected]> | 2023-11-16 17:20:52 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-11-16 17:20:52 +0100 |
| commit | 372d3a8a1ff65e53d139a7ee1db022d8cfa55982 (patch) | |
| tree | df88c47001bf16c15d12dcfba8cf8850d7e85cbd /src/zenutil/zenserverprocess.cpp | |
| parent | changed posix event implementation to use std::atomic instead of volatile (#547) (diff) | |
| download | zen-372d3a8a1ff65e53d139a7ee1db022d8cfa55982.tar.xz zen-372d3a8a1ff65e53d139a7ee1db022d8cfa55982.zip | |
add zenserver state snapshot support (#543)
this introduces a --snapshot-dir command line option to zenserver which specifies a directory which will be propagated to the persistence root directory on start-up.
This is most powerful with file systems which support block cloning, such as ReFS on Windows. This allows even very large state snapshots to be used repeatedly without having to worry about mutating the original dataset on disk. When using ReFS the state copy for even large state directories can be very fast since the duration is primarily proportional to the number of files in the tree rather than the size of the files being cloned. The storage requirements are also minimal as all data will be handled in a copy-on-write manner.
Diffstat (limited to 'src/zenutil/zenserverprocess.cpp')
0 files changed, 0 insertions, 0 deletions