[DOCS-11797] Clarify what the default protocolVersion means Created: 14/Jun/18 Updated: 30/Oct/23 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | manual, Server |
| Affects Version/s: | None |
| Fix Version/s: | Server_Docs_20231030 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Dmitry Ryabtsev | Assignee: | Ravind Kumar (Inactive) |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | replica-set | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
https://docs.mongodb.com/manual/reference/replica-set-protocol-versions/index.html |
||
| Participants: | |
| Days since reply: | 1 year, 14 weeks, 2 days ago |
| Epic Link: | DOCSP-1769 |
| Story Points: | 0.1 |
| Description |
|
In the documentation we say that:
It can be read as if protocolVersion is not set explicitly it would mean that pv1 is used. We should clarify that pv1 is only in effect when protocolVersion is set to 1 in the replica set configuration. From that, the default means that when rs.initiate() is executed on 3.2 or newer without protocolVersion being set, the server would automatically set protocolVersion in the replica set configuration to 1. We should also explain how to check the current protocol version - that is the user must inspect the replica set configuration to see if protocolVersion is set or not. If it's not set or set to 0 that would mean pv0, if it's set to 1 - that's pv1. |
| Comments |
| Comment by Education Bot [ 31/Oct/22 ] |
|
Hello! This ticket has been closed due to inactivity. If you believe this ticket is still important, please reopen it and leave a comment to explain why. Thank you! |