[SERVER-43752] Fix log check for prepareConflictDuration Created: 01/Oct/19  Updated: 29/Oct/23  Resolved: 09/Oct/19

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

Type: Task Priority: Major - P3
Reporter: Haley Connelly Assignee: Haley Connelly
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2019-10-07, Execution Team 2019-10-21
Participants:
Linked BF Score: 7

 Description   

prepare_conflict.js, checks that "prepareConflictDuration" is found in the log "count" times. However, the log buffer only holds 1024 lines - and previous log lines may be overwritten. Thus, the check that "prepareConflictDuration" appears "count" times in the log can fail unexpectedly. 



 Comments   
Comment by Githook User [ 09/Oct/19 ]

Author:

{'name': 'Haley Connelly', 'username': 'haleyConnelly', 'email': 'haley.connelly@10gen.com'}

Message: SERVER-43752 Fix prepare_conflict.js log check
Branch: master
https://github.com/mongodb/mongo/commit/b1bd36620098b976adb77bfd42b19449c051598e

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