aboutsummaryrefslogtreecommitdiff
path: root/state/memory_backend.go
diff options
context:
space:
mode:
authorsangtran <tranquangsang12.7@gmail.com>2026-09-07 00:28:53 +0700
committersangtran <tranquangsang12.7@gmail.com>2026-09-07 00:28:53 +0700
commita7cb942d8b03e325b70ac95238d24939939a4c5a (patch)
treecd4ac93aabcf5cf34ec4d085028357b7c1ec9068 /state/memory_backend.go
parentb843da73dd6a487e4cec0e458ec662fb2edbde14 (diff)
signatureVerified sangtran <tranquangsang12.7@gmail.com> Key: 8DD79823D235E1BB ultimate trust
downloadflux-a7cb942d8b03e325b70ac95238d24939939a4c5a.tar.gz
flux-a7cb942d8b03e325b70ac95238d24939939a4c5a.zip
Verified feat: improve Snapshot func for atomic update using rename
Diffstat (limited to 'state/memory_backend.go')
-rw-r--r--state/memory_backend.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/state/memory_backend.go b/state/memory_backend.go
index cce8194..de26cab 100644
--- a/state/memory_backend.go
+++ b/state/memory_backend.go
@@ -58,3 +58,8 @@ func (ms *MemoryStateBackend) SetCurrentNamespace(namespace any) error {
58 ms.currentNamespace = namespace 58 ms.currentNamespace = namespace
59 return nil 59 return nil
60} 60}
61
62func (ms *MemoryStateBackend) Snapshot(checkpointID uint64, targetDir string) error {
63 // TODO: temporary return nil to avoid breaking
64 return nil
65}