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

Error label for tassert?

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Query Optimization

    Description

      We use tassert to report logic errors that aren't severe enough to warrant shutting down the server. The server returns an error to the client and keeps running. This is similar to uassert, but the difference is that tassert is supposed to make it clear that the error is the server's fault, not the client's fault.

      Is there an easy way for clients to tell the difference between uassert and tassert? Would that be useful? Would error labels be a good mechanism?

      Attachments

        Activity

          People

            backlog-query-optimization Backlog - Query Optimization
            david.percy@mongodb.com David Percy
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: