Project

General

Profile

Actions

Bug #68132

closed

mds: session/client evict should treat unmatched filter as success

Added by Venky Shankar over 1 year ago. Updated 5 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Correctness/Safety
Target version:
% Done:

0%

Source:
Development
Backport:
quincy,reef,squid
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Labels (FS):
Pull request ID:
Tags (freeform):
backport_processed
Fixed In:
v19.3.0-5285-gd31541dc8e
Released In:
v20.2.0~1899
Upkeep Timestamp:
2025-11-01T01:35:43+00:00

Description

commit 0ef5941a2e79feeae79a705080b57d410fa38136 introduced this bit of change

diff --git a/src/mds/MDSRank.cc b/src/mds/MDSRank.cc
index 7f51fe3c683..1d21310c09e 100644
--- a/src/mds/MDSRank.cc
+++ b/src/mds/MDSRank.cc
@@ -3115,7 +3115,7 @@ void MDSRankDispatcher::evict_clients(
   dout(20) << __func__ << " matched " << victims.size() << " sessions" << dendl;

   if (victims.empty()) {
-    on_finish(0, {}, outbl);
+    on_finish(-ESRCH, "no hosts match", outbl);
     return;
   }

Which breaks OpenStack Manila workflow.


Related issues 3 (0 open3 closed)

Copied to CephFS - Backport #68319: quincy: mds: session/client evict should treat unmatched filter as successResolvedVenky ShankarActions
Copied to CephFS - Backport #68320: reef: mds: session/client evict should treat unmatched filter as successResolvedVenky ShankarActions
Copied to CephFS - Backport #68321: squid: mds: session/client evict should treat unmatched filter as successResolvedVenky ShankarActions
Actions #1

Updated by Venky Shankar over 1 year ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 59874
Actions #2

Updated by Venky Shankar over 1 year ago

  • Status changed from Fix Under Review to Pending Backport
Actions #3

Updated by Upkeep Bot over 1 year ago

  • Copied to Backport #68319: quincy: mds: session/client evict should treat unmatched filter as success added
Actions #4

Updated by Upkeep Bot over 1 year ago

  • Copied to Backport #68320: reef: mds: session/client evict should treat unmatched filter as success added
Actions #5

Updated by Upkeep Bot over 1 year ago

  • Copied to Backport #68321: squid: mds: session/client evict should treat unmatched filter as success added
Actions #6

Updated by Upkeep Bot over 1 year ago

  • Tags (freeform) set to backport_processed
Actions #7

Updated by Upkeep Bot 9 months ago

  • Status changed from Pending Backport to Resolved
  • Upkeep Timestamp set to 2025-07-08T17:48:17+00:00
Actions #8

Updated by Upkeep Bot 8 months ago

  • Merge Commit set to d31541dc8e47e5cb3c9e38641478307c510126e2
  • Fixed In set to v19.3.0-5285-gd31541dc8e
  • Upkeep Timestamp changed from 2025-07-08T17:48:17+00:00 to 2025-08-02T01:37:50+00:00
Actions #9

Updated by Upkeep Bot 5 months ago

  • Released In set to v20.2.0~1899
  • Upkeep Timestamp changed from 2025-08-02T01:37:50+00:00 to 2025-11-01T01:35:43+00:00
Actions

Also available in: Atom PDF