Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new scan states for scan sessions that are no longer accessible by client #4843

Open
keith-turner opened this issue Aug 27, 2024 · 1 comment
Assignees
Labels
enhancement This issue describes a new feature, improvement, or optimization.
Milestone

Comments

@keith-turner
Copy link
Contributor

keith-turner commented Aug 27, 2024

Is your feature request related to a problem? Please describe.

Scan session that are no longer accessible by a client may still show in list scans. These scan session could be in the process of cleaning up resources or have a threads running. There is currently no direct indication of this in list scans output. There is an indirect indication that was not intentional , currently inaccessible scan session will lose their scan id. When this happens they will show up in listscans output with an id of zero or one. If #4842 were implemented this would no longer be the case.

Describe the solution you'd like

Update ScanState enum to include one or two new states. These new states could be CLEANING and ZOMBIE possibly. The cleaning state would indicate the session is no longer accessible and is in the process of cleaning up resources. The zombie state would indicate the client session is no longer accessible and still has a thread running on the server side.

After the changes in #4840, the information is available server side to populate new scan states.

@keith-turner keith-turner added the enhancement This issue describes a new feature, improvement, or optimization. label Aug 27, 2024
@keith-turner keith-turner added this to the 3.1.0 milestone Aug 27, 2024
@ArbaazKhan1
Copy link
Contributor

I can take a look at this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement This issue describes a new feature, improvement, or optimization.
Projects
None yet
Development

No branches or pull requests

2 participants