Closed Bug 1137882 Opened 9 years ago Closed 9 years ago

Loop sever logs confusing number of room participants for "join" operations

Categories

(Hello (Loop) :: Server, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: abr, Assigned: rhubscher)

Details

(Whiteboard: [loop-metrics])

Attachments

(1 file)

Currently, when the Loop server logs a "POST /rooms/{token}" with an operation of "join", the value logged for "participants" is what the value was before the transaction, not what it was at the end of the transaction. For example, when the first person joins the room, the log message indicates a total participant count of "0".

So far, this has confused everyone I've spoken to who has looked at the logs; the expectation, I believe, is that a successful join should be logged along with the resulting participant count, not the count before the join.
Whiteboard: [loop-metrics]
Ok so what I propose to do for that.

Is to log the current number of users in case of an error (room full) and log the number of users with the new participant in case the user could join.
Assignee: nobody → rhubscher
Status: NEW → ASSIGNED
Attachment #8574627 - Flags: review?(mathieu)
Attachment #8574627 - Flags: review?(mathieu) → review+
https://github.com/mozilla-services/loop-server/commit/fad6a5eb99785bdd2eb77b567ea113bfee5ef2e6
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: