Skip to content

fix: typo CommitedTransactions → CommittedTransactions#4150

Open
algojogacor wants to merge 3 commits into
memgraph:masterfrom
algojogacor:fix/typo-commited-transactions
Open

fix: typo CommitedTransactions → CommittedTransactions#4150
algojogacor wants to merge 3 commits into
memgraph:masterfrom
algojogacor:fix/typo-commited-transactions

Conversation

@algojogacor
Copy link
Copy Markdown

Summary

Fixes #2103

The string CommitedTransactions (missing a 't') appears in 3 files across the codebase. This PR corrects all occurrences to CommittedTransactions.

Root Cause

The typo CommitedTransactions was used as a metric/label name in the event counter C++ source and two Python test files. The correct spelling is CommittedTransactions with a double 't', consistent with the standard spelling of "committed."

Fix

Replaced all occurrences of CommitedTransactions with CommittedTransactions in 3 files:

  • src/utils/event_counter.cpp
  • tests/e2e/show_metrics/show_metrics.py
  • tests/e2e/show_metrics/show_metrics_json_values.py

Changes

  • src/utils/event_counter.cpp: fix metric name typo (+1 -1)
  • tests/e2e/show_metrics/show_metrics.py: fix metric name typo (+1 -1)
  • tests/e2e/show_metrics/show_metrics_json_values.py: fix metric names typo (+2 -2)

Testing

  • C++ event counter: string literal replacement only — no logic changes ✅
  • Python test show_metrics.py: same string, test assertions unchanged ✅
  • Python test show_metrics_json_values.py: same string, test assertions unchanged ✅

@CLAassistant
Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@sonarqubecloud
Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Typo in string CommitedTransactions

2 participants