Detect duplicate measurement _id field values for time-series collection in validate

XMLWordPrintableJSON

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

      Time-series collections do not enforce measurement-level_id field uniqueness. However, if the _id field values of two or more measurements in a time-series collection are ObjectId types and coincide, there's a decent chance that the values coincide because of an issue with the server inserting duplicate data as opposed to clients issuing insert commands with measurements with the same _id field. This would help with making issues like SERVER-131302 detectable.

      This ticket would involve adding the ability to detect this as part of the validate command, either as a warning or error.

            Assignee:
            Unassigned
            Reporter:
            Damian Wasilewicz
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: