[SERVER-21364] ReplSetTest.awaitReplication exception Created: 09/Nov/15  Updated: 06/Dec/22  Resolved: 22/Apr/16

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: 3.2.0-rc2
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Jonathan Abrahams Assignee: Backlog - Replication Team
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File awaitReplication-SERVER-21364.js     File awaitReplication-SERVER-21364.sh    
Issue Links:
Related
related to SERVER-21454 Lint src/mongo/shell/replsettest.js Closed
Assigned Teams:
Replication
Operating System: ALL
Steps To Reproduce:

See SERVER-21275 for repro script

Sprint: Repl C (11/20/15)
Participants:

 Description   

The ReplSetTest.awaitReplication function will sporadically throw the following message:

ReplSetTest awaitReplication: caught exception: ReferenceError: entry is not defined



 Comments   
Comment by Eric Milkie [ 22/Apr/16 ]

We heavily refactored ReplSetTest in 3.3 so that's probably what fixed it.

Comment by Jonathan Abrahams [ 22/Apr/16 ]

milkie I can only reproduce this in 3.2, not 3.3.

Comment by Eric Milkie [ 20/Apr/16 ]

I ran the reproducer scripts against master (3.3.x) for a while but they never failed. About how long does it take for yours to reproduce?

Comment by Jonathan Abrahams [ 13/Nov/15 ]

milkie This happens sporadically in master (3.2.0-rc3-pre). Please use the attached repro scripts.

Comment by Eric Milkie [ 13/Nov/15 ]

There are no variables named "entry" in replsettest.js, so I'm not sure where this could be coming from. Are you sure you're using the shell's native ReplSetTest, version 3.2?

Comment by Jonathan Abrahams [ 09/Nov/15 ]

No stack trace it is not a fatal assertion, message observed in the log from the repro script.

Comment by Kamran K. [ 09/Nov/15 ]

Do you have a stack trace?

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