[SERVER-69037] SBE plan cache size calculation is slightly off Created: 22/Aug/22  Updated: 29/Oct/23  Resolved: 21/Sep/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.1.1, 6.0.3, 6.2.0-rc0

Type: Bug Priority: Major - P3
Reporter: Dan Larkin-York Assignee: Kyle Suarez
Resolution: Fixed Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v6.1, v6.0
Sprint: QE 2022-09-19, QE 2022-10-03
Participants:

 Description   

There appears to be a typo in the calculation for plan cache size, using 1014 instead of 1024 for the multiplier.



 Comments   
Comment by Githook User [ 17/Oct/22 ]

Author:

{'name': 'Kyle Suarez', 'email': 'kyle.suarez@mongodb.com', 'username': 'ksuarz'}

Message: SERVER-69037 fix incorrect calculation of bytes in MiB

(cherry picked from commit d743e0d165a063e3beba322c3a52903170ca7770)
Branch: v6.1
https://github.com/mongodb/mongo/commit/08b5b13936a8838e01db2feee285606b21708e1c

Comment by Githook User [ 03/Oct/22 ]

Author:

{'name': 'Kyle Suarez', 'email': 'kyle.suarez@mongodb.com', 'username': 'ksuarz'}

Message: SERVER-69037 fix incorrect calculation of bytes in MiB

(cherry picked from commit d743e0d165a063e3beba322c3a52903170ca7770)
Branch: v6.0
https://github.com/mongodb/mongo/commit/6770ec060b02629e3c2c2a10c782c0907c0d9334

Comment by Githook User [ 21/Sep/22 ]

Author:

{'name': 'Kyle Suarez', 'email': 'kyle.suarez@mongodb.com', 'username': 'ksuarz'}

Message: SERVER-69037 fix incorrect calculation of bytes in MiB
Branch: master
https://github.com/mongodb/mongo/commit/d743e0d165a063e3beba322c3a52903170ca7770

Generated at Thu Feb 08 06:12:25 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.