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

Improve the recordPreImages incompatibility on startup error message

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: Storage
    • Labels:

      Description

      This error is coming from here and can be hit during startup when we initialize a Collection instance.

      {"t":\{"$date":"2021-03-23T21:50:03.402+00:00"}

      ,"s":"E", "c":"STORAGE", "id":20557, "ctx":"initandlisten","msg":"DBException in initAndListen, terminating","attr":{"error":"InvalidOptions: recordPreImages collection option is not supported on shards or config servers"}}

       It'd be nice if the error message included the namespace string, so the user can identify what to modify, and then add a suggestion to restart as a non-shard and use collmod to remove the setting (I think it's unsettable? Maybe double check...).

        Attachments

          Activity

            People

            Assignee:
            backlog-server-execution Backlog - Storage Execution Team
            Reporter:
            dianna.hohensee Dianna Hohensee
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated: