Skip to content

crimson/common/tri_mutex: improve logging#61253

Merged
Matan-B merged 3 commits intoceph:mainfrom
Matan-B:wip-matanb-crimson-tri_mutex_pointer
Jan 23, 2025
Merged

crimson/common/tri_mutex: improve logging#61253
Matan-B merged 3 commits intoceph:mainfrom
Matan-B:wip-matanb-crimson-tri_mutex_pointer

Conversation

@Matan-B
Copy link
Contributor

@Matan-B Matan-B commented Jan 7, 2025

Should help with debugging issues as: https://tracker.ceph.com/issues/69406.

Contribution Guidelines

  • To sign and title your commits, please refer to Submitting Patches to Ceph.

  • If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.

  • When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an x between the brackets: [x]. Spaces and capitalization matter when checking off items this way.

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
  • jenkins test rook e2e

@Matan-B Matan-B requested a review from a team as a code owner January 7, 2025 09:34
Copy link
Contributor

@perezjosibm perezjosibm left a comment

Choose a reason for hiding this comment

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

LGTM, thanks

Copy link
Member

@cyx1231st cyx1231st left a comment

Choose a reason for hiding this comment

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

LGTM except an unresolved comment.

Creating an ObjectContext instance will also result
in creating unnecessary members such as ObjectContext::tri_mutex.

While it should not cause any issues, it makes debugging tri_mutex
much harder as each object will result in an extra (unused) lock which
is destructed in the end of every run_executer execution (due to
the required `rollback_on_error.cancel()` call).

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
This partially reverts 822c7d9.
As passing hobject::to_str instead of hoid.oid.name will also include
snap info.

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
@Matan-B Matan-B force-pushed the wip-matanb-crimson-tri_mutex_pointer branch from e1be2d3 to 0e027d5 Compare January 8, 2025 10:53
@Matan-B
Copy link
Contributor Author

Matan-B commented Jan 8, 2025

jenkins test windows

@Matan-B
Copy link
Contributor Author

Matan-B commented Jan 21, 2025

https://pulpito.ceph.com/matan-2025-01-21_09:45:00-crimson-rados-wip-matanb-crimson-only-testing-20-jan-distro-crimson-smithi/
8087314, 8087370- rados_api
8087357 - https://tracker.ceph.com/issues/69602
8087379 - https://tracker.ceph.com/issues/69439
8087383 - 404
new, 8087392 - https://tracker.ceph.com/issues/69612
8087407 - https://tracker.ceph.com/issues/66606

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

Projects

Status: Merged (Pre Tentacle Freeze)

Development

Successfully merging this pull request may close these issues.

5 participants