Skip to content
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

fix: local entity index query failed when index was missing from local data #463

Merged
merged 2 commits into from
Oct 18, 2023

Conversation

thantos
Copy link
Contributor

@thantos thantos commented Oct 13, 2023

If the .eventual/local folder was missing an index (new/deleted), index.query would fail on query. change the logic to create requested indices on demand if they were not originally loaded.

TODO: Compute missing local indices on load for existing data #464

@thantos thantos changed the title fix: local entity index query failed when index was missing from loca… fix: local entity index query failed when index was missing from local data Oct 13, 2023
@thantos thantos requested a review from sam-goodwin October 13, 2023 18:32
@sam-goodwin
Copy link
Owner

Should local compute the indexes instead of persisting

@thantos
Copy link
Contributor Author

thantos commented Oct 13, 2023

Yeah, I added a TODO to do that, just wanted to fix the breaking issue in this change. Added a TODO and issue #464.

@sam-goodwin
Copy link
Owner

What's left to do here? Fix tests?

@thantos
Copy link
Contributor Author

thantos commented Oct 17, 2023

Uhh, yeah, the tests randomly fail, don't think it is the fault of this change. Will keep an eye on it today.

@thantos thantos merged commit 87db126 into main Oct 18, 2023
6 checks passed
@thantos thantos deleted the sussman/fix/local_entity_index_change branch October 18, 2023 02:59
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