Commit d55434b
Fix: Pop operations must use unbounded DeleteExpiredItems
PopMinOrMax and SortedSetPopMinOrMaxCount access sortedSet.Min/Max
directly after cleanup. With bounded deletion, expired entries can
remain in the sorted set and be returned to clients. Use unbounded
deletion for Pop since correctness matters more than latency here.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 0f60a43 commit d55434b
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
758 | 758 | | |
759 | 759 | | |
760 | 760 | | |
761 | | - | |
| 761 | + | |
762 | 762 | | |
763 | 763 | | |
764 | 764 | | |
| |||
780 | 780 | | |
781 | 781 | | |
782 | 782 | | |
783 | | - | |
| 783 | + | |
784 | 784 | | |
785 | 785 | | |
786 | 786 | | |
| |||
0 commit comments