[SERVER-56906] Non-determinism in CollatorFactory initializers Created: 13/May/21  Updated: 29/Oct/23  Resolved: 14/May/21

Status: Closed
Project: Core Server
Component/s: Field Level Encryption
Affects Version/s: None
Fix Version/s: 5.0.0-rc0

Type: Bug Priority: Major - P3
Reporter: Mohammad Dashti (Inactive) Assignee: Mohammad Dashti (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Query Execution 2021-05-17, Query Execution 2021-05-31
Participants:
Linked BF Score: 136

 Description   

As observed in BF-21088, when using FLE, there are multiple CollatorFactory initializers i.e., CreateCollatorFactory and CreateCryptdCollatorFactory), which will execute non-deterministically, as there's no dependency between them. Then, it results in unexpected behavior, as FLE tests expect CreateCryptdCollatorFactory to be initialized last.



 Comments   
Comment by Githook User [ 14/May/21 ]

Author:

{'name': 'Mohammad Dashti', 'email': 'mdashti@gmail.com', 'username': 'mdashti'}

Message: SERVER-56906 Fixed non-determinism in CollatorFactory initializers
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/4f55709027adfc2158e89f9805724c8fab7ee77d

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