Skip to content

Added namespace limiters to all client.List() calls in pgbackrest and… #3438

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 1 commit into from
Oct 28, 2022

Conversation

dsessler7
Copy link
Contributor

@dsessler7 dsessler7 commented Oct 27, 2022

… volumes files in the controller. This change was mandated by [sc-16139] and we believe the changes, particularly in volumes.go, should also solve the problem seen by the customer in [sc-13871].

Checklist:

  • Have you added an explanation of what your changes do and why you'd like them to be included?
  • Have you updated or added documentation for the change, as applicable?
  • Have you tested your changes on all related environments with successful results, as applicable?
    • Have you added automated tests?

Type of Changes:

  • New feature
  • Bug fix
  • Documentation
  • Testing enhancement
  • Other

What is the current behavior (link to any open issues here)?
A couple customers have seen issues when doing restores and volume moves with multiple clusters having the same name but being in different namespaces.

What is the new behavior (if this is a feature change)?

  • Breaking change (fix or feature that would cause existing functionality to change)

Other Information:
Issue: [sc-16139]
Issue: [sc-13871]
Issue: #3364
Issue: #3058

Copy link
Member

@cbandy cbandy left a comment

Choose a reason for hiding this comment

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

Please include Issue: [sc-NNN] at the bottom of the commit message.

Does this close some GH issues, too? Please include them with Issue: CrunchyData/postgres-operator#NNN as well.

Copy link
Contributor

@benjaminjb benjaminjb left a comment

Choose a reason for hiding this comment

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

LGTM

@dsessler7 dsessler7 force-pushed the namespace-limiters branch 2 times, most recently from fe24161 to d5dd893 Compare October 28, 2022 00:30
… volumes files in the controller. Changed List calls to consistently use ListOptions struct or individual ListOption arguments, but not a mixture of both.

Issue: [sc-13871]
Issue: [sc-16139]
Issue: CrunchyData#3058
Issue: CrunchyData#3364
@dsessler7 dsessler7 merged commit 8508a63 into CrunchyData:master Oct 28, 2022
@bendilley
Copy link

When might we expect this fix to be released? I think I may have run into a related problem.

BTW, am I wrong in thinking that I can use a pgbackrest backup from a non-PGO instance as a dataSource for a new PGO cluster?

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.

Failed to migrate databases to pgo v5 with the same name but in different namespaces
4 participants