mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-06-04 22:30:37 +00:00
feat: add delete WAL in drop_region (#1577)
* feat: add delete WAL in drop_region * chore: fix typo err. * feat: mark all SSTs deleted and remove the region from StorageEngine's region map. * test: add test_drop_region for StorageEngine. * chore: make clippy happy * fix: fix conflict * chore: CR. * chore: CR * chore: fix clippy * fix: temp file life time
This commit is contained in:
@@ -112,6 +112,11 @@ pub trait Table: Send + Sync {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
/// Drop regions
|
||||
async fn drop_regions(&self) -> Result<()> {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
/// Get region stats in this table.
|
||||
fn region_stats(&self) -> Result<Vec<RegionStat>> {
|
||||
UnsupportedSnafu {
|
||||
|
||||
Reference in New Issue
Block a user