[SERVER-64190] Error label for tassert? Created: 03/Mar/22 Updated: 06/Dec/22 Resolved: 03/Mar/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | David Percy | Assignee: | Backlog - Query Optimization |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Assigned Teams: |
Query Optimization
|
||||||||
| Participants: | |||||||||
| 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? |