Skip to content

Fix recover duplicate#12272

Merged
HTHou merged 3 commits intoapache:masterfrom
shuwenwei:fixRecoverDuplicate
Apr 3, 2024
Merged

Fix recover duplicate#12272
HTHou merged 3 commits intoapache:masterfrom
shuwenwei:fixRecoverDuplicate

Conversation

@shuwenwei
Copy link
Member

@shuwenwei shuwenwei commented Apr 1, 2024

Description

This pr fix two problems of recover:

  1. When recover a snapshot memTable WALEntry, the overlap check is skipped.
  2. The overlap check of unsequence file is skipped.

If the overlap check is not performed correctly, the TsFile may have repeated data after recover, which cause compaction failed.

@HTHou HTHou merged commit 360254b into apache:master Apr 3, 2024
@HTHou HTHou deleted the fixRecoverDuplicate branch April 3, 2024 01:38
HTHou pushed a commit that referenced this pull request Jun 26, 2024
SzyWilliam pushed a commit to SzyWilliam/iotdb that referenced this pull request Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants