Operational Defect Database

BugZero found this defect 47 days ago.

MongoDB | 2628652

New multi service log traces should be only included in sharded clusters

Last update date:

4/2/2024

Affected products:

MongoDB Server

Affected releases:

8.0.0-rc0

Fixed releases:

8.0.0-rc0

Description:

Info

Log traces include service metadata to specify the origin of the trace, denoted as "r" for router and "s" for shard, for instance: {"t":{"$date":"2023-08-08T08:56:43.638+00:00"},"s":"I","c":"COMMAND", "id":51803,"svc":"s","ctx":"conn6","msg":"Slow query","attr":{...}} This new field should only be returned by a node part of a sharded cluster, not replica sets nor standalone.

Top User Comments

xgen-internal-githook commented on Tue, 2 Apr 2024 14:56:43 +0000: Author: {'name': 'Pol Piñol Castuera', 'email': 'pol.pinol@mongodb.com', 'username': 'PolPinol'} Message: SERVER-88850 New multi-service log traces should be only included in sharded clusters (#20653) GitOrigin-RevId: 8f7b70f7407ce51ea786761f36a20e49b19bfcad Branch: master https://github.com/mongodb/mongo/commit/c3f95f6b28ce232359c3a3b779a954a31cc39b21

Steps to Reproduce


Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

Closed

Learn More

Search:

...