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 bootstrapping ids for relating objects like indexes #777

Merged
merged 1 commit into from
Feb 20, 2024

Conversation

mamcx
Copy link
Contributor

@mamcx mamcx commented Jan 29, 2024

Description of Changes

The bootstrapping of system tables keeps the ids of related objects as 0 because is called schema_for_table that first consults the cache.

Now, after the bootstrapping is done, re-read the data from the database to be sure the correct ids are assigned.

API and ABI breaking changes

This is an internal break because the system tables schemas get 0 for all the dependant objects ids and now get the correct one.

Expected complexity level and risk

1

@mamcx mamcx added the bug Something isn't working label Jan 29, 2024
@mamcx mamcx self-assigned this Jan 29, 2024
Copy link
Contributor

@gefjon gefjon left a comment

Choose a reason for hiding this comment

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

Marking as request changes because I'd prefer to wait until after merging the new mem-arch before merging this.

@mamcx mamcx marked this pull request as ready for review February 9, 2024 15:45
@bfops bfops added abi-break A PR that makes an ABI breaking change bugfix Fixes something that was expected to work differently and removed bug Something isn't working labels Feb 9, 2024
@cloutiertyler cloutiertyler changed the title Fix boostrating ids for relating objects like indexes Fix bootstrapping ids for relating objects like indexes Feb 14, 2024
@Centril Centril requested a review from gefjon February 14, 2024 13:02
@Centril Centril added this pull request to the merge queue Feb 19, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 19, 2024
@mamcx mamcx added this pull request to the merge queue Feb 19, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 19, 2024
@Centril Centril added this pull request to the merge queue Feb 19, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to a conflict with the base branch Feb 19, 2024
@Centril
Copy link
Contributor

Centril commented Feb 20, 2024

Went ahead and rebased this for ya :)

@Centril Centril added this pull request to the merge queue Feb 20, 2024
Merged via the queue into master with commit a0f40d4 Feb 20, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
abi-break A PR that makes an ABI breaking change bugfix Fixes something that was expected to work differently
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants