Skip to content

Conversation

richardjrossiii
Copy link
Contributor

This caused issues when using the eventually queue, as the eventually pin objects were getting discarded immediately after creation, and never re-fetched from the database afterward.

Fixes #131.

cc @grantland Does this same issue exist on android?

@nlutsenko
Copy link
Contributor

Something around includeKey for queries for Eventually Pins instead of this change to save memory.

@richardjrossiii richardjrossiii force-pushed the richardross.offlinestore.children.fix branch from fda3213 to b5fb702 Compare September 14, 2015 18:55
@richardjrossiii
Copy link
Contributor Author

Changed to be fixed in eventually pin, rather than offlinestore.

@nlutsenko
Copy link
Contributor

Fabulous!

When an eventually pin was persisted to LDS, it would not be re-loaded from disk when saving a new eventually pin. This caused issues with the eventually queue, as we would lose columns on objects who weren't currently loaded in memory.

Fixes #131.
@richardjrossiii richardjrossiii force-pushed the richardross.offlinestore.children.fix branch from b5fb702 to d4e2f5b Compare September 15, 2015 01:34
richardjrossiii added a commit that referenced this pull request Sep 15, 2015
…hildren.fix

Fixed an issue where LDS wouldn't search the whole subtree for objects not yet fetched.
@richardjrossiii richardjrossiii merged commit e2fbecc into master Sep 15, 2015
@richardjrossiii richardjrossiii deleted the richardross.offlinestore.children.fix branch September 15, 2015 02:44
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.

3 participants