tarantool / tarantool/tarantool

Renew mvcc monitoring metrics

Open
#8,149 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

blocked feature mvcc
Dominant language
Lua
Stars
3.7k
Forks
419
Avg merge
1d 23h
Merged PRs (30d)
88

Description

In #8122 one of mvcc objects - memtx_tx_conflict - was removed as a class. However, it was not removed from mvcc memory monitoring by several reasons:

  1. It's a breaking change. At least metrics module relies on existence of this metric. Fix of that module and deprecation policy is needed.
  2. It is expected that some other objects can be removed in further refactoring and it is reasonable to postpone metrics renewal to that moment.
  3. It's a bit complicated and requires simultaneous update of (at least) metrics module.

We should return to this issues once mvcc refactoring is completed.

After #8654 the same story happened to tx_conflict_tracker.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the completed MVCC refactoring and the metrics module, including handling for memtx_tx_conflict and tx_conflict_tracker. Coordinate the metrics update with the deprecation policy; done means monitoring no longer depends on removed MVCC objects and reflects the final set of objects.

Written by the indexing model from the issue text.

Assessment

Domain
databases, observability
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.