[SERVER-15121] limit scope of iterator in renameCollection command Created: 03/Sep/14 Updated: 08/Sep/14 Resolved: 04/Sep/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Storage |
| Affects Version/s: | 2.7.5 |
| Fix Version/s: | 2.7.6 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Michael Cahill | Assignee: | Benety Goh |
| Resolution: | Done | Votes: | 0 |
| Labels: | community-team, pull-request | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Sprint: | Server 2.7.6 | ||||
| Participants: | |||||
| Description |
|
WiredTiger checks for open cursors during drop and rename operations. This causes problems in the rename7.js test, which renames a collection between databases. That is implemented as a loop that copies the records followed by a drop. The problem for WiredTiger is that the iterator used for the copy isn't closed before drop. |
| Comments |
| Comment by Githook User [ 04/Sep/14 ] |
|
Author: {u'username': u'michaelcahill', u'name': u'Michael Cahill', u'email': u'michael.cahill@wiredtiger.com'}Message: Closes #763 Signed-off-by: Benety Goh <benety@mongodb.com> |
| Comment by Ramon Fernandez Marina [ 03/Sep/14 ] |
|
Thanks for your report mjc@wiredtiger.com. For the record the pull request is here. |