ceph icon indicating copy to clipboard operation
ceph copied to clipboard

crimson/osd: simplify cloning

Open rzarzynski opened this issue 3 years ago • 0 comments

  1. Drop head_os and any other thing that could be a counterpart of the classical old obs structure.
  2. The cloning operation, now executed at the very beginning of OpsExecuter's life cycle, produces new_snapset that is applied to obc after executing all other operations. (execute+commit).
  3. It also creates a pg_log_entry which is appended at the end of log_entires at the flush (preserved the orignal logic, havent't experimented with it yet).
  4. TestLibRBD.TestIOToSnapshot is green without any reordering within txn (tested with other recent fixes for cloning).

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

rzarzynski avatar Oct 18 '22 11:10 rzarzynski