Skip to content

Commit

Permalink
fix compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
mattisonchao committed Nov 7, 2024
1 parent 4b9f052 commit 6697e6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coordinator/impl/shard_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -894,7 +894,7 @@ func (s *shardController) SyncServerAddress() {
s.shardMetadataMutex.RLock()
exist := false
for _, candidate := range s.shardMetadata.Ensemble {
if newInfo, ok := s.coordinator.FindNodeInfoById(candidate.GetNodeId()); ok {
if newInfo, ok := s.coordinator.FindServerAddressByInternalAddress(candidate.Internal); ok {
if *newInfo != candidate {
exist = true
break
Expand Down

0 comments on commit 6697e6f

Please sign in to comment.