Skip to content

Commit

Permalink
issue-1932: fixed signed/unsigned comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
qkrorlqr committed Nov 6, 2024
1 parent f41c2a5 commit 183ba08
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ void TIndexTabletActor::HandleConfigureShards(
" is smaller than prev shard list: "
<< msg->Record.GetShardFileSystemIds().size() << " < "
<< shardIds.size());
} else if (msg->Record.GetShardFileSystemIds().size() > MaxShardCount) {
} else if (msg->Record.ShardFileSystemIdsSize() > MaxShardCount) {
error = MakeError(E_ARGUMENT, TStringBuilder() << "new shard list"
" is bigger than limit: "
<< msg->Record.GetShardFileSystemIds().size() << " > "
Expand Down

0 comments on commit 183ba08

Please sign in to comment.