[SERVER-4715] Check quota before deleting object to move in update Created: 19/Jan/12 Updated: 11/Jul/16 Resolved: 28/Feb/12 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Write Ops |
| Affects Version/s: | None |
| Fix Version/s: | 2.1.1 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Mathias Stearn | Assignee: | Eliot Horowitz (Inactive) |
| Resolution: | Done | Votes: | 3 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Operating System: | ALL | ||||
| Participants: | |||||
| Description |
|
Start mongod with --quota --quotaFiles 1 --smallfiles
I'll commit a test for this tomorrow. |
| Comments |
| Comment by auto [ 29/Feb/12 ] |
|
Author: {u'login': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}Message: reset Client::hasWritten this pass at beginning of new requests, part of |
| Comment by Eliot Horowitz (Inactive) [ 28/Feb/12 ] |
|
This specific issue is resolved. |
| Comment by auto [ 28/Feb/12 ] |
|
Author: {u'login': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}Message: |
| Comment by Dwight Merriman [ 28/Feb/12 ] |
|
perhaps the simplest solution is to not uassert if cc()._hasWrittenThisPass is nonzero. this may be not ideally strict, but likely pretty safe. |