Skip to content

Fix ebuckets stop indication during ebExpire()#13287

Merged
moticless merged 1 commit intoredis:hash-field-expiry-integfrom
moticless:hfe-integ-fix-ebuckets-stop-indic
May 23, 2024
Merged

Fix ebuckets stop indication during ebExpire()#13287
moticless merged 1 commit intoredis:hash-field-expiry-integfrom
moticless:hfe-integ-fix-ebuckets-stop-indic

Conversation

@moticless
Copy link
Copy Markdown
Collaborator

on active-expire of buckets, at function ebExpire() -> ebSegExpire(), if callback onExpireItem() indicated to stop, Yet iterator (iter) was wrongly already got updated to point to next item. In turn the segment will be updated without current item.

Copy link
Copy Markdown
Collaborator

@sundb sundb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@moticless moticless merged commit ae6df30 into redis:hash-field-expiry-integ May 23, 2024
@moticless moticless deleted the hfe-integ-fix-ebuckets-stop-indic branch May 23, 2024 07:46
funny-dog pushed a commit to funny-dog/redis that referenced this pull request Sep 17, 2025
on active-expire of buckets, at function `ebExpire()` ->
`ebSegExpire()`, if callback `onExpireItem()` indicated to stop, Yet
iterator (iter) was wrongly already got updated to point to next item.
In turn the segment will be updated without current item.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants