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

Shard transition override's automatic retry inserts duplicate time-series documents

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Cluster Scalability
    • ALL
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Upon getting errors like MovePrimaryInProgress, we will automatically retry the command in implicitly_retry_on_shard_transition_errors override. This method assumes the uniqueness constraint of the _id field and handles the duplicate key errors from the retry of a partially successful insert. However, a time-series collection does not have this guarantee and can have extra documents inserted during the retry.

            Assignee:
            Unassigned Unassigned
            Reporter:
            yuhong.zhang@mongodb.com Yuhong Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: