[SERVER-3792] some compact masserts should be uasserts Created: 09/Sep/11  Updated: 29/May/12  Resolved: 17/Nov/11

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Aaron Staple Assignee: Eric Milkie
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-4055 Assertion error on compacting a non e... Closed
Related
Participants:

 Description   

For example, if the user attempts to compact a capped collection it should probably be a uassert. Some other asserts might need to be changed as well.

massert( 13661, "cannot compact capped collection", !d->capped );



 Comments   
Comment by Eric Milkie [ 17/Nov/11 ]

With SERVER-4055 resolved, I believe this is no longer an issue. It should no longer be possible to reach the masserts other than by a coding error.

Generated at Thu Feb 08 03:04:04 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.