Error processing TTL index for "config.system.sessions

XMLWordPrintableJSON

    • Type: Question
    • Resolution: Incomplete
    • Priority: Major - P3
    • None
    • Affects Version/s: 4.4.2
    • Component/s: None
    • None
    • Environment:
      CentOS Linux release 7.8.2003
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Hi,

      We regularly see message in the log:

       \{"t":{"$date":"2021-02-06T03:36:27.579+03:00"},"s":"E", "c":"QUERY", "id":4615603, "ctx":"TTLMonitor","msg":"Erroneous index key found with reference to non-existent record id. Consider dropping and then re-creating the index and then running the validate command on the collection.","attr":\{"namespace":"config.system.sessions","recordId":{"RecordId":1832764},"indexKeyData":[\{"key":{"":{"$date":"2020-12-11T11:29:14.893Z"}},"pattern":\{"lastUse":1}}],"indexKeyPattern":\{"lastUse":1}}}
      

      config.system.sessions is a system collection. What can be done to fix the problem?

            Assignee:
            Edwin Zhou
            Reporter:
            Konstantin Krasnov
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: