[SERVER-47850] Ban snapshot "geoSearch" outside transactions Created: 30/Apr/20  Updated: 13/May/20  Resolved: 13/May/20

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

Type: Task Priority: Major - P3
Reporter: Lingzhi Deng Assignee: Lingzhi Deng
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-48028 Audit which commands allow snapshot r... Closed
Sprint: Repl 2020-05-18
Participants:

 Description   

"geoSearch" is currently allowed inside multi-document transactions on non-sharded collections. So I think we should also support that in non-transaction snapshot reads. This should mostly just work. But we will need to attach the timestamp selected as the atClusterTime in the command response, similar to SERVER-47688.

EDIT: The geoSearch command is deprecated. Thus, we will not add any more features to the command but ban it from snapshot reads instead.


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