Skip to content

Commit

Permalink
Remove file from UfsAbsentPathCache after persisting
Browse files Browse the repository at this point in the history
### What changes are proposed in this pull request?

Remove the file from UfsAbsentPathCache after async persisting.

### Why are the changes needed?

To fix #16621

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

No

pr-link: #16622
change-id: cid-6a10f252fe80fd23cd2ab2df2e06e82ce0d8d684
  • Loading branch information
secfree committed Dec 7, 2022
1 parent 1bb53f4 commit 9ff756a
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -4642,6 +4642,7 @@ private void handleSuccess(PersistJob job) {
.setPersistenceState(PersistenceState.PERSISTED.name())
.build());
propagatePersistedInternal(journalContext, inodePath);
mUfsAbsentPathCache.processExisting(inodePath.getUri());
Metrics.FILES_PERSISTED.inc();

// Save state for possible cleanup
Expand Down

0 comments on commit 9ff756a

Please sign in to comment.