Skip to content

Commit e9ebd08

Browse files
committed
docs: fix typo in Kmesh daemon upgrade documentation
Signed-off-by: Tom <[email protected]>
1 parent d35c26f commit e9ebd08

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/developer-guide/Kmesh-daemon-map-upgarde.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
22
sidebar_position: 4
3-
title: Kmesh daemon maps upgardes traffic without disruption
3+
title: Kmesh daemon maps upgrades traffic without disruption
44
---
55

6-
# Project Documentation: Kmesh daemon maps upgardes traffic without disruption
6+
# Project Documentation: Kmesh daemon maps upgrades traffic without disruption
77

88
## Current strategy
99
On upgrade the Kmesh-daemon snapshots the current MapSpec (the `CollectionSpec` embedded by `bpf2go`) to disk. During an upgrade, the daemon reads the previously persisted snapshot as oldMapSpec and performs a strict comparison with the current MapSpec. If the maps are detected as compatible (same type and layout), the daemon reuses the existing pinned map. If they are incompatible, the daemon does not attempt complex live migration; instead it creates a new empty map which is initially pinned to a temporary path and then atomically replaces the original pin by unpinning the old map and renaming the temporary pin to the original path.

0 commit comments

Comments
 (0)