Skip to content

Remove deprecated apply snapshot method #4998

@JaySon-Huang

Description

@JaySon-Huang

Enhancement

Before v5.1, we apply snapshot by decoding SSTFiles into blocks and flush to the storage layer. Since 5.1, by default we decode SSTFiles into DTFiles and ingest to the storage layer, which consume less memory. #1347

We can remove related code of SnapshotApplyMethod::Block now.

[raft.snapshot]
# The way to apply snapshot data
# The value is one of "block" / "file1"
# method = "file1"

Metadata

Metadata

Assignees

Labels

type/enhancementThe issue or PR belongs to an enhancement.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions