[SERVER-32385] "CommandNotFound: no such command" in mongodb logs on 3.6 Created: 18/Dec/17  Updated: 30/Oct/23  Resolved: 18/Dec/17

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 3.6.1, 3.7.1

Type: Bug Priority: Blocker - P1
Reporter: Zakhar Kleyman Assignee: Randolph Tan
Resolution: Fixed Votes: 0
Labels: SWNA
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v3.6
Sprint: Sharding 2018-01-01
Participants:

 Description   

We're seeing the following message throuout the mongodb.log

2017-12-15T19:30:00.066+0000 I SHARDING [ShardServerCatalogCacheLoader-288] Refresh for collection config.system.sessions took 8 ms and failed :: caused by :: CommandNotFound: no such command: '_flushRoutingTableCacheUpdates', bad cmd: '{ _flushRoutingTableCacheUpdates: "config.system.sessions", maxTimeMS: 30000, $clusterTime: { clusterTime: Timestamp(1513366200, 20), signature: { hash: BinData(0, 57A6116452ABC8C74CDBD7EEBA4479D043B448AB), keyId: 6494298054030525147 } }, $configServerState: { opTime: { ts: Timestamp(1513366187, 292), t: 28 } }, $db: "admin" }'
2017-12-15T19:30:00.066+0000 I CONTROL  [thread24] Sessions collection is not set up; waiting until next sessions refresh interval: no such command: '_flushRoutingTableCacheUpdates', bad cmd: '{ _flushRoutingTableCacheUpdates: "config.system.sessions", maxTimeMS: 30000, $clusterTime: { clusterTime: Timestamp(1513366200, 20), signature: { hash: BinData(0, 57A6116452ABC8C74CDBD7EEBA4479D043B448AB), keyId: 6494298054030525147 } }, $configServerState: { opTime: { ts: Timestamp(1513366187, 292), t: 28 } }, $db: "admin" }'

This secondary node is running on 3.6.0-56-g1a81fbe, primary is on 3.6.0-rc8



 Comments   
Comment by Githook User [ 18/Dec/17 ]

Author:

{'name': 'Randolph Tan', 'email': 'randolph@10gen.com', 'username': 'renctan'}

Message: SERVER-32385 Use _flushRoutingTableCacheUpdates's older name for backwards compatibility

(cherry picked from commit 38f5efd583ba167b4cb24b024fcb4e20e502cb44)
Branch: v3.6
https://github.com/mongodb/mongo/commit/b5cdf38ac7a01e4abd519d8a8019c47cfaf8b7e0

Comment by Githook User [ 18/Dec/17 ]

Author:

{'name': 'Randolph Tan', 'email': 'randolph@10gen.com', 'username': 'renctan'}

Message: SERVER-32385 Use _flushRoutingTableCacheUpdates's older name for backwards compatibility
Branch: master
https://github.com/mongodb/mongo/commit/38f5efd583ba167b4cb24b024fcb4e20e502cb44

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