[SERVER-37466] mongo shell Transaction options missing read preference Created: 03/Oct/18 Updated: 06/Dec/22 |
|
| Status: | Backlog |
| Project: | Core Server |
| Component/s: | Replication, Shell |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Kay Kim (Inactive) | Assignee: | Backlog - Replication Team |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Assigned Teams: |
Replication
|
||||||||
| Participants: | |||||||||
| Description |
|
Hi – in the drivers spec, read pref is part of the transaction options https://github.com/mongodb/specifications/blob/master/source/transactions/transactions.rst#id17 But in the mongo shell, TransactionOptions seem to be missing readpref:
Should they be in sync? |
| Comments |
| Comment by Kaloian Manassiev [ 04/Oct/18 ] |
|
As of 4.0 transactions can only use primary read preference so I imagine we left it out to be added when we actually support non-primary read preferences as well. |