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

Change fassert and invariant to fassertNoTrace when failing to startup

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: Replication
    • Labels:
      None
    • Linked BF Score:
      24

      Description

      Currently, when we try to restart an empty standalone, it will fail trying to recover, and we fail it with an fatal assertion.

      Additionally, when we try to restart a replica set node with the recoverFromOplogAsStandalone parameter set, it also fails. We fail it with an invariant here.

      We should consider changing the fassert and invariant to fassertNoTrace to avoid core dumping and stack tracing, since the issue is with the startup parameter/the data the server has been fed, and not an issue with the server logic itself.

        Attachments

          Activity

            People

            Assignee:
            backlog-server-repl Backlog - Replication Team
            Reporter:
            huayu.ouyang Huayu Ouyang
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: