Operational Defect Database

BugZero found this defect 369 days ago.

MongoDB | 2342032

mongod crashes when restoring time series collection with auth enabled

Last update date:

3/14/2024

Affected products:

MongoDB Server

Affected releases:

No affected releases provided.

Fixed releases:

7.1.0-rc0

5.0.19

7.0.0-rc6

6.0.8

Description:

Info

Hi team, A user reached out to us on the Community Forums that their mongod is crashing when doing a mongostore against a time series collection. I tried to reproduce the issue on my end as well and found that the mongod indeed crashes with invariant failure and signal 6 under certain scenarios. This will happen when: auth is used and mongorestore was called using a file parameter mongorestore --username xx --password xx And will not happen when: auth is not used the file is not specified in mongorestore Versions: This will also happen on a mongod that is part of a replica set. This appears to affect MongoDB 6.0.1. I also tried with version 5.0.17 as well as 6.0.6 and it affects them too. mongorestore and mongodump versions were 100.6.0 (tried with 100.7.0 as well). I'm attaching the code, mongorestore error, logs as well as the forum post of the user who reported the issue. Kindly let me know if anything else is required from my end.

Top User Comments

xgen-internal-githook commented on Thu, 22 Jun 2023 18:13:41 +0000: Author: {'name': 'Sara Golemon', 'email': 'sara.golemon@mongodb.com', 'username': 'sgolemon'} Message: SERVER-77168 uassert on invalid system.buckets namespace (cherry picked from commit 712bd1c149a80afc640d821f592e02832e6c6007) Branch: v5.0 https://github.com/mongodb/mongo/commit/75b3b24942dec1877602d294b91aa46f87abc4e2 xgen-internal-githook commented on Thu, 22 Jun 2023 17:01:17 +0000: Author: {'name': 'Sara Golemon', 'email': 'sara.golemon@mongodb.com', 'username': 'sgolemon'} Message: SERVER-77168 uassert on invalid system.buckets namespace (cherry picked from commit 712bd1c149a80afc640d821f592e02832e6c6007) Branch: v7.0 https://github.com/mongodb/mongo/commit/b0dc8ce2a3acafa0b350b4384c229e29899be75b xgen-internal-githook commented on Thu, 22 Jun 2023 16:37:43 +0000: Author: {'name': 'Sara Golemon', 'email': 'sara.golemon@mongodb.com', 'username': 'sgolemon'} Message: SERVER-77168 uassert on invalid system.buckets namespace (cherry picked from commit 712bd1c149a80afc640d821f592e02832e6c6007) Branch: v6.0 https://github.com/mongodb/mongo/commit/7f888b70aff614d9db19189ef5cc33f916d588af xgen-internal-githook commented on Thu, 8 Jun 2023 15:34:58 +0000: Author: {'name': 'Sara Golemon', 'email': 'sara.golemon@mongodb.com', 'username': 'sgolemon'} Message: SERVER-77168 uassert on invalid system.buckets namespace Branch: master https://github.com/mongodb/mongo/commit/712bd1c149a80afc640d821f592e02832e6c6007

Steps to Reproduce


Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

Closed

Learn More

Search:

...