Skip to content

osd, mon: add pglog dups length - #46561

Merged
yuriw merged 3 commits into
ceph:mainfrom
NitzanMordhai:wip-nitzan-add-pglog-dups-length
Jul 21, 2022
Merged

yuriw merged 3 commits into
ceph:mainfrom
NitzanMordhai:wip-nitzan-add-pglog-dups-length

Conversation

@NitzanMordhai

@NitzanMordhai NitzanMordhai commented Jun 8, 2022 •

Copy link
Copy Markdown
Contributor

Add a new column LOG_DUPS, to the pg dump stats and log_dups_size to pg query
that will show the size of dups entries in pg log.

Fixes: https://tracker.ceph.com/issues/55836
Signed-off-by: Nitzan Mordechai [email protected]

Contribution Guidelines

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
Show available Jenkins commands
  • jenkins retest this please
  • jenkins test classic perf
  • jenkins test crimson perf
  • jenkins test signed
  • jenkins test make check
  • jenkins test make check arm64
  • jenkins test submodules
  • jenkins test dashboard
  • jenkins test dashboard cephadm
  • jenkins test api
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox
  • jenkins test windows

@NitzanMordhai
NitzanMordhai requested a review from a team as a code owner June 8, 2022 06:14

@rzarzynski rzarzynski left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Generally LGTM. One question around the backward compatibility.

Comment thread src/osd/osd_types.cc Resolved
@NitzanMordhai
NitzanMordhai force-pushed the wip-nitzan-add-pglog-dups-length branch from 451cc68 to ede37ed Compare June 8, 2022 07:06

@rzarzynski rzarzynski left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM.

Comment thread src/osd/PeeringState.cc Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

How about dissecting this log entry into a tiny, dedicated commit? We could easily and safely backport it everywhere.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

+1!

@sseshasa

Copy link
Copy Markdown
Contributor

Teuthology Test Result
https://pulpito.ceph.com/yuriw-2022-06-27_15:15:17-rados-wip-yuri2-testing-2022-06-24-1331-distro-default-smithi/

Related Failure:
@NitzanMordhai The following failed job appears to be related to this PR. Can you please take a look?
JobID: https://pulpito.ceph.com/yuriw-2022-06-27_15:15:17-rados-wip-yuri2-testing-2022-06-24-1331-distro-default-smithi/6900800
Failure Reason: qa/standalone/osd/repro_long_log.sh failed
Test that failed: TEST_trim_max_entries_with_dups at line 172

Add a new column LOG_DUPS, to the pg dump stats and log_dups_size to pg query
that will show the size of dups entries in pg log.

Signed-off-by: Nitzan Mordechai <[email protected]>
Add to the current test of log_size the log_dups_size output test

Signed-off-by: Nitzan Mordechai <[email protected]>
Add a new column LOG_DUPS, to the pg dump stats and log_dups_size to pg query
that will show the size of dups entries in pg log.

Signed-off-by: Nitzan Mordechai <[email protected]>
@NitzanMordhai
NitzanMordhai force-pushed the wip-nitzan-add-pglog-dups-length branch from ede37ed to 7b4acb7 Compare June 30, 2022 08:11
@NitzanMordhai

NitzanMordhai commented Jun 30, 2022 •

Copy link
Copy Markdown
Contributor Author

Teuthology Test Result https://pulpito.ceph.com/yuriw-2022-06-27_15:15:17-rados-wip-yuri2-testing-2022-06-24-1331-distro-default-smithi/

Related Failure: @NitzanMordhai The following failed job appears to be related to this PR. Can you please take a look? JobID: https://pulpito.ceph.com/yuriw-2022-06-27_15:15:17-rados-wip-yuri2-testing-2022-06-24-1331-distro-default-smithi/6900800 Failure Reason: qa/standalone/osd/repro_long_log.sh failed Test that failed: TEST_trim_max_entries_with_dups at line 172

I see my mistake, and correcting it

@NitzanMordhai

Copy link
Copy Markdown
Contributor Author

jenkins test api

@NitzanMordhai

Copy link
Copy Markdown
Contributor Author

jenkins test windows

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants