Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-16237

Issue with creating an online archive rule for collection archiving

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Won't Do
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Atlas
    • None
    • Atlas Online Archive Rule creation

    Description

      Issue:

      When creating an online archive rule for collection archiving the following error is shown:

      Invalid criteria field type field name: date, detected field type: string

      Date format example: YYYY-MM-DDThh:mm:ss.ms

      RCA:

      This error gets thrown when the archive field that is supposed to be an ISODate field returns a String field instead.

      Solution:

      Check if the date field is polymorphic and potentially includes String values alongside Date values. The remediation here would be to convert those String values to Date.

      Attachments

        Activity

          People

            Unassigned Unassigned
            anastasia.kravtsov@mongodb.com Anastasia Kravtsov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              31 weeks, 5 days ago