Skip to content

Conversation

Satbek
Copy link
Contributor

@Satbek Satbek commented Oct 3, 2025

Metric checks whether schema needs an upgrade. Value 1 means upgrade required, 0 means schema up-to-date.

Closes TNTP-4904

I didn't forget about

  • Tests
  • Changelog
  • Documentation (README and rst)
  • Rockspec and rpm spec

Close #523

Copy link
Contributor

@oleg-jukovec oleg-jukovec left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please, squash commits into a single one.

@Satbek Satbek force-pushed the schema_needs_upgrade branch from 0a85e9a to 7ee5609 Compare October 6, 2025 07:16
Copy link
Contributor

@oleg-jukovec oleg-jukovec left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please, fix the squashed commit message:

[schema: add schema needs upgrade metric](https://github.com/tarantool/metrics/pull/524/commits/7ee56095d1a685c1466dce80b862f676da11672a)
Metric checks whether schema needs an upgrade. Value 1 means upgrade required, 0 means schema up-to-date.

Closes TNTP-4904

update doc

fix lint

fix doc

add box.cfg check

->

schema: add schema needs upgrade metric

Metric checks whether schema needs an upgrade. Value 1 means upgrade
required, 0 means schema up-to-date.

Closes TNTP-4904

There is two fixes:

  1. A commit message line should be < 72 chars.
  2. Remove extra lines.

@Satbek Satbek force-pushed the schema_needs_upgrade branch from 7ee5609 to d8ffc61 Compare October 6, 2025 07:34
Metric checks whether schema needs an upgrade.
Value 1 means upgrade required, 0 means schema up-to-date.

Closes TNTP-4904
@Satbek Satbek force-pushed the schema_needs_upgrade branch from d8ffc61 to 750aad0 Compare October 6, 2025 07:35
@Satbek
Copy link
Contributor Author

Satbek commented Oct 6, 2025

Please, fix the squashed commit message:

[schema: add schema needs upgrade metric](https://github.com/tarantool/metrics/pull/524/commits/7ee56095d1a685c1466dce80b862f676da11672a)
Metric checks whether schema needs an upgrade. Value 1 means upgrade required, 0 means schema up-to-date.

Closes TNTP-4904

update doc

fix lint

fix doc

add box.cfg check

->

schema: add schema needs upgrade metric

Metric checks whether schema needs an upgrade. Value 1 means upgrade
required, 0 means schema up-to-date.

Closes TNTP-4904

There is two fixes:

1. A commit message line should be < 72 chars.

2. Remove extra lines.

sorry, fixed message

@oleg-jukovec oleg-jukovec merged commit d58e4d2 into master Oct 6, 2025
16 checks passed
@oleg-jukovec oleg-jukovec deleted the schema_needs_upgrade branch October 6, 2025 10:15
@patapenka-alexey patapenka-alexey mentioned this pull request Oct 14, 2025
patapenka-alexey added a commit to tarantool/tarantool that referenced this pull request Oct 17, 2025
Bump metric package submodule. Commits from PR[1-5] add
new metric to Tarantool.

1. tarantool/metrics#519
2. tarantool/metrics#521
3. tarantool/metrics#524
4. tarantool/metrics#525
5. tarantool/metrics#527
patapenka-alexey added a commit to tarantool/tarantool that referenced this pull request Oct 17, 2025
Bump metric package submodule. Commits from PR[1-5] add
new metric to Tarantool.

1. tarantool/metrics#519
2. tarantool/metrics#521
3. tarantool/metrics#524
4. tarantool/metrics#525
5. tarantool/metrics#527

@TarantoolBot document
Title: Document `new system memory metrics`

`'tnt_memory'`, `'tnt_memory_virt'`, `'schema_needs_upgrade'` are new
metrics, introduced in metrics 1.6.0, and enabled by default.
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.

schema freshness metric

3 participants