Skip to content

Conversation

@srh
Copy link
Contributor

@srh srh commented Dec 10, 2017

Description

Fixes #6202. Replaces #6203. This is basically the fix pushed in #6207.

Has the effect of fixing the bug in the LRU cache where

(a) it doesn't actually cache non-empty keys
(b) the empty key's entry gets pointed at the most recent non-empty value
@srh srh added this to the 2.4 milestone Dec 10, 2017
@srh srh merged commit 3e8c6d8 into rethinkdb:next Dec 10, 2017
@srh
Copy link
Contributor Author

srh commented Dec 10, 2017

Also cherry-picked to v2.4.x with 1e5ef1f.

@srh
Copy link
Contributor Author

srh commented Dec 10, 2017

Note the comment at #6203 (comment) about backwards compatibility.

@srh srh deleted the sam/lrucacherevamp branch December 26, 2017 01:02
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.

`match' sometimes returns the wrong result

1 participant