[SERVER-58257] Add better diagnostics to predictive_connpool.js Created: 02/Jul/21  Updated: 29/Oct/23  Resolved: 20/Dec/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.3.0, 5.0.10

Type: Improvement Priority: Major - P3
Reporter: Matthew Saltz (Inactive) Assignee: Daniel Morilha (Inactive)
Resolution: Fixed Votes: 0
Labels: neweng, save-for-daniel, servicearch-wfbf-day
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Backport Requested:
v5.0
Sprint: Service Arch 2022-1-10
Participants:
Linked BF Score: 0
Story Points: 3

 Description   

Right now if this assertion fails, it's hard to diagnose. We should at the least print the value of the stats we're expecting vs. the actual stats received.



 Comments   
Comment by Githook User [ 03/Jun/22 ]

Author:

{'name': 'Daniel Vitor Morilha', 'email': 'daniel.morilha@mongodb.com', 'username': 'daniel-mdb'}

Message: SERVER-58257 Add actual vs. expected message for when stats asserts fail

(cherry picked from commit 3b81b9afedd26f9ff6352441e9e9eb075a43b3cf)
Branch: v5.0
https://github.com/mongodb/mongo/commit/fb08d4e18b6fc61924514a7785352c735c1cceeb

Comment by Vojislav Stojkovic [ 02/Jun/22 ]

Requesting backport to v5.0 to address BF-24671.

Comment by Githook User [ 20/Dec/21 ]

Author:

{'name': 'Daniel Vitor Morilha', 'email': 'daniel.morilha@mongodb.com', 'username': 'daniel-mdb'}

Message: SERVER-58257 Add actual vs. expected message for when stats asserts fail
Branch: master
https://github.com/mongodb/mongo/commit/3b81b9afedd26f9ff6352441e9e9eb075a43b3cf

Generated at Thu Feb 08 05:44:01 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.