[SERVER-41917] network_error_and_txn_override.js does not copy Date object Created: 25/Jun/19  Updated: 29/Oct/23  Resolved: 27/Jun/19

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 4.2.0-rc3, 4.3.1

Type: Bug Priority: Major - P3
Reporter: Judah Schvimer Assignee: Judah Schvimer
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.2
Sprint: Repl 2019-07-01
Participants:
Linked BF Score: 16

 Description   

update_min_max_examples.js creates a date and puts it in an insert. It then changes the date object and that is reflected in the retry of the insert rather than the original date.



 Comments   
Comment by Githook User [ 27/Jun/19 ]

Author:

{'name': 'Judah Schvimer', 'username': 'judahschvimer', 'email': 'judah@mongodb.com'}

Message: SERVER-41917 Copy Date and Timestamp objects correctly in network_error_and_txn_override.js

(cherry picked from commit 6d1a66e995c1a72d406d5209aa6ea5dff6faaa12)
Branch: v4.2
https://github.com/mongodb/mongo/commit/07c7239deb036a2c764e9d810a15aa227bf4aca8

Comment by Githook User [ 27/Jun/19 ]

Author:

{'name': 'Judah Schvimer', 'username': 'judahschvimer', 'email': 'judah@mongodb.com'}

Message: SERVER-41917 Copy Date and Timestamp objects correctly in network_error_and_txn_override.js
Branch: master
https://github.com/mongodb/mongo/commit/6d1a66e995c1a72d406d5209aa6ea5dff6faaa12

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