[SERVER-18873] Wrong value used in applyUntilAndPause uassert message Created: 08/Jun/15  Updated: 25/Jan/17  Resolved: 11/Jun/15

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: 3.1.3
Fix Version/s: 3.1.5

Type: Bug Priority: Minor - P4
Reporter: Kamran K. Assignee: Benety Goh
Resolution: Done Votes: 0
Labels: 32qa
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-18037 DataReplicator Applier: add applyUnti... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: RPL 5 06/26/16
Participants:

 Description   

The second uassert message should use 'right' instead of 'left' because it's checking right.hasField("ts"):

db/repl/applier.cpp

uassert(ErrorCodes::FailedToParse,
        str::stream() << "Operation missing 'ts' field': " << left,
        left.hasField("ts"));
uassert(ErrorCodes::FailedToParse,
        str::stream() << "Operation missing 'ts' field': " << left,
        right.hasField("ts"));



 Comments   
Comment by Githook User [ 08/Jun/15 ]

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: SERVER-18873 fixed applyUntilAndPause error message
Branch: master
https://github.com/mongodb/mongo/commit/0c2943f0ee3897c1d2e2ceff661114c891d50b3e

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