Skip to content

os/bluestore: extended RocksDB export/import implementation - #48309

Closed
ifed01 wants to merge 3 commits into
ceph:mainfrom
ifed01:wip-ifed-db-import
Closed

ifed01 wants to merge 3 commits into
ceph:mainfrom
ifed01:wip-ifed-db-import

Conversation

@ifed01

@ifed01 ifed01 commented Sep 30, 2022

Copy link
Copy Markdown
Contributor

This is an extended version of #48029 which adds BlueFS/DB reset to the original patch.
It will make the restore process more robust and provide better consistency between BlueFS and RocksDB afterwards as we don't need to bring up/use may-be-broken DB instance prior to the import.

Signed-off-by: Igor Fedotov [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

@ifed01

ifed01 commented Oct 4, 2022

Copy link
Copy Markdown
Contributor Author

jenkins test make check

@ifed01
ifed01 force-pushed the wip-ifed-db-import branch 3 times, most recently from d4e3272 to 856d842 Compare October 6, 2022 15:00
@ifed01

ifed01 commented Oct 6, 2022

Copy link
Copy Markdown
Contributor Author

jenkins test make check

@github-actions

Copy link
Copy Markdown

This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved

@github-actions

Copy link
Copy Markdown

This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved

@github-actions

Copy link
Copy Markdown

This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days.
If you are a maintainer or core committer, please follow-up on this pull request to identify what steps should be taken by the author to move this proposed change forward.
If you are the author of this pull request, thank you for your proposed contribution. If you believe this change is still appropriate, please ensure that any feedback has been addressed and ask for a code review.

@github-actions

github-actions Bot commented Jul 8, 2023

Copy link
Copy Markdown

This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved

@github-actions github-actions Bot removed the stale label Jul 8, 2023
@rzarzynski

Copy link
Copy Markdown
Contributor

@ifed01, @aclamk: do we still need this PR? As @ljflores pointed out, It got artifically-unstale.

(note a from a PR scrub)

If have a function what we can backup rocksdb of bluetore,
and then we can use backup db to restore db when db damage.
At now, osd block device disk is a 16TB HDD, if have one
of db happend damage, we have to destroyed and redeployed osd,
and then have a 16TB data need to backfill, but block device
is intact. If we can restore db by backup, we don't need to
redeployed osd, just backfill a little data.

Signed-off-by: Yite Gu <[email protected]>
To be implemented in ceph-bluestore-tool

Signed-off-by: Igor Fedotov <[email protected]>
It looks like one better reinitialize BlueFS and RocksDB before performing
RocksDB restore from a backup. This will ensure better consistency
between BlueFS and RocksDB and make the restore process more robust
 as we don't need to bring up any may-be-broken DB instance prior to it.

Signed-off-by: Igor Fedotov <[email protected]>
@github-actions

Copy link
Copy Markdown

This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved

@github-actions

Copy link
Copy Markdown

This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days.
If you are a maintainer or core committer, please follow-up on this pull request to identify what steps should be taken by the author to move this proposed change forward.
If you are the author of this pull request, thank you for your proposed contribution. If you believe this change is still appropriate, please ensure that any feedback has been addressed and ask for a code review.

@github-actions github-actions Bot added the stale label Dec 29, 2023
@github-actions

Copy link
Copy Markdown

This pull request has been automatically closed because there has been no activity for 90 days. Please feel free to reopen this pull request (or open a new one) if the proposed change is still appropriate. Thank you for your contribution!

@github-actions github-actions Bot closed this Jan 28, 2024
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.

3 participants