[SERVER-58653] Simple8b Fails With Skip Encoding Size before word is created Created: 19/Jul/21  Updated: 29/Oct/23  Resolved: 06/Aug/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.1.0-rc0

Type: Bug Priority: Major - P3
Reporter: Luke Bhan (Inactive) Assignee: Jackson Xie (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-57318 Simple-8b encoder/decoder Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Execution Team 2021-07-26, Execution Team 2021-08-09
Participants:

 Description   

The following test fails:
TEST(Simple8b, LargeSkipsFirst) {
Simple8b s8b;
std::vector<Simple8b::Value> expectedValues;
for(uint32_t i = 0; i < 10; i++)

{ s8b.skip(); s8b.append(64); expectedValues.push_back(\{i*2+1, 64}

);
} std::vector<Simple8b::Value> values = s8b.getAllInts();
assertVectorsEqual(values, expectedValues);
}



 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 06/Aug/21 ]

Author:

{'name': 'Jackson Xie', 'email': 'jackson.xie@mongodb.com', 'username': 'jacksonx9'}

Message: SERVER-58653: additional Simple8b test
Branch: master
https://github.com/mongodb/mongo/commit/f0c31b47ed99ef7ff11e79180205b50e439234a8

Generated at Thu Feb 08 05:45:05 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.