[SERVER-2007] btreemod indicates invalid size when signaling intent to write Created: 26/Oct/10  Updated: 12/Jul/16  Resolved: 04/Nov/10

Status: Closed
Project: Core Server
Component/s: Stability
Affects Version/s: None
Fix Version/s: 1.7.3

Type: Bug Priority: Major - P3
Reporter: Aaron Staple Assignee: Aaron Staple
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Participants:

 Description   

the indicated size is sizeof( BtreeBucket ); it should be BucketSize



 Comments   
Comment by Aaron Staple [ 04/Nov/10 ]

Not yet possible to test this - sounds like we'll deal with that separately.

Comment by auto [ 04/Nov/10 ]

Author:

{'login': 'astaple', 'name': 'Aaron', 'email': 'aaron@10gen.com'}

Message: SERVER-2007 btreemod signal intent to write with correct size
/mongodb/mongo/commit/3dd0c135e93d257768dd8792f5b3d8c334f0c6aa

Comment by auto [ 04/Nov/10 ]

Author:

{'login': 'astaple', 'name': 'Aaron', 'email': 'aaron@10gen.com'}

Message: SERVER-2007 in btree code use const qualifiers to better enforce durability requirements, also attempt to remove memory state dependencies between functions and make remaining dependencies more explicit
/mongodb/mongo/commit/edeb5cc71d9d03553fb8b93bc8a303e660c2debe

Comment by Eliot Horowitz (Inactive) [ 26/Oct/10 ]

Ok - makes sense

Comment by Aaron Staple [ 26/Oct/10 ]

Dwight also advised auditing usage of these two size values in the btree code.

Comment by Aaron Staple [ 26/Oct/10 ]

Dwight asked me to work on this, but go ahead and change again if you think I shouldn't.

Generated at Thu Feb 08 02:58:41 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.