[SERVER-67917] Use DBDirectClient in FLE count code path Created: 08/Jul/22 Updated: 29/Oct/23 Resolved: 13/Jul/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.0.1, 6.1.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Mark Benvenuto | Assignee: | Mark Benvenuto |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Backport Requested: |
v6.0
|
||||||||
| Sprint: | Security 2022-07-25 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 117 | ||||||||
| Description |
|
FLE2 mirrors the internal transaction api by going directly to the ServiceEntryPoint. This code path does not set isInDirectClient on OperationContext which is incompatible with lock free reads if a primary steps down while an FLE CRUD command is run. |
| Comments |
| Comment by Mark Benvenuto [ 01/Aug/22 ] |
|
Commited to v6.0 with https://github.com/mongodb/mongo/commit/0771b18bd084eb559c1d0f2d524e268d25cb2c25 |
| Comment by Githook User [ 13/Jul/22 ] |
|
Author: {'name': 'Mark Benvenuto', 'email': 'mark.benvenuto@mongodb.com', 'username': 'markbenvenuto'}Message: |