[SERVER-65635] BF-24886: Tests running large txns do not have correct oplog entry sizes Created: 13/Apr/22  Updated: 29/Oct/23  Resolved: 19/Apr/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.0.0-rc1, 6.1.0-rc0

Type: Task Priority: Major - P3
Reporter: Sanika Phanse (Inactive) Assignee: Sanika Phanse (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Backport Requested:
v6.0
Sprint: Sharding NYC 2022-04-18, Sharding 2022-05-02
Participants:
Linked BF Score: 45

 Description   

The following tests are confirming txn behavior by checking the length of the returned oplog entry; however, with large txns, there are now more oplog entries than in previous implementations. We can see an example of this in this log: https://logkeeper.mongodb.org/lobster/build/fc67f4e0187fcd11f18ac28c94fb6cb9/test/62530636f84ae871871e783c#bookmarks=0%2C4400&l=1

This test fails on line:

jstests/sharding/internal_txns/retryable_writes_oplog_entries.js

https://github.com/10gen/mongo/blob/53eaaa11e4e19029a714c2db6d243af3b5fbbd68/jstests/sharding/internal_txns/retryable_writes_oplog_entries.js#L81

These tests fail on line: 

jstests/sharding/internal_txns/retryable_writes_basic.js, jstests/sharding/internal_txns/retryable_writes_failover.js, jstests/sharding/internal_txns/retryable_writes_restart.js

https://github.com/10gen/mongo/blob/87393ce9bcfe06f8aa93b856474fb77bfb3a5267/jstests/sharding/internal_txns/libs/retryable_internal_transaction_test.js#L226



 Comments   
Comment by Githook User [ 19/Apr/22 ]

Author:

{'name': 'Sanika Phanse', 'email': 'sanika.phanse@mongodb.com', 'username': 'sphanse99'}

Message: SERVER-65635 Tests running large txns do not have correct oplog entry sizes

(cherry picked from commit 6d5c93d1ada87cfdf55f1384508fe0f6d96dc86c)
Branch: v6.0
https://github.com/mongodb/mongo/commit/c8dea9f922ce046e0ef3962a7384a5a6d964ab04

Comment by Githook User [ 19/Apr/22 ]

Author:

{'name': 'Sanika Phanse', 'email': 'sanika.phanse@mongodb.com', 'username': 'sphanse99'}

Message: SERVER-65635 Tests running large txns do not have correct oplog entry sizes
Branch: master
https://github.com/mongodb/mongo/commit/6d5c93d1ada87cfdf55f1384508fe0f6d96dc86c

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