ERROR Case
pymongo.errors.OperationFailure: cannot add session into the cache, full error: {‘operationTime’: Timestamp(1714353661, 2), ‘ok’: 0.0, ‘errmsg’: ‘cannot add session into the cache’, ‘code’: 261, ‘codeName’: ‘TooManyLogicalSessions’, ‘$clusterTime’: {‘clusterTime’: Timestamp(1714353661, 2), ‘signature’: {‘hash’: b’\x81\xd5\x8f0[\x82\xcb{\xd8]\xd4\xba\x97\xc4\x0f+R \x88"’, ‘keyId’: 7317447343970713660}}}
참고자료
maxsession 관련 정보 :
서버세션 또는 논리적세션 명령 :
🚀 확인 Commmand
### 로지컬 세션 확인. (PRIMARY)
# mongo
mongo
use admin
db.auth({user:'', pwd:''})
db.serverStatus().logicalSessionRecordCache


댓글 남기기