Skip to content

Extends flush_metadata_cache procedure#14219

Merged
Praveen2112 merged 1 commit intotrinodb:masterfrom
skrzypo987:skrzypo/118-flush-partitions-for-a-single-table
Sep 27, 2022
Merged

Extends flush_metadata_cache procedure#14219
Praveen2112 merged 1 commit intotrinodb:masterfrom
skrzypo987:skrzypo/118-flush-partitions-for-a-single-table

Conversation

@skrzypo987
Copy link
Copy Markdown
Member

Description

Make flush_metadata_cache with schema and table arguments clear table-related caches

Non-technical explanation

Make flush_metadata_cache with schema and table arguments clear table-related caches

Release notes

( ) This is not user-visible or docs only and no release notes are required.
( ) Release notes are required, please propose a release note for me.
(x) Release notes are required, with the following suggested text:

# Section
* Extend procedure `flush_metadata_cache` with the ability to flush table related caches

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

It would be nice if we could resolve a call procedure based on the name and arguments. So we could have an individual method for each configuration - instead of if-else.

Now it is possible to flush all caches related to a given table via a procedure
@skrzypo987 skrzypo987 force-pushed the skrzypo/118-flush-partitions-for-a-single-table branch from b994191 to 04578ca Compare September 26, 2022 13:23
Copy link
Copy Markdown
Member

@s2lomon s2lomon left a comment

Choose a reason for hiding this comment

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

lgtm

@skrzypo987
Copy link
Copy Markdown
Member Author

@ maintainers - Is there anything more to do here, except the merge?

@Praveen2112 Praveen2112 merged commit 0ece498 into trinodb:master Sep 27, 2022
@github-actions github-actions bot added this to the 398 milestone Sep 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

4 participants