Skip to content

Fix metrics when delete non existing page#18618

Merged
alluxio-bot merged 1 commit intoAlluxio:mainfrom
jja725:fix-delete-nonexisting
Jun 7, 2024
Merged

Fix metrics when delete non existing page#18618
alluxio-bot merged 1 commit intoAlluxio:mainfrom
jja725:fix-delete-nonexisting

Conversation

@jja725
Copy link
Copy Markdown
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

@jja725 jja725 requested review from JiamingMai and apc999 June 5, 2024 19:32
@jja725 jja725 force-pushed the fix-delete-nonexisting branch from 7d60e76 to 71dccbb Compare June 5, 2024 19:34
Copy link
Copy Markdown

@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 jja725 force-pushed the fix-delete-nonexisting branch from 729da25 to bbcda68 Compare June 6, 2024 19:25
@jja725
Copy link
Copy Markdown
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
Copy Markdown
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
@apc999
Copy link
Copy Markdown
Contributor

apc999 commented Jun 7, 2024

post merge LGTM

@jja725
Copy link
Copy Markdown
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
Copy Markdown
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