mongos retry logic doesn't match driver's spec

XMLWordPrintableJSON

    • Fully Compatible
    • Sharding 2019-12-16, Sharding 2019-12-30
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      SERVER-42908 added the RetriableError category but that included WriteConcernFailed error (until SERVER-41245) which is not in the driver's spec. Unlike driver's retryable write spec, mongos seems to always retry on WriteConcernFailed error (e.g. this unittest).

      This ticket is to investigate whether mongos should retry on WriteConcernFailed error and finish this TODO.

            Assignee:
            Randolph Tan
            Reporter:
            Lingzhi Deng
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: