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

multitenant: append WITH REPLICATION STATUS columns to SHOW TENANT columns #95526

Merged
merged 1 commit into from
Jan 19, 2023
Merged

multitenant: append WITH REPLICATION STATUS columns to SHOW TENANT columns #95526

merged 1 commit into from
Jan 19, 2023

Conversation

ecwall
Copy link
Contributor

@ecwall ecwall commented Jan 19, 2023

Informs #87851

WITH CAPABILITIES will be adding another set of columns so append relevant columns instead of creating all possible column sets ahead of time.

Release note: None

@ecwall ecwall requested a review from a team January 19, 2023 18:13
@blathers-crl
Copy link

blathers-crl bot commented Jan 19, 2023

It looks like your PR touches production code but doesn't add or edit any test code. Did you consider adding tests to your PR?

🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.

@cockroach-teamcity
Copy link
Member

This change is Reviewable

@ecwall ecwall requested review from rafiss, knz and arulajmani January 19, 2023 18:20
…` columns

Informs #87851

`WITH CAPABILITIES` will be adding another set of columns so append relevant
columns instead of creating all possible column sets ahead of time.

Release note: None
node.columns = colinfo.TenantColumnsWithReplication
} else {
node.columns = colinfo.TenantColumns
node.columns = append(node.columns, colinfo.TenantColumnsWithReplication...)
}

Copy link
Contributor Author

@ecwall ecwall Jan 19, 2023

Choose a reason for hiding this comment

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

The capabilities PR will add

  if n.WithCapabilities {
    node.columns = append(node.columns, colinfo.TenantColumnsWithCapabilities...)
  }

}

Copy link
Contributor Author

@ecwall ecwall Jan 19, 2023

Choose a reason for hiding this comment

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

The capabilities PR will add

  if n.WithCapabilities {
    result = append(result, ...)
  }

Copy link
Contributor

@knz knz left a comment

Choose a reason for hiding this comment

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

Nice.

Reviewed 2 of 2 files at r1, all commit messages.
Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (waiting on @arulajmani and @rafiss)

@ecwall
Copy link
Contributor Author

ecwall commented Jan 19, 2023

bors r=knz

@craig
Copy link
Contributor

craig bot commented Jan 19, 2023

Build succeeded:

@craig craig bot merged commit ba572fc into cockroachdb:master Jan 19, 2023
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.

3 participants