[SERVER-36968] Rebuild interrupted indexes before checking AuthZN index presence Created: 31/Aug/18  Updated: 29/Oct/23  Resolved: 09/Nov/18

Status: Closed
Project: Core Server
Component/s: Security, Storage
Affects Version/s: None
Fix Version/s: 3.4.19, 3.6.10, 4.0.5

Type: Bug Priority: Major - P3
Reporter: Spencer Jackson Assignee: Patrick Freed
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Problem/Incident
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v3.6, v3.4
Sprint: Security 2018-09-24, Security 2018-11-05, Security 2018-11-19
Participants:
Linked BF Score: 45

 Description   

A server may go down while it is building indexes on the admin.system.users or admin.system.roles collections. If so, it should attempt to rebuild them, before forcing them to come into existence, which would result in an error.



 Comments   
Comment by Githook User [ 20/Nov/18 ]

Author:

{'name': 'Patrick Freed', 'email': 'patrick.freed@mongodb.com', 'username': 'patrickfreed'}

Message: SERVER-36968 Rebuild interrupted system indexes before checking AuthZN index presence
Branch: v3.4
https://github.com/mongodb/mongo/commit/119d20943364bc9c2525a83a45dd36ebb1092bce

Comment by Githook User [ 16/Nov/18 ]

Author:

{'name': 'Patrick Freed', 'email': 'patrick.freed@mongodb.com', 'username': 'patrickfreed'}

Message: SERVER-36968 Require journaling and mmapv1 in rebuild_system_indexes test

(cherry picked from commit 67d87f1f63c398407d9c083ce1cccbe242571059)
Branch: v3.6
https://github.com/mongodb/mongo/commit/995e9e2428026b2e5cf3ad5342d87234bc6577d1

Comment by Githook User [ 16/Nov/18 ]

Author:

{'name': 'Patrick Freed', 'email': 'patrick.freed@mongodb.com', 'username': 'patrickfreed'}

Message: SERVER-36968 Rebuild interrupted system indexes before checking AuthZN index presence

(cherry picked from commit 3f7235ad61a16702e2a5200a912e3e02dd89a44e)
Branch: v3.6
https://github.com/mongodb/mongo/commit/703e0ba2bee0f689187aa31c1e55765085d30c78

Comment by Githook User [ 10/Nov/18 ]

Author:

{'name': 'Patrick Freed', 'email': 'patrick.freed@mongodb.com', 'username': 'patrickfreed'}

Message: SERVER-36968 Require journaling and mmapv1 in rebuild_system_indexes test
Branch: v4.0
https://github.com/mongodb/mongo/commit/67d87f1f63c398407d9c083ce1cccbe242571059

Comment by Githook User [ 09/Nov/18 ]

Author:

{'name': 'Patrick Freed', 'email': 'patrick.freed@mongodb.com', 'username': 'patrickfreed'}

Message: SERVER-36968 Rebuild interrupted system indexes before checking AuthZN index presence
Branch: v4.0
https://github.com/mongodb/mongo/commit/3f7235ad61a16702e2a5200a912e3e02dd89a44e

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