Project

General

Profile

Actions

Bug #22

open
LF

Metering double-counts requests replayed from the dead-letter queue

Bug #22: Metering double-counts requests replayed from the dead-letter queue

Added by Luca Ferraro 2 months ago. Updated 2 months ago.

Status:
New
Priority:
High
Assignee:
-
Category:
Metering
Target version:
Start date:
09/20/2026
Due date:
10/18/2026 (39 days late)
% Done:

0%

Estimated time:
13:00 h

Description

What happens

metering double-counts requests replayed from the dead-letter queue — reproduced on the current Billing Q4 build.

Steps to reproduce

  1. Sign in as a tenant on the standard plan.
  2. Open the affected screen and repeat the action three times in a row.
  3. Watch the response, the log line and the metric named in the comments below.

Expected

The operation completes once, the log carries a single correlated request id, and the metric moves
by exactly one.

Actual

The behaviour in the title: every time on a cold cache, and roughly one run in four on a warm one.
Found while working through the Metering backlog; the correlation id is available on request.

Actions

Also available in: PDF Atom