Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
osd/PG: clean up fastinfo key when last_update does not increase
If the last_update field goes backwards, we write a full info instead of the fastinfo key. However, a stale fastinfo key may still be present, and it may have a last_update that looks valid to a restarting OSD. Fixes: https://tracker.ceph.com/issues/43580 Reported-by: song <jinglesong0814@163.com> Signed-off-by: Sage Weil <sage@redhat.com>
- Loading branch information
Showing
3 changed files
with
10 additions
and
0 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
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
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