[SERVER-31157] FCV defaults to 3.4 on 3.5.13 for initialized shards Created: 19/Sep/17 Updated: 27/Oct/23 Resolved: 19/Sep/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Louisa Berger | Assignee: | Backlog - Storage Execution Team |
| Resolution: | Works as Designed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Storage Execution
|
|||||||||
| Operating System: | ALL | |||||||||
| Steps To Reproduce: |
|
|||||||||
| Sprint: | Storage 2017-10-02 | |||||||||
| Participants: |
| Description |
|
Brought up a replica set with --shardsvr on 3.5.13. After the members are all healthy, the FCV is defaulted to 3.4 on all shard members. This then causes problems when I try to run sharding commands on the cluster :
Esha identified that these are because the shard members are on FCV=3.4, but the rest of the cluster are on FCV=3.6. (Note: not sure if this is intended behavior or not, but Maria mentioned I should file a ticket. Happy to adjust our tests to accommodate if this is intended behavior) |
| Comments |
| Comment by Maria van Keulen [ 19/Sep/17 ] |
|
I spoke with louisa.berger and confirmed that addShard was not run during this test due to special behavior in the testing framework, thus this InternalError is expected. The testing framework will be modified to accommodate this issue. I will re-close as Works as Designed. |
| Comment by Maria van Keulen [ 19/Sep/17 ] |
|
I am going to research more about the internal error and re-open in the meantime. |
| Comment by Maria van Keulen [ 19/Sep/17 ] |
|
I spoke with tess.avitabile about this—replica sets started with shardsvr default to FCV=3.4 until their FCV is set by the config server on a call to addShard. I will close this as Works As Designed. |
| Comment by Daniel Pasette (Inactive) [ 19/Sep/17 ] |
|
I just took a quick look, if you start with either of the command line options shardsvr or replSet the mongod sets FCV to 3.4. If you start in standalone mode mongod sets FCV to 3.6 |