[SERVER-28687] PV0 replSetHeartbeats say they are {pv:1} Created: 07/Apr/17  Updated: 06/Dec/22  Resolved: 09/Apr/20

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

Type: Bug Priority: Major - P3
Reporter: Judah Schvimer Assignee: Backlog - Replication Team
Resolution: Won't Fix Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Assigned Teams:
Replication
Operating System: ALL
Participants:
Linked BF Score: 0

 Description   

In PV0 tests I'm seeing lines like the following, with PV0 style heartbeats that include a field of pv:1:

[js_test:apply_ops_wc] 2017-04-07T17:45:59.197+0000 d23761| 2017-04-07T17:45:59.192+0000 D REPL_HB  [ReplicationExecutor] Sending heartbeat (requestId: 218) to ip-10-157-124-125:23762, { replSetHeartbeat: "applyOpsWCSet", pv: 1, v: 2, from: "ip-10-157-124-125:23761", fromId: 1, checkEmpty: false }

We always set the protocolVersion field to 1 here.



 Comments   
Comment by Siyuan Zhou [ 09/Apr/20 ]

We only support PV1 starting from 3.6, the linked code is on 3.5.6, so I'm not sure if the PV0 tests are waiting to be removed. Since this hasn't caused issues in testing or in the field, I'm closing it as won't fix.

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