fix(metric-engine): missing catchup implementation (#4048)

* fix(metric-engine): missing catchup implementation

* fix: should be `metadata_region_id`
This commit is contained in:
Weny Xu
2024-05-27 16:56:46 +09:00
committed by GitHub
parent 75bddc0bf5
commit 20ce7d428d
4 changed files with 73 additions and 4 deletions

View File

@@ -666,7 +666,7 @@ pub struct RegionTruncateRequest {}
///
/// Makes a readonly region to catch up to leader region changes.
/// There is no effect if it operating on a leader region.
#[derive(Debug)]
#[derive(Debug, Clone, Copy)]
pub struct RegionCatchupRequest {
/// Sets it to writable if it's available after it has caught up with all changes.
pub set_writable: bool,