[SERVER-35049] setIgnorePrepared() is not supported by other storage engines Created: 17/May/18  Updated: 17/May/18  Resolved: 17/May/18

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Xiangyu Yao (Inactive) Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Duplicate
duplicates SERVER-35048 RecoveryUnit::setIgnorePrepared shoul... Closed
Operating System: ALL
Steps To Reproduce:

Running secondary_reads.js from concurrency_replication suite locally could reproduce this issue.

Participants:
Linked BF Score: 32

 Description   

reads with 'available' readConcern will call setIgnorePrepared() in read_concern.cpp. For other storage engines, setIgnorePrepared() is not implemented, so a 'CommandNotSupported' exception will be thrown. A possible fix would be to make setIgnorePrepared a noop for other storage engines. Another would be to have a boolean called 'supportPrepare' for each storage engine and do setIgnorePrepared() only when it's true.


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