[COMPASS-4369] Fix `Uncaught Error: Callback was already called` error (bugsnag) Created: 27/Jul/20  Updated: 10/Jan/24  Resolved: 13/Aug/20

Status: Closed
Project: Compass
Component/s: Compass
Affects Version/s: None
Fix Version/s: 1.22.0

Type: Bug Priority: Critical - P2
Reporter: Rhys Howell Assignee: Maurizio Casimirri
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to COMPASS-4366 Is it possible for you to reduce Bugs... Closed
Documentation Changes: Not Needed
Sprint: Iteration Jackfruit

 Description   

Here's the error in bugsnag: https://app.bugsnag.com/mongodb/mongodb-compass/errors/580ef65007b7add195aba2bf

On first glance the breadcrumbs are showing it's from the storage-mixin performing async functions

Currently the error is broadcasting ~17k times a day. 118k out of the 209k events for the past week in Compass bugsnag.

This error event is happening a lot, and is using a lot of our bugsnag events. It also might be a legitimate bug. Reducing our bugsnag events will help us with this ticket: https://jira.mongodb.org/projects/COMPASS/issues/COMPASS-4366?filter=allissues&orderby=created+DESC



 Comments   
Comment by Githook User [ 13/Aug/20 ]

Author:

{'name': 'Maurizio Casimirri', 'email': 'maurizio.cas@gmail.com', 'username': 'mcasimir'}

Message: COMPASS-4369: fix storage-mixin:find response callback called twice (#1996)

  • bump storage-mixin
  • bump connection model and data-service
Comment by Githook User [ 13/Aug/20 ]

Author:

{'name': 'Maurizio Casimirri', 'email': 'maurizio.cas@gmail.com', 'username': 'mcasimir'}

Message: COMPASS-4369: fix storage-mixin:find response callback called twice (#244)

Comment by Githook User [ 13/Aug/20 ]

Author:

{'name': 'mcasimir', 'email': 'maurizio.cas@gmail.com', 'username': 'mcasimir'}

Message: COMPASS-4369: fix storage-mixin:find response callback called twice
Branch: COMPASS-4369
https://github.com/mongodb-js/connection-model/commit/92537df09109a519e54f2d5f78d75e36e043cdea

Generated at Wed Feb 07 22:36:07 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.