[mongdob] protocol version

mongodb 2016. 2. 23. 16:08


mongodb 에서 rs.conf() 명령어에서 나오는 protocol version은 3.2부터 추가된 필드이다. 

이전 버전은 아예 이 정보가 없다. 


https://docs.mongodb.org/manual/reference/replica-configuration/



protocolVersion

New in version 3.2.

Type: number

Default: 1 for new replica sets

Version of the replica set election protocol.

Set to 1 to enable the replication election enhancements introduced in MongoDB 3.2.

By default, new replica sets in MongoDB 3.2 use protocolVersion: 1. Previous versions of MongoDB use version 0 of the protocol and cannot run as members of a replica set configuration that specifies protocolVersion 1.


Posted by 김용환 '김용환'

댓글을 달아 주세요