You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -355,18 +355,8 @@ export class MongoStalePrimaryError extends MongoRuntimeError {
355
355
*
356
356
* @public
357
357
**/
358
-
constructor(
359
-
serverDescription: ServerDescription,
360
-
maxSetVersion: number|null,
361
-
maxElectionId: ObjectId|null,
362
-
message?: string,
363
-
options?: {cause?: Error}
364
-
){
365
-
super(
366
-
message??
367
-
`primary marked stale due to electionId/setVersion mismatch: server setVersion: ${serverDescription.setVersion}, server electionId: ${serverDescription.electionId}, topology setVersion: ${maxSetVersion}, topology electionId: ${maxElectionId}`,
0 commit comments