Skip to content

Commit

Permalink
Update src/file-engine/src/engine.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
WenyXu authored Oct 23, 2023
1 parent 62a2a4a commit 4fdfd8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/file-engine/src/engine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ impl EngineInner {

fn state(&self, region_id: RegionId) -> Option<RegionRole> {
if self.regions.blocking_read().get(&region_id).is_some() {
Some(RegionRole::Leader)
Some(RegionRole::Follower)
} else {
None
}
Expand Down

0 comments on commit 4fdfd8a

Please sign in to comment.