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

pathdb: Change GetNextQuery to include src and policy #2956

Merged
merged 1 commit into from
Aug 6, 2019

Conversation

lukedirtwalker
Copy link
Collaborator

@lukedirtwalker lukedirtwalker commented Aug 6, 2019

For #2454 we need to include src in the NextQuery table.
For policies in path lookups we need policy.

Note that existing deployments need to update the database, this is best done by nuking the NextQuery table and create it fresh.

Migration instructions:
Upgrade sqlite DB:
sqlite3 gen-cache/sd1-ff00_0_111.path.db < go/lib/pathdb/sqlite/migrate_7_8.up.sql

Contributes #2454


This change is Reviewable

For scionproto#2454 we need to include src in the NextQuery table.
For policies in path lookups we need policy.

Note that existing deployments need to update the database, this is best done by nuking the NextQuery table and create it fresh.

Migration instructions:
Upgrade sqlite DB:
`sqlite3 gen-cache/sd1-ff00_0_111.path.db < go/lib/pathdb/sqlite/migrate_7_8.up.sql`

Contributes scionproto#2454
Copy link
Contributor

@oncilla oncilla left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 16 of 16 files at r1.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@lukedirtwalker lukedirtwalker merged commit f8c2754 into scionproto:master Aug 6, 2019
@lukedirtwalker lukedirtwalker deleted the pubOSPathDBChange branch August 6, 2019 07:41
@kormat kormat added the i/breaking change PR that breaks forwards or backwards compatibility label Aug 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
i/breaking change PR that breaks forwards or backwards compatibility
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants