Skip to content

Commit 3a58ad5

Browse files
committed
chore: after rebase fix
Signed-off-by: discord9 <[email protected]>
1 parent 6ef2dad commit 3a58ad5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/datanode/src/heartbeat/handler.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,8 @@ impl HeartbeatResponseHandler for RegionHeartbeatResponseHandler {
136136
fn is_acceptable(&self, ctx: &HeartbeatResponseHandlerContext) -> bool {
137137
matches!(
138138
ctx.incoming_message.as_ref(),
139-
Some((_, Instruction::OpenRegion { .. }))
140-
| Some((_, Instruction::CloseRegion { .. }))
139+
Some((_, Instruction::OpenRegions { .. }))
140+
| Some((_, Instruction::CloseRegions { .. }))
141141
| Some((_, Instruction::DowngradeRegion { .. }))
142142
| Some((_, Instruction::UpgradeRegion { .. }))
143143
| Some((_, Instruction::FlushRegions { .. }))
@@ -158,7 +158,7 @@ impl HeartbeatResponseHandler for RegionHeartbeatResponseHandler {
158158
let downgrade_tasks = self.downgrade_tasks.clone();
159159
let flush_tasks = self.flush_tasks.clone();
160160
let gc_tasks = self.gc_tasks.clone();
161-
let handler = Self::build_handler(instruction)?;
161+
let handler = self.build_handler(instruction)?;
162162
let _handle = common_runtime::spawn_global(async move {
163163
let reply = handler(HandlerContext {
164164
region_server,

src/meta-srv/src/gc_scheduler.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ impl GcScheduler {
566566
.process_region_gc_with_retry(candidate, &file_refs_manifest, &region_to_peer)
567567
.await
568568
{
569-
Ok((report, used_full_listing)) => {
569+
Ok((_report, used_full_listing)) => {
570570
successful_regions += 1;
571571
// Update GC tracker
572572
let mut gc_tracker = self.region_gc_tracker.lock().await;

0 commit comments

Comments
 (0)