Skip to content

Commit

Permalink
Remove duplicated PSMWriteBytes
Browse files Browse the repository at this point in the history
Signed-off-by: JaySon-Huang <[email protected]>
  • Loading branch information
JaySon-Huang committed Feb 9, 2022
1 parent 5066f68 commit ace32df
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions dbms/src/Storages/Page/PageUtil.h
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,6 @@ void writeFile(
const WriteLimiterPtr & write_limiter = nullptr,
[[maybe_unused]] bool enable_failpoint = false)
{
ProfileEvents::increment(ProfileEvents::PSMWriteBytes, to_write);

if (write_limiter)
write_limiter->request(to_write);

Expand Down

0 comments on commit ace32df

Please sign in to comment.