You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix prefetchNextBucketEntries so it fetches the correct next 2 buckets (#2394)
This PR fixes a bug in prefetchNextBucketEntries which is used in the
hashtable iterator. The current version of prefetchNextBucketEntries
does not correctly prefetch the next two buckets that will be iterated
over. This is due next_index being incremented twice (once in
prefetchNextBucketEntries and again in getNextBucket).
Fix:
1. Add check in prefetchNextBucketEntries to ensure we pass the correct
'next_index' to getNextBucket.
2. The extra increment was removed from getNextBucket.
Signed-off-by: Nicky Khorasani <[email protected]>
0 commit comments