Skip to content

Don't backup views#3918

Merged
Michal-Leszczynski merged 6 commits intomasterfrom
ml/dont-backup-views
Jul 23, 2024
Merged

Don't backup views#3918
Michal-Leszczynski merged 6 commits intomasterfrom
ml/dont-backup-views

Conversation

@Michal-Leszczynski
Copy link
Copy Markdown
Collaborator

Fixes #3771

@Michal-Leszczynski Michal-Leszczynski force-pushed the ml/dont-backup-views branch 3 times, most recently from e604db5 to a6eeaf5 Compare July 9, 2024 08:42
@Michal-Leszczynski Michal-Leszczynski marked this pull request as ready for review July 9, 2024 10:12
@Michal-Leszczynski
Copy link
Copy Markdown
Collaborator Author

Michal-Leszczynski commented Jul 9, 2024

@annastuchlik could you review the last commit related to docs (a6eeaf5 ba64046 a8743d5)?

Copy link
Copy Markdown
Collaborator

@karol-kokoszka karol-kokoszka left a comment

Choose a reason for hiding this comment

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

I encourage you to do bit bigger refactor of GetTarget, please check the comment and let me know WDYT or if you have some other idea that can make this part more intuitive.

Comment thread pkg/service/backup/service.go Outdated
Comment thread pkg/service/backup/service.go Outdated
Comment thread pkg/service/backup/service.go Outdated
Michal-Leszczynski added a commit that referenced this pull request Jul 11, 2024
@Michal-Leszczynski Michal-Leszczynski marked this pull request as draft July 11, 2024 13:00
This way there is no need for storing all ring descriptions in a map relatively big map.
Moreover, it skips querying ring description for tables that are going to be filtered out anyway.
It also allows for further refactor.
@karol-kokoszka
Copy link
Copy Markdown
Collaborator

@Michal-Leszczynski it's a draft PR, I understand it's still in progress ?

@Michal-Leszczynski Michal-Leszczynski marked this pull request as ready for review July 15, 2024 08:04
@Michal-Leszczynski
Copy link
Copy Markdown
Collaborator Author

@karol-kokoszka now it's ready for review!
I added the refactor requested here #3918 (comment).

Copy link
Copy Markdown
Collaborator

@karol-kokoszka karol-kokoszka left a comment

Choose a reason for hiding this comment

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

Very nice !
Thank you for the effort.
👍 but please consider two additional comments I left.

Comment thread pkg/service/backup/service_backup_integration_test.go
Comment thread pkg/service/backup/service.go
This is to emphasise that even though the REST API interface method is called GetTarget, the actual implementation is not a simple getter.
@Michal-Leszczynski
Copy link
Copy Markdown
Collaborator Author

@annastuchlik could you take a look at a8743d5?

@Michal-Leszczynski Michal-Leszczynski merged commit c497961 into master Jul 23, 2024
Michal-Leszczynski added a commit that referenced this pull request Jul 23, 2024
@Michal-Leszczynski Michal-Leszczynski deleted the ml/dont-backup-views branch July 23, 2024 18:35
karol-kokoszka pushed a commit that referenced this pull request Aug 9, 2024
@karol-kokoszka karol-kokoszka mentioned this pull request Aug 9, 2024
karol-kokoszka pushed a commit that referenced this pull request Aug 9, 2024
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.

Don't backup views

2 participants