[SERVER-2500] --dur fails with createPrivateMap on windows Created: 09/Feb/11 Updated: 12/Jul/16 Resolved: 22/Feb/11 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Storage |
| Affects Version/s: | 1.7.5 |
| Fix Version/s: | 1.8.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Scott Hernandez (Inactive) | Assignee: | Dwight Merriman |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Operating System: | Windows | ||||||||
| Participants: | |||||||||
| Description |
|
Starting up on windows with --dur failes to load existing database. > show dbs Tue Feb 08 20:59:24 [conn1] checking size file /data/db/market_data.ns reslen:134 153ms Tue Feb 08 20:59:24 [conn1] run command admin.$cmd { replSetGetStatus: 1 }Tue Feb 08 20:59:24 [conn1] command: { replSetGetStatus: 1 }Without --dur, it works: > show dbs Tue Feb 08 21:07:52 [conn1] checking size file /data/db/market_data.ns reslen:703 82ms |
| Comments |
| Comment by Dwight Merriman [ 23/Feb/11 ] |
|
just for future reference here is why the changes were made: "When copy-on-write access is specified, the system and process commit charge taken is for the entire view because the calling process can potentially write to every page in the view, making all pages private. The contents of the new page are never written back to the original file and are lost when the view is unmapped." |
| Comment by Scott Hernandez (Inactive) [ 22/Feb/11 ] |
|
Works. > show dbs Although, there is something else weird going on which I bring up in another issue. |
| Comment by auto [ 21/Feb/11 ] |
|
Author: {u'login': u'dwight', u'name': u'dwight', u'email': u'dwight@10gen.com'}Message: |
| Comment by Scott Hernandez (Inactive) [ 17/Feb/11 ] |
|
New error from nightly (night before last). Thu Feb 17 14:45:58 [initandlisten] connection accepted from 127.0.0.1:49845 #1 reslen:134 2151ms |
| Comment by auto [ 15/Feb/11 ] |
|
Author: {u'login': u'dwight', u'name': u'dwight', u'email': u'dwight@10gen.com'}Message: |
| Comment by Dwight Merriman [ 09/Feb/11 ] |
|
i'll probably start with making private maps roll out when not needed. this may still require a swap file increase but puts an upper bound on the needed space. |
| Comment by auto [ 09/Feb/11 ] |
|
Author: {u'login': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}Message: fix mismatched new[] and delete |
| Comment by Dwight Merriman [ 09/Feb/11 ] |
|
ok i can reproduce |
| Comment by Scott Hernandez (Inactive) [ 09/Feb/11 ] |
|
64bit windows 7 |
| Comment by Dwight Merriman [ 09/Feb/11 ] |
|
i take it this is a 32 bit version of mongod? |