-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
Since DNS zones do not use locking, they are vulnerable to a race which manifest e.g. when users are hard-deleted in bulk. Zone serial is incremented immediately on each change, but there's no guarantee of transaction execution order. So, for example, there may be two chains like:
- Chain
Asets serial 36 - Chain
Bsets serial 37
Now, especially when deleting users, there are many transactions to delete VPS, snapshots, datasets, etc., and those take an arbitrary amount of time. This may result in chain B being done first, meaning the serial is set to 37. Then chain A finishes as well and sets the serial to 36, i.e. a lower value. This zone update is then ignored by secondaries and so we end up with a serial mismatch between the primary and secondaries.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels