Skip Menu |

This queue is for tickets about the Apache-Scoreboard CPAN distribution.

Report information
The Basics
Id: 132704
Status: new
Priority: 0/
Queue: Apache-Scoreboard

People
Owner: Nobody in particular
Requestors: d.fedorova [...] corp.mail.ru
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: bug in ACTIVE_WORKER check
Date: Mon, 25 May 2020 17:30:55 +0300
To: bug-Apache-Scoreboard [...] rt.cpan.org
From: Дарья Федорова <d.fedorova [...] corp.mail.ru>
Hi, ACTIVE_WORKER defined in Scoreboard.xs returns true for worker if access_count > 0 for any status This check should not check  access_count at all   /* a worker that does something at this very moment */ #define ACTIVE_WORKER(ws)                                               \     !(ws->access_count == 0 &&                                           \       (ws->status == SERVER_DEAD || ws->status == SERVER_READY))     Module Version: 2.10   -- Daria Fedorova