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

Error label for tassert?

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization

      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?

            Assignee:
            backlog-query-optimization [DO NOT USE] Backlog - Query Optimization
            Reporter:
            david.percy@mongodb.com David Percy
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: