-
Type: Bug
-
Resolution: Duplicate
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: mongoreplay
-
None
When trying to run mongoreplay monitor against a 3-node replica set running version r3.6.4-rc0, hash: 4c5a017, I see the following error messages in the message logs when trying to monitor the traffic on the primary:
10 Apr 18 13:05 -0400 (Connection: 12:112) command isMaster admin.$cmd Request:{"client":{"driver":{"name":"NetworkInterfaceASIO-RS","version":"0.0.0"},"os":{"architecture":"x86_64","name":"Ubuntu","type":"Linux","version":"16.10"}},"compression":["snappy"],"hangUpOnStep Down":false,"hostInfo":"williams-ubuntu:42312","internalClient":{"maxWireVersion":6,"minWireVersion":6},"isMaster":1} 10 Apr 18 13:05 -0400 (Connection: 12:112) +733µs reply Response:{"$clusterTime":{"clusterTime":{"$timestamp":{"t":1523379907,"i":2}},"signature":{"hash":{"$binary":"AAAAAAAAAAAAAAAAAAAAAAAAAAA=","$type":"00"},"keyId":{"$numberLong":"0"}}...":6,"ok":1.0,"operationTime" :{"$timestamp":{"t":1523379907,"i":2}},"primary":"williams-ubuntu:42310","readOnly":false,"secondary":false,"setName":"repl_demo","setVersion":2} 2018/04/10 13:05:08 error recording stat: conversion of BSON type 'mgo.MsgSection' not supported {0 0xc421635fc0} 10 Apr 18 13:05 -0400 (Connection: 12:0) op_msg replSetUpdatePosition admin Request:null 2018/04/10 13:05:08 error recording stat: conversion of BSON type 'mgo.MsgSection' not supported {0 0xc4216a2540} 10 Apr 18 13:05 -0400 (Connection: 7:0) op_msg reply Request:null 2018/04/10 13:05:08 error recording stat: conversion of BSON type 'mgo.MsgSection' not supported {0 0xc4216a2740} 10 Apr 18 13:05 -0400 (Connection: 12:0) op_msg reply Request:null 2018/04/10 13:05:08 error recording stat: conversion of BSON type 'mgo.MsgSection' not supported {0 0xc4216a29a0} 10 Apr 18 13:05 -0400 (Connection: 7:0) op_msg getMore local Request:null 2018/04/10 13:05:08 error recording stat: conversion of BSON type 'mgo.MsgSection' not supported {0 0xc4216a2c80} 10 Apr 18 13:05 -0400 (Connection: 12:0) op_msg replSetUpdatePosition admin Request:null 2018/04/10 13:05:08 error recording stat: conversion of BSON type 'mgo.MsgSection' not supported {0 0xc4216a3200} 10 Apr 18 13:05 -0400 (Connection: 12:0) op_msg reply Request:null 2018/04/10 13:05:08 error recording stat: conversion of BSON type 'mgo.MsgSection' not supported {0 0xc4216a3380} 10 Apr 18 13:05 -0400 (Connection: 12:0) op_msg replSetUpdatePosition admin Request:null 2018/04/10 13:05:08 error recording stat: conversion of BSON type 'mgo.MsgSection' not supported {0 0xc4216a3900} 10 Apr 18 13:05 -0400 (Connection: 12:0) op_msg reply Request:null
Certain message types appear to display properly, like isMaster, but other, internal replica set messages do not i.e. replSetUpdatePosition. I am running this on Ubuntu Linux 16.10, with version f5c4a44 of mongo-tools.
The exact command line invocation used:
./bin/mongoreplay monitor -i lo -e "port 42310"
- duplicates
-
TOOLS-2058 mongoreplay does not show OP_MSG commands
- Closed