[DOCS-13363] Investigate changes in SERVER-45439: Add support for per operation hedging via an explicit read preference Created: 23/Jan/20  Updated: 13/Nov/23  Resolved: 17/Mar/20

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: None
Fix Version/s: 4.3.3, Server_Docs_20231030, Server_Docs_20231106, Server_Docs_20231105, Server_Docs_20231113

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

Issue Links:
Documented
documents SERVER-45439 Add support for per operation hedging... Closed
Duplicate
duplicates DOCS-13506 Investigate changes in SERVER-46567: ... Closed
Related
is related to DOCS-13429 Investigate changes in SERVER-46234: ... Closed
is related to DOCS-13506 Investigate changes in SERVER-46567: ... Closed
Participants:
Days since reply: 3 years, 47 weeks, 2 days ago
Epic Link: DOCS: 4.4 Server Release Work

 Description   

Description

Downstream Change Summary

This ticket introduced a new $readPreference key "hedge" with two subkeys: "enabled" (default true) and "delay" (default true) . (Removed delay in DOCS-13429)

Description of Linked Ticket

Add support for operation hedging, as in SERVER-45432, with an explicit readPreference.

The form of that readpreference should be:

// some existing command
{
  ...,
  $readPreference: {
    mode: "nearest",
    hedge: {
      enabled: true,   // default value is true
      delay: true,        // default value is true
    }
}

which should map to RemoteCommandRequestOnAny::HedgeOptions of

  • count = 1
  • as in implicit readPreference nearest

Scope of changes

Impact to Other Docs

MVP (Work and Date)

Resources (Scope or Design Docs, Invision, etc.)



 Comments   
Comment by Kay Kim (Inactive) [ 17/Mar/20 ]

Closed in favor of DOCS-13506 because at this time, we do not document $readPreference option for the mongo shell runCommand.  Instead, we rely on the driver apis and for the shell only doc cursor.readPref and Mongo.setReadPref methods – but may revisit as decisions about readPrefs made a while ago.

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