diff options
| author | sangtran <tranquangsang12.7@gmail.com> | 2026-09-07 00:28:53 +0700 |
|---|---|---|
| committer | sangtran <tranquangsang12.7@gmail.com> | 2026-09-07 00:28:53 +0700 |
| commit | a7cb942d8b03e325b70ac95238d24939939a4c5a (patch) | |
| tree | cd4ac93aabcf5cf34ec4d085028357b7c1ec9068 /core/state_backend.go | |
| parent | b843da73dd6a487e4cec0e458ec662fb2edbde14 (diff) | |
| signature | Verified sangtran <tranquangsang12.7@gmail.com> Key: 8DD79823D235E1BB ultimate trust | |
| download | flux-a7cb942d8b03e325b70ac95238d24939939a4c5a.tar.gz flux-a7cb942d8b03e325b70ac95238d24939939a4c5a.zip | |
Verified feat: improve Snapshot func for atomic update using rename
Diffstat (limited to 'core/state_backend.go')
| -rw-r--r-- | core/state_backend.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/state_backend.go b/core/state_backend.go index ae9fe1d..cc7e90c 100644 --- a/core/state_backend.go +++ b/core/state_backend.go | |||
| @@ -15,6 +15,7 @@ type StateBackend interface { | |||
| 15 | GetCurrentKey() string | 15 | GetCurrentKey() string |
| 16 | SetCurrentNamespace(namespace any) error | 16 | SetCurrentNamespace(namespace any) error |
| 17 | GetCurrentNamespace() any | 17 | GetCurrentNamespace() any |
| 18 | Snapshot(checkpointID uint64, targetDir string) error | ||
| 18 | 19 | ||
| 19 | // For User === | 20 | // For User === |
| 20 | // GetValueState will perform in disk | 21 | // GetValueState will perform in disk |
