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

Error processing TTL index for "config.system.sessions

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

      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@mongodb.com Edwin Zhou
            Reporter:
            kkrasnov@gmail.com Konstantin Krasnov
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: