[SERVER-80668] Streams: hang in start/stop with empty changestream when checkpointing enabled Created: 31/Aug/23  Updated: 29/Oct/23  Resolved: 11/Sep/23

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

Type: Bug Priority: Major - P3
Reporter: Matthew Normyle Assignee: Matthew Normyle
Resolution: Fixed Votes: 0
Labels: init-337-m3
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Atlas Streams
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Sprint 31
Participants:

 Description   

Adding the following test in checkpoint.js can repro it:

function smokeTestEmptyChangestreamStartStop()

{     const input = generateInput(0);     let test =         new TestHelper(input, [] /* pipeline */, null /* default interval */, 'changestream');     test.run();     test.stop(); }
Generated at Thu Feb 08 06:44:14 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.