When building a new 4.2.8 (3 nodes w/ 1 Arbiter), I’m seeing the following in the primary & secondary log file:
2020-08-13T12:20:02.035+0000 I NETWORK [listener] connection accepted from 10.93.57.24:44784 #175 (17 connections now open)
2020-08-13T12:20:02.036+0000 E - [conn175] Assertion: Location34348: cannot translate opcode 2010 src/mongo/rpc/message.h 120
2020-08-13T12:20:02.036+0000 I NETWORK [conn175] DBException handling request, closing client connection: Location34348: cannot translate opcode 2010
2020-08-13T12:20:02.036+0000 I NETWORK [conn175] end connection 10.93.57.24:44784 (16 connections now open)
Any ideas?
Per the error message in the mongod.log: Assertion: Location34348: cannot translate opcode 2010 src/mongo/rpc/message.h 120
I found this.
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the Server Side Public License, version 1,
* as published by MongoDB, Inc.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* Server Side Public License for more details.
*
* You should have received a copy of the Server Side Public License
* along with this program. If not, see
* <http://www.mongodb.com/licensing/server-side-public-license>.
*
* As a special exception, the copyright holders give permission to link the
* code of portions of this program with the OpenSSL library under certain
* conditions as described in each individual source file and distribute
* linked combinations including the program with the OpenSSL library. You
This file has been truncated. show original
Check out lines: 57-60
kevinadi
(Kevin Adistambha)
August 20, 2020, 6:20am
3
Hi @Erwin_Grunwald , welcome to the community.
I think what caused the error message is a client that somehow sending a message that the server cannot understand. It appears that the client in question is identified as [conn175]
from 10.93.57.24
. Are you seeing any issue in the server’s operation that’s connected to these messages? Could you check how that client is connecting to the server?
(3 nodes w/ 1 Arbiter)
On another note, I would recommend against using an arbiter in this setup. A replica set needs an odd number of nodes to facilitate voting, and the arbiter is not adding value here since you already have 3 data bearing members. See Replica Set Deployment Architectures for a more detailed explanation.
Best regards,
Kevin
Thanks Kevin. I will take a look.
BTW, when I said (3 nodes w/ 1 Arbiter)… I should have said (3 nodes w/ one being an Arbiter). I do have an old number of nodes in the cluster.