Browse Source
topology: support id-based DataNode identification
topology: support id-based DataNode identification
Update GetOrCreateDataNode to accept an id parameter for stable node identification. When id is provided, the DataNode can maintain its identity even when its IP address changes (e.g., in Kubernetes pod reschedules). For backward compatibility: - If id is provided, use it as the node ID - If id is empty, fall back to ip:port Ref: https://github.com/seaweedfs/seaweedfs/issues/7487pull/7609/head
2 changed files with 62 additions and 11 deletions
Write
Preview
Loading…
Cancel
Save
Reference in new issue