Skip to content

mds: trim cache during standby-replay - #28212

Merged
batrick merged 1 commit into
ceph:masterfrom
simon-rock:simon_bug_fix
Jun 19, 2019
Merged

batrick merged 1 commit into
ceph:masterfrom
simon-rock:simon_bug_fix

Conversation

@simon-rock

@simon-rock simon-rock commented May 22, 2019 •

Copy link
Copy Markdown
Contributor

Fixes:http://tracker.ceph.com/issues/40213
Signed-off-by: simon gao [email protected]

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

@simon-rock
simon-rock force-pushed the simon_bug_fix branch 5 times, most recently from 687764a to 809897c Compare May 24, 2019 10:41
@tchaikov

Copy link
Copy Markdown
Contributor

retest this please.

@batrick batrick added cephfs Ceph File System needs-review labels May 29, 2019
@simon-rock
simon-rock force-pushed the simon_bug_fix branch 4 times, most recently from decda05 to 7b742cf Compare May 31, 2019 14:20
Comment thread src/mds/MDCache.cc Resolved
@simon-rock
simon-rock force-pushed the simon_bug_fix branch 6 times, most recently from 713666e to f0ef7d9 Compare June 3, 2019 12:26
@batrick batrick changed the title mds:fix bug,cann't switch standy-ready mds to active mds: trim cache during standby-replay Jun 3, 2019

@batrick batrick left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Not clear on the specific issue you found. Does the standby-replay MDS not trim its cache?

Comment thread src/mds/MDCache.cc Resolved
Comment thread src/mds/MDCache.cc Resolved

@batrick batrick left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Please create a tracker issue so that this issue can be tracked for backporting.

Then, please annotate the commit which fixes/resolves a Ceph tracker issue with:

Fixes: http://tracker.ceph.com/issues/...

This is essential when examining the history of the repository (this commit fixes what) and helps merge scripts identify issues that have been resolved by a merge.

@ukernel

ukernel commented Jun 3, 2019

Copy link
Copy Markdown
Contributor

yes, standby replay mds does not trim its cache

@ukernel
ukernel requested a review from batrick June 14, 2019 01:53
@batrick
batrick merged commit c0fe25b into ceph:master Jun 19, 2019
batrick added a commit that referenced this pull request Jun 19, 2019
* refs/pull/28212/head:
	mds: trim cache during standby replay

Reviewed-by: Patrick Donnelly <[email protected]>
Reviewed-by: Zheng Yan <[email protected]>
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.

4 participants