Cleanup LOGV2 IDs

Description

Problem description

The LOGV2 requires an ID of the message which should be unique.

In PSMDB there are some usages of these macros with duplicated IDs which might lead to confusing during log analysis.

Solution

Fix duplicated IDs for all relevant LOGV2 usages in PSMDB codebase.

Acceptance criteria

All LOGV2 calls use unique IDs, unless using the same ID is logically justified.

Current duplicates :

  • git describe: psmdb-8.0.4-2-15-ge81b2404c8f

  • number of duplicates: 16

  • details:

Environment

None

Activity

Aaditya Dubey March 26, 2025 at 12:21 PM

Hi

Thank you for the report and feedback.

Paweł Lebioda March 25, 2025 at 7:43 AM

In addition to fixing the duplicates I would like to propose adding a github workflow which would check for duplicates for every pull request.

I’ve already wrote a script which performs such check:

Details

Assignee

Reporter

Labels

Fix versions

Priority

Smart Checklist

Created March 24, 2025 at 9:44 AM
Updated March 26, 2025 at 12:21 PM