[SERVER-12336] paddingFactor is 1 or 2 Created: 12/Jan/14 Updated: 09/Jul/16 Resolved: 24/Feb/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Storage |
| Affects Version/s: | 2.5.4 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Asya Kamsky | Assignee: | Eliot Horowitz (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Operating System: | ALL |
| Participants: |
| Description |
|
With 2.5.5-pre as of Jan 5.
Padding factor is showing as either 1 or 2. Not sure if it's a display or internal setting problem. |
| Comments |
| Comment by Asya Kamsky [ 22/Feb/14 ] | |||||||||||||||||||||||||||||||||||||||||||||||||
|
I think I see what happened (re-testing with 2.6.0-rc0) - we use powersOf2 now? I think this is probably works as designed but will need to be mentioned in release notes? | |||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Eliot Horowitz (Inactive) [ 13/Jan/14 ] | |||||||||||||||||||||||||||||||||||||||||||||||||
|
What exactly is different than 2.4? | |||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Asya Kamsky [ 13/Jan/14 ] | |||||||||||||||||||||||||||||||||||||||||||||||||
|
Also just noticed, that no matter what padding factor was, a multi $unset seems to set it back to 1. | |||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Asya Kamsky [ 13/Jan/14 ] | |||||||||||||||||||||||||||||||||||||||||||||||||
|
The problem is that after I updated (multi) which grew them all and made padding factor 2, I then did the same update again (a bunch of times) all of which do NOT grow the documents. But the padding factor is still 2. This is different than 2.4.x behavior - is this change by design? I then inserted 100 more, got padding factor 1.934 at which point I did this:
Is padding factor supposed to revert to 1 at this point? | |||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Eliot Horowitz (Inactive) [ 13/Jan/14 ] | |||||||||||||||||||||||||||||||||||||||||||||||||
|
You made them all bigger Add this at the end
|