Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

Handle error from m0_layout_find_by_objsz() #254

Merged
merged 1 commit into from
Jun 7, 2022

Conversation

andriytk
Copy link

@andriytk andriytk commented Jun 1, 2022

Such error can happen, for example, when there are too many
failures in the cluster which are not tolerable by motr, so
the pool version is not available and m0_layout_find_by_objsz()
cannot return any meaningful result.

Solution: handle errors from m0_layout_find_by_objsz().

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

@github-actions github-actions bot added the rgw label Jun 1, 2022
@andriytk
Copy link
Author

andriytk commented Jun 1, 2022

See also Seagate/cortx-motr#1838

Such error can happen, for example, when there are too many
failures in the cluster which are not tolerable by motr, so
the pool version is not available and m0_layout_find_by_objsz()
cannot return any meaningful result.

Solution: handle errors from m0_layout_find_by_objsz().

Signed-off-by: Andriy Tkachuk <andriy.tkachuk@seagate.com>
@andriytk andriytk merged commit 12d90d3 into Seagate:main Jun 7, 2022
@andriytk andriytk deleted the handle-lid-err branch June 7, 2022 16:04
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants