Skip to content

mds: Add killpoints for directory fragmentation - #35178

Closed
sidharthanup wants to merge 3 commits into
ceph:mainfrom
sidharthanup:wip-dirfrag-killpoints
Closed

sidharthanup wants to merge 3 commits into
ceph:mainfrom
sidharthanup:wip-dirfrag-killpoints

Conversation

@sidharthanup

@sidharthanup sidharthanup commented May 21, 2020 •

Copy link
Copy Markdown
Contributor

Defined Killpoints for testing completion/recovery of directory fragmentation during failure.

Fixes: https://tracker.ceph.com/issues/7320
Signed-off-by: Sidharth Anupkrishnan [email protected]

Checklist

  • References tracker ticket
  • Updates documentation if necessary
  • Includes tests for new functionality or reproducer for bug

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 backend
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox

@sidharthanup
sidharthanup force-pushed the wip-dirfrag-killpoints branch 2 times, most recently from f6dfcb1 to f6e9cab Compare May 26, 2020 11:32
@sidharthanup sidharthanup added the cephfs Ceph File System label May 26, 2020
@sidharthanup
sidharthanup force-pushed the wip-dirfrag-killpoints branch from f6e9cab to 8f3af60 Compare May 26, 2020 12:16
Comment thread src/common/legacy_config_opts.h Resolved
Comment thread qa/tasks/cephfs/test_fragment.py Resolved
Comment thread qa/tasks/cephfs/test_fragment.py Resolved
@sidharthanup
sidharthanup force-pushed the wip-dirfrag-killpoints branch from 8f3af60 to e3765b1 Compare June 8, 2020 13:00
@sidharthanup
sidharthanup force-pushed the wip-dirfrag-killpoints branch 3 times, most recently from 35039f2 to ea91b44 Compare June 25, 2020 17:47
@batrick

batrick commented Jul 8, 2020

Copy link
Copy Markdown
Member

retest this please

@batrick

batrick commented Jul 31, 2020

Copy link
Copy Markdown
Member

@sidharthanup please rebase.

Any update on this? Ready for another round of review?

@sidharthanup
sidharthanup force-pushed the wip-dirfrag-killpoints branch 2 times, most recently from 3ba10ff to a7a58a4 Compare August 6, 2020 13:14
@sidharthanup

Copy link
Copy Markdown
Contributor Author

@batrick Just cleaned it up and pushed an updated set of killpoints which I think is more appropriate. Please do review.

@sidharthanup
sidharthanup force-pushed the wip-dirfrag-killpoints branch 5 times, most recently from 3a62cbe to 5a229b8 Compare August 10, 2020 15:26
@sidharthanup

Copy link
Copy Markdown
Contributor Author

@batrick

batrick commented Aug 11, 2020

Copy link
Copy Markdown
Member

jenkins test make check

Comment thread src/common/legacy_config_opts.h Resolved
Comment thread qa/tasks/cephfs/test_fragment.py Resolved
Comment thread qa/tasks/cephfs/test_fragment.py Resolved
Comment thread qa/tasks/cephfs/test_fragment.py Resolved
Comment thread qa/tasks/cephfs/test_fragment.py Resolved
Comment thread qa/tasks/cephfs/test_fragment.py Resolved
Comment thread qa/tasks/cephfs/test_fragment.py Resolved
Comment thread qa/tasks/cephfs/test_fragment.py Resolved
Comment thread qa/tasks/cephfs/test_fragment.py Resolved
@sidharthanup
sidharthanup force-pushed the wip-dirfrag-killpoints branch 2 times, most recently from a7917bb to 29e8119 Compare August 13, 2020 16:57
Comment thread qa/tasks/cephfs/test_fragment.py Resolved
@ukernel

ukernel commented Aug 17, 2020 •

Copy link
Copy Markdown
Contributor

add kill points to MDCache::_fragment_logged, MDCache::_fragment_committed and MDCache::_fragment_old_purged

@sidharthanup

Copy link
Copy Markdown
Contributor Author

@ukernel Thanks! I've started testing it locally. Will push those changes.

@sidharthanup
sidharthanup force-pushed the wip-dirfrag-killpoints branch from 29e8119 to 7702415 Compare August 18, 2020 12:31
@batrick

batrick commented Dec 9, 2020

Copy link
Copy Markdown
Member

@sidharthanup please run through QA again when finished.

@sidharthanup
sidharthanup force-pushed the wip-dirfrag-killpoints branch 2 times, most recently from 16bdb75 to cdf2d2e Compare December 9, 2020 21:32
@sidharthanup

Copy link
Copy Markdown
Contributor Author

Ack I forgot to push some of the latest fixes.

@sidharthanup

Copy link
Copy Markdown
Contributor Author

jenkins test make check

@sidharthanup
sidharthanup force-pushed the wip-dirfrag-killpoints branch from cdf2d2e to e893b18 Compare December 9, 2020 21:46
@sidharthanup

Copy link
Copy Markdown
Contributor Author

@batrick

batrick commented Dec 19, 2020

Copy link
Copy Markdown
Member

@batrick Pls review again. https://pulpito.ceph.com/sidharthanup-2020-12-17_14:01:08-fs-wip-dirfrag-killpoints17-distro-basic-smithi/ seems to be hitting the same assertion failure as before.

It looks like the begin.yaml changes were lost?

#35178 (comment)

Please let me know what you fixed/changed.

@sidharthanup
sidharthanup force-pushed the wip-dirfrag-killpoints branch from e893b18 to d4cfc79 Compare December 21, 2020 12:40
@sidharthanup

sidharthanup commented Dec 21, 2020 •

Copy link
Copy Markdown
Contributor Author

Uh oh.. Not sure why the begin.yaml update and the frag_enable deletes got lost. Have reupdated. Waiting for teuthology.

@sidharthanup
sidharthanup force-pushed the wip-dirfrag-killpoints branch 2 times, most recently from 0a77f96 to 2e9d4cc Compare December 22, 2020 21:24
@batrick

batrick commented Dec 23, 2020

Copy link
Copy Markdown
Member

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

@sidharthanup
sidharthanup force-pushed the wip-dirfrag-killpoints branch 2 times, most recently from 87c598f to 8792a94 Compare January 4, 2021 10:23
@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

@batrick

batrick commented May 4, 2021

Copy link
Copy Markdown
Member

Please rebase

Comment thread src/common/options/mds.yaml.in Resolved
Defined a set of killpoints for testing directory fragmentation during cluster recovery after failure.
Signed-off-by: Sidharth Anupkrishnan <[email protected]>
…ache the fetched values when there is a hot code path

This change is necessary because the new way of setting config is to use the ceph config command or the asok interfave rahter than the old way which involved editing the ceph.conf and restarting the daemons to reflect the changes. Have updated the code to support runtime config changes.
Signed-off-by: Sidharth Anupkrishnan <[email protected]>
Signed-off-by: Sidharth Anupkrishnan <[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

@stale

stale Bot commented Jan 9, 2022

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.

1 similar comment
@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.

@batrick batrick mentioned this pull request Sep 15, 2022
4 of 14 tasks
@batrick

batrick commented Sep 15, 2022

Copy link
Copy Markdown
Member

Now: #48130

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