Skip to content

Commit

Permalink
fix review comment
Browse files Browse the repository at this point in the history
Signed-off-by: Wei Liu <[email protected]>
  • Loading branch information
weiliu1031 committed Nov 8, 2024
1 parent 79c2a62 commit 2239ddb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/proxy/meta_cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -1072,7 +1072,7 @@ func (m *MetaCache) InvalidateShardLeaderCache(collections []int64) {
}
}
if len(dbInfo) == 0 {
delete(dbInfo, dbName)
delete(m.collLeader, dbName)
}
}
}
Expand Down

0 comments on commit 2239ddb

Please sign in to comment.