Skip to content

Commit

Permalink
chore: apply suggestions from CR
Browse files Browse the repository at this point in the history
  • Loading branch information
WenyXu committed Dec 4, 2023
1 parent a50c0b5 commit 42d9e67
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,11 @@ impl UpgradeCandidateRegion {
fn build_upgrade_region_instruction(&self, ctx: &Context) -> Instruction {
let pc = &ctx.persistent_ctx;
let region_id = pc.region_id;
let last_entry_id = ctx.volatile_ctx.leader_region_last_entry_id;

Instruction::UpgradeRegion(UpgradeRegion {
region_id,
// TODO(weny): Waits for https://github.com/GreptimeTeam/greptimedb/pull/2792
last_entry_id: None,
last_entry_id,
wait_for_replay_secs: Some(self.replay_timeout.as_secs()),
})
}
Expand Down

0 comments on commit 42d9e67

Please sign in to comment.