-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LoadingCache#getAll not maintaining order in returned map #267
Comments
Yes, this is the same as #220 where I misread the Guava behavior. It wasn't a guarantee but we do try to be consistent with Guava, and I misread to emulate what I thought was a bug (but created one here instead!). |
Oh I missed #220. |
It will be fixed, but hasn't been yet. I've been swamped lately and I'm not sure when I'll get through the backlog of tasks here. Sorry for that. Can you sort at the |
I unfortunately don't know the order on the all-site. But I will figure something out (maybe just not doing bulk loads at this time). Let's close this one and I will track #220. |
When I have an empty
LoadingCache
and I do something like:the returned map contains the keys (ordered)
1, 2, 3, 4, 5
.Now, when I do the following with an empty cache:
It seems the missing keys are added to the end as
4, 5
were already cached.I would have expected the order as requested (
1, 2, 3, 4, 5
).The text was updated successfully, but these errors were encountered: