Merge pull request #9643 from sfc-gh-tclinkenbeard/fix-arg-type

Fix argument type in `ProxyCommitData::updateSSTagCost`
This commit is contained in:
Jingyu Zhou 2023-03-22 12:19:34 -07:00 committed by GitHub
commit 1b61a2bc5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -303,7 +303,7 @@ struct ProxyCommitData {
latencyBandConfig = newLatencyBandConfig;
}
void updateSSTagCost(const UID& id, const TagSet& tagSet, MutationRef m, int cost) {
void updateSSTagCost(const UID& id, const TagSet& tagSet, MutationRef m, uint64_t cost) {
auto [it, _] = ssTrTagCommitCost.try_emplace(id, TransactionTagMap<TransactionCommitCostEstimation>());
for (auto& tag : tagSet) {