[SERVER-6736] Inconsistent conversion from bytes to MB for oplog size Created: 08/Aug/12 Updated: 11/Jul/16 Resolved: 31/Aug/12 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | 2.3.0 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Samantha Ritter (Inactive) | Assignee: | Andrew Emil (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | neweng | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Operating System: | ALL |
| Participants: |
| Description |
|
When createOplog() picks a default size for the oplog, it uses 10^6 to convert from MB to bytes, but when it prints out the size in MB, it divides by (1024 * 1024). |
| Comments |
| Comment by Scott Hernandez (Inactive) [ 31/Aug/12 ] |
|
Yes, the MiB/MB is the indications along with megabytes versus million |
| Comment by auto [ 31/Aug/12 ] |
|
Author: {u'date': u'2012-08-31T08:07:31-07:00', u'email': u'kristina@10gen.com', u'name': u'Kristina'}Message: Merge pull request #296 from AndrewCEmil/
|
| Comment by auto [ 31/Aug/12 ] |
|
Author: {u'date': u'2012-08-31T08:07:31-07:00', u'email': u'kristina@10gen.com', u'name': u'Kristina'}Message: Merge pull request #296 from AndrewCEmil/
|
| Comment by auto [ 31/Aug/12 ] |
|
Author: {u'date': u'2012-08-30T09:14:12-07:00', u'email': u'andrew.emil@10gen.com', u'name': u'AndrewCEmil'}Message: |
| Comment by Tad Marshall [ 31/Aug/12 ] |
|
If we are going to consistently use 1024 * 1024 for MB, this probably deserves a mention somewhere in the docs (if it isn't there already). I don't guess we want to use "MiB" (http://en.wikipedia.org/wiki/Mebibyte) for this ... |