Closed lorenz closed 4 months ago
Havent' been able to figure out a code path that could've caused this. We're quite defensive when saving nodes, and use a single node save function that ensures we save with the correct key for the node.
Obviously, the bug exists, but at this point I'm not sure where to look. Next time this occurs we should get a full disk copy so that we can do some forensics.
A bug which could cause this was fixed in d6a88022d0c8ffdd2b938f161b8825148762b099.
Yeah, this was likely the bug:
This means that a race between node{Load,Save} calls (either same function, or different calls) could've lead to a data race and thus etcd corruption.
Optimistically closing this. Thanks, @jscissr !