Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-92883

Improve logging in implicitly_retry_on_shard_transition_errors.js

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

      When implicitly_retry_on_shard_transition_errors.js gives up retrying a bulk insert (https://github.com/mongodb/mongo/blob/e81d64776e8f536b9cdd500391a11aea16d78bd5/jstests/libs/override_methods/implicitly_retry_on_shard_transition_errors.js#L110-L121), it should.
      1. log the response from the server
      2. log that it is giving up retrying

      This information is helpful to understand what error the server return (for instance did it get a duplicate exception on the first document and was not an unordered insertMany) and that it abandoned the retry.

            Assignee:
            jada.lilleboe@mongodb.com Jada Lilleboe
            Reporter:
            mark.benvenuto@mongodb.com Mark Benvenuto
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: