-
Type: Bug
-
Resolution: Fixed
-
Priority: Minor - P4
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
ALL
-
Platforms 2017-11-13
At https://github.com/mongodb/mongo/blob/f96e0ef10baac1d2ca254c2c4ef78ef0ff8a0542/src/mongo/executor/network_interface_asio_command.cpp#L325-L330, the code is logging binary data to the log file. This should be converted to string before logging.
[js_test:shard_config_db_collections] 2017-11-01T22:41:40.264+0000 c20013| WARNING: mongod wrote null bytes to output [js_test:shard_config_db_collections] 2017-11-01T22:41:40.264+0000 c20013| 2017-11-01T22:41:40.262+0000 D ASIO [NetworkInterfaceASIO-RS-0] Failed to send message: >��)�������������f������Ja��getMore��aE���collection� ���oplog.rs�batchSize�RU��maxTimeMS���O�term�X��lastKnownCommittedOp2H����ts�����M�Yt5(�$replData$�Queryh$readPreference�"���mode�� secondary "4red��$cluster��X�.�Tsignature�3���hash�>�keyId<$db����local��. Reason: CallbackCanceled: Callback canceled
- is duplicated by
-
SERVER-31855 NetworkInterfaceASIO shouldn't try to log raw BSON bytes
- Closed
- related to
-
SERVER-31915 Abstract pretty printing of mongo::Message
- Closed