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

Reset state if less than v0.9.1 #823

Merged
merged 4 commits into from
May 28, 2020
Merged

Reset state if less than v0.9.1 #823

merged 4 commits into from
May 28, 2020

Conversation

jameskerr
Copy link
Member

@jameskerr jameskerr commented May 27, 2020

If a user has a version prior to v0.9.1, we don't try to migrate their state.

If you open the app in v0.8.0, ingest some data, perform some searches, then quit, then open the app at master, you'll see a message in the logs that says:

[2020-05-27 14:45:59.759] [info] migrations: unsupported version, using fresh state

It will indeed clear the state and start fresh. However, the spaces that you ingested will remain.

Known Bug With Space Names

Testing this revealed a bug in zqd. The spaces created in v0.8.0 (before space ids), are returned without a name after upgrading to the latest brim version. It results in the app looking like this when you load up the newest version.

image

In this example, I ingested a file called a.pcap in v0.8.0, then quit, upgraded, and re-opened brim.

Work on the zqd migration is being tracked in brimdata/super#791

@jameskerr jameskerr requested a review from a team May 27, 2020 22:13
@mikesbrown
Copy link
Contributor

The failures here look like brimdata/super#613

@alfred-landrum
Copy link
Contributor

I believe this zq PR: brimdata/super#826 will address the blank space names.

@philrz philrz linked an issue May 28, 2020 that may be closed by this pull request
@jameskerr jameskerr merged commit ab08ed4 into master May 28, 2020
@jameskerr jameskerr deleted the is-migrateable branch May 28, 2020 21:03
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.

Migrations not working from v0.8.0
4 participants