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 metrics when delete non existing page #18618

Merged
merged 1 commit into from
Jun 7, 2024

Conversation

jja725
Copy link
Contributor

@jja725 jja725 commented Jun 5, 2024

What changes are proposed in this pull request?

Fix metrics when delete non existing page

Why are the changes needed?

When deleting non-existing page we see a abnormal spike in PageAge. Still doesn't know why we have abnormal PageAge but since it's non-existing page we would not able to read it as well so it make sense to not record the age.
Also we continue to delete page from page store if we didn't find it in metastore so we avoid inconsistency between pagestore and metastore

Does this PR introduce any user facing changes?

na

Copy link

@zacw7 zacw7 left a comment

Choose a reason for hiding this comment

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

LGTM. thanks!

@jja725 jja725 force-pushed the fix-delete-nonexisting branch 3 times, most recently from 49c8137 to 729da25 Compare June 6, 2024 19:24
@jja725
Copy link
Contributor Author

jja725 commented Jun 7, 2024

alluxio-bot, merge this please

@jja725 jja725 added the type-bug This issue is about a bug label Jun 7, 2024
@jja725
Copy link
Contributor Author

jja725 commented Jun 7, 2024

alluxio-bot, merge this please

@alluxio-bot alluxio-bot merged commit 40ebdd0 into Alluxio:main Jun 7, 2024
14 checks passed
@apc999
Copy link
Contributor

apc999 commented Jun 7, 2024

post merge LGTM

@jja725
Copy link
Contributor Author

jja725 commented Jun 7, 2024

alluxio-bot, cherry-pick this to master-2.x please

alluxio-bot pushed a commit that referenced this pull request Jun 7, 2024
### What changes are proposed in this pull request?

Fix metrics when delete non existing page

### Why are the changes needed?
When deleting non-existing page we see a abnormal spike in PageAge. Still doesn't know why we have abnormal PageAge but since it's non-existing page we would not able to read it as well so it make sense to not record the age.
Also we continue to delete page from page store if we didn't find it in metastore so we avoid inconsistency between pagestore and metastore

### Does this PR introduce any user facing changes?
na

			pr-link: #18618
			change-id: cid-7d4803cb2d8c433d3ad077a7bf9e3074d91b3389
@alluxio-bot
Copy link
Contributor

Auto cherry-pick to branch master-2.x successfully opened PR: #18622

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug This issue is about a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants