Skip to content

Index-free: Use different SQL for non-index free queries #726

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

Merged
merged 2 commits into from
Aug 22, 2019

Conversation

schmidt-sebastian
Copy link
Contributor

I blame this one on @mikelehen

The basic thought process behind is that we don't need to backfill any read times. When a user upgrades, none of the QueryData will have a lastLimboFreeSnapshot version set. Once we have a lastLimboFreeSnapshot, we know that the target mapping can be relied upon. Any changes since the target mapping will have a read time.

Thoughts? Fears?

Copy link
Contributor

@wilhuff wilhuff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very clever and it happens to be a portable approach as well. I like it a lot. That @mikelehen is pretty sharp.

@mikelehen
Copy link
Contributor

LOL... I just didn't want to have to finish reviewing the migration code.

@schmidt-sebastian schmidt-sebastian merged commit efc9fb7 into mrschmidt/indexfree-master Aug 22, 2019
@schmidt-sebastian schmidt-sebastian deleted the mrschmidt/nomigration branch August 27, 2019 23:45
@firebase firebase locked and limited conversation to collaborators Oct 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes Override cla size/L
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants