[SERVER-29990] OP_MSG with duplicate field '$logicalTime' Created: 05/Jul/17  Updated: 30/Oct/23  Resolved: 16/Aug/17

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

Type: Bug Priority: Major - P3
Reporter: Misha Tyulenev Assignee: Misha Tyulenev
Resolution: Fixed Votes: 0
Labels: PM-221
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Sharding 2017-07-31, Sharding 2017-08-21
Participants:

 Description   

While running patch with causal consistency set to true by default got the failure:

[js_test:server6118] 2017-07-05T16:52:55.756+0000 s20015| 2017-07-05T16:52:55.757+0000 I ASIO     [NetworkInterfaceASIO-ShardRegistry-0] Successfully connected to WIN-4VBEH91NV9K:20011, took 1996ms (1 connections now open to WIN-4VBEH91NV9K:20011)
[js_test:server6118] 2017-07-05T16:52:55.759+0000 s20015| 2017-07-05T16:52:55.759+0000 I SHARDING [conn1] Placing [test] on: shard0000
[js_test:server6118] 2017-07-05T16:52:55.759+0000 s20015| 2017-07-05T16:52:55.759+0000 I SHARDING [conn1] Enabling sharding for database [test] in config db
[js_test:server6118] 2017-07-05T16:52:55.890+0000 s20015| 2017-07-05T16:52:55.889+0000 I SHARDING [conn1] distributed lock with ts: 595d1963386e8efd0d4cdf5a' unlocked.
[js_test:server6118] 2017-07-05T16:52:55.891+0000 s20015| 2017-07-05T16:52:55.890+0000 F NETWORK  [NetworkInterfaceASIO-ShardRegistry-0] OP_MSG with duplicate field '$logicalTime' : { _configsvrMovePrimary: "test", to: "shard0001", $logicalTime: { clusterTime: Timestamp 1499273575000|3, signature: { hash: BinData(0, 3D46F81E6099541693C9ADDD77E1875F8B54522B), keyId: 6439330895072591873 } }, $replData: 1, $logicalTime: { clusterTime: Timestamp 1499273575000|3, signature: { hash: BinData(0, 3D46F81E6099541693C9ADDD77E1875F8B54522B), keyId: 6439330895072591873 } }, $client: { application: { name: "MongoDB Shell" }, driver: { name: "MongoDB Internal Client", version: "3.5.9-175-ga3f9f13-patch-595d10b92fbabe066c0006f0" }, os: { type: "Windows", name: "Microsoft Windows Server 2008 R2", architecture: "x86_64", version: "6.1 SP1 (build 7601)" } }, $configServerState: { opTime: { ts: Timestamp 1499273575000|3, t: 1 } }, $db: "admin" }
[js_test:server6118] 2017-07-05T16:52:55.891+0000 s20015| 2017-07-05T16:52:55.890+0000 F -        [NetworkInterfaceASIO-ShardRegistry-0] Fatal Assertion 40474 at src\mongo\util\net\op_msg.cpp 199
[js_test:server6118] 2017-07-05T16:52:55.891+0000 s20015| 2017-07-05T16:52:55.890+0000 F -        [NetworkInterfaceASIO-ShardRegistry-0]
[js_test:server6118] 2017-07-05T16:52:55.891+0000 s20015|
[js_test:server6118] 2017-07-05T16:52:55.891+0000 s20015| ***aborting after fassert() failure
[js_test:server6118] 2017-07-05T16:52:55.891+0000 s20015|



 Comments   
Comment by Githook User [ 16/Aug/17 ]

Author:

{'username': 'mikety', 'email': 'misha@mongodb.com', 'name': 'Misha Tyulenev'}

Message: SERVER-29990 filterCommandRequestForPassthrough before sending to config server
Branch: master
https://github.com/mongodb/mongo/commit/4520069d8584ffaa1439482b0a1ff8167d0812be

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