MongoDB Sharding config.system.session collection

Hi all,

Im using MongoDB 5.0 shard setup. In the shard servers, we are not seeing ‘system.session’ collection from the config db.

And we are facing issue with the ‘logicalSessionRecordCache’, which are not getting cleared automatically. Once it reach its limit, we are not able to access any of the mongodb servers.

Kindly suggest a fix to recreate this ‘system.session’ collection on this shard setup.