Skip to content

Fix metrics when delete non existing page; Port [#18618] to master-2.x#18622

Open
alluxio-bot wants to merge 1 commit intomaster-2.xfrom
temp-cp-branch-master-2.x-20240607-110115
Open

Fix metrics when delete non existing page; Port [#18618] to master-2.x#18622
alluxio-bot wants to merge 1 commit intomaster-2.xfrom
temp-cp-branch-master-2.x-20240607-110115

Conversation

@alluxio-bot
Copy link
Copy Markdown
Contributor

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

[This is an auto-generated PR to cherry-pick committed PR #18618 into target branch master-2.x]

### 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 alluxio-bot added the type-bug This issue is about a bug label Jun 7, 2024
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.

2 participants