Skip to content

fix: fix an issue where the compactor causes previously deleted data to reappear#2278

Open
yangchun0821 wants to merge 1 commit into
dgraph-io:mainfrom
yangchun0821:fix-compactor-causing-deleted-data-to-reappear
Open

fix: fix an issue where the compactor causes previously deleted data to reappear#2278
yangchun0821 wants to merge 1 commit into
dgraph-io:mainfrom
yangchun0821:fix-compactor-causing-deleted-data-to-reappear

Conversation

@yangchun0821
Copy link
Copy Markdown

Description

During Level 0 compaction, the engine may skip intermediate levels and compact Level 0 tables directly to the bottommost level. This can leave stale data in the skipped intermediate levels. As a result, previously deleted keys may reappear from the user's perspective after compaction completes.

Checklist

  • Code compiles correctly and linting passes locally
  • Tests added for new functionality, or regression tests for bug fixes added as applicable

@yangchun0821 yangchun0821 requested a review from a team as a code owner May 22, 2026 04:11
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented May 22, 2026

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants