Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-1252

Have RunCommandCursor implement retryable read

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      Because RunCommandCursor returns a cursor, we know the command is a read command, so it would help users who implement custom read commands with it to have it implement retryable reads.

      This is encouraged by the retryable reads spec, which says:

      Any driver that provides generic command runners for read commands(with logic to inherit a client-level read concerns) SHOULD implement retryability for the read-only command runner.

      In the short term, it would also help tools/mongomirror implement custom find commands without implementing their own retryable read logic.

            Assignee:
            Unassigned Unassigned
            Reporter:
            david.golden@mongodb.com David Golden
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: