-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: move to fetch_update from fetch_add for IDs (#25663)
With this change we now provide a check for new IDs for overflow. This will cause the system to panic on overflow now rather than causing silent corruption as this is an unrecoverable state. While this is a highly unlikely scenario given how big the id numbers can be, it would be better to have this in place now, rather than trying to figure out a subtle nasty corruption bug later. Closes #25542
- Loading branch information
Showing
1 changed file
with
20 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters