[CDRIVER-2902] bitFlags field for OP_MSG does not swap for Big-Endian zSeries system Created: 19/Dec/18  Updated: 28/Oct/23  Resolved: 20/Dec/18

Status: Closed
Project: C Driver
Component/s: libmongoc, network
Affects Version/s: 1.13.0
Fix Version/s: 1.14.0

Type: Bug Priority: Major - P3
Reporter: Derick Rethans Assignee: Derick Rethans
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by PHPC-1308 Un-XFAIL tests that rely on CDRIVER-2902 Closed
is depended on by PHPC-1271 Add (only) RHEL on zSeries to Evergre... Closed
Tested
tested by CDRIVER-2904 Test w:0 writes with OP_MSG on big-en... Closed

 Description   

For the PHP driver, some tests fail on zSeries only (https://evergreen.mongodb.com/task_log_raw/mongo_php_driver_tests_php7__versions~4.0_php_versions~7.0_os_php7~rhel74_zseries_test_replicaset_auth_cdec9691b67f57a76f079981b960dbd257832b74_18_12_14_14_41_39/0?type=T#L1560). This is because the CDRIVER does not correct swap the bitFlags for OP_MSG on Big-Endian systems.

There is a Pull Request at https://github.com/mongodb/mongo-c-driver/pull/557 to fix this, and a full write up of the issue at https://github.com/derickr/derickrethans-articles/blob/master/201812210912-wrong-response.rst.



 Comments   
Comment by Githook User [ 20/Dec/18 ]

Author:

{'username': 'derickr', 'email': 'github@derickrethans.nl', 'name': 'Derick Rethans'}

Message: CDRIVER-2902 fix OP_MSG bitFlags for big-endian
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/67a71d0183a399e6cc472634b61f4bfdc00ab751

Generated at Wed Feb 07 21:16:40 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.