[DOCS-15661] Investigate changes in SERVER-69443: [4.4] Allow speculative majority reads in multi-doc txns when --enableMajorityReadConcern=false Created: 30/Sep/22  Updated: 22/Jan/24

Status: Backlog
Project: Documentation
Component/s: manual, Server
Affects Version/s: 4.4
Fix Version/s: 4.4.18

Type: Task Priority: Major - P3
Reporter: Backlog - Core Eng Program Management Team Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: backlog, request
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-69443 [4.4] Allow speculative majority read... Closed
Participants:
Days since reply: 1 year, 18 weeks, 5 days ago
Epic Link: DOCSP-12974

 Description   
Original Downstream Change Summary

This ticket bans the use of the 'allowSpeculativeMajorityReads' flag for the 'find' command in transactions. This is a very niche use case, and only exists on 4.4, so I'll let the Docs team decide if this is something we need to document for users.

Description of Linked Ticket

Affects 4.4 (observed on 4.4.17-rc0), doesn't seem to affect 4.2 (doesn't reproduce on 4.2.22). Doesn't affect 5.0+ as support for majority read concern is always on.

Behaviour:

  • Multi-doc txn with txnNumber:0 and readConcern: { level: 'majority' }

    returns "Given transaction number 0 does not match any in-progress transactions".

    • I believe it should return "Majority read concern is not enabled" instead.
  • Multi-doc txn with txnNumber:0 and readConcern: { level: 'majority' }

    and allowSpeculativeMajorityRead: true returns "Given transaction number 0 does not match any in-progress transactions".

    • I believe it should return "Majority read concern is not enabled" instead.
  • Multi-doc txn with txnNumber: 1 and readConcern: { level: 'majority' }

    : aborts with "Majority read concern is not enabled"

    • This is expected.
  • Multi-doc txn with txn txnNumber:1 and readConcern: { level: 'majority' }

    and allowSpeculativeMajorityRead: true crashes the server.

    • I believe it should return "Majority read concern is not enabled" instead.

 



 Comments   
Comment by Education Bot [ 30/Sep/22 ]

Fix Version updated for upstream SERVER-69443:
4.4.18

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