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

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: 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
            Reporter:
            Yuhong Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: