[SRU] configurable threshold for reaping dead connections and add a unit test

Bug #1953426 reported by gerald.yang
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ceph (Ubuntu)
Won't Fix
Undecided
gerald.yang
Focal
Won't Fix
Undecided
gerald.yang

Bug Description

[Impact]
add a configurable threshold for reaping dead connections and fix cephfs test case

[Test plan]
run ceph qa tests in: qa/tasks/cephfs/test_sessionmap.py
this also verifies the configurable threshold

steps to run:
1. build ceph from source folder
2. go to build folder
3. run all tests in test_sessionmap.py, e.g.
python ../qa/tasks/vstart_runner.py tasks.cephfs.test_sessionmap.TestSessionMap.test_mount_conn_close
python ../qa/tasks/vstart_runner.py tasks.cephfs.test_sessionmap.TestSessionMap.test_tell_session_drop
...

[Where problems could occur]
these patches only add a configuration and fix the test case
the only problem I can imagine is someone sets this config to a non-sense value

[Other info]
from upstream:
octopus backport tracker
https://tracker.ceph.com/issues/51199

octopus backport PR
https://github.com/ceph/ceph/pull/43310

Changed in ceph (Ubuntu):
status: New → In Progress
assignee: nobody → gerald.yang (gerald-yang-tw)
Revision history for this message
gerald.yang (gerald-yang-tw) wrote :

first patch

Revision history for this message
gerald.yang (gerald-yang-tw) wrote :

second patch

Changed in ceph (Ubuntu Focal):
assignee: nobody → gerald.yang (gerald-yang-tw)
status: New → In Progress
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "0001-msg-async-configurable-threshold-for-reaping-dead-co.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
tags: added: sts sts-sru-needed verification-needed-focal
description: updated
description: updated
description: updated
description: updated
Revision history for this message
James Page (james-page) wrote :

This fix is included in 15.2.16 - see bug 1964802

Changed in ceph (Ubuntu):
status: In Progress → Won't Fix
Changed in ceph (Ubuntu Focal):
status: In Progress → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.