[SERVER-20890] Always use double for priorities Created: 12/Oct/15  Updated: 25/Jan/17  Resolved: 20/Oct/15

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 3.2.0-rc1

Type: Bug Priority: Major - P3
Reporter: Siyuan Zhou Assignee: Siyuan Zhou
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Repl B (10/30/15)
Participants:
Linked BF Score: 0

 Description   

Member config parses priority as double number, but the code where we calculate the rank converts it to int implicitly. We should always use double.



 Comments   
Comment by Githook User [ 21/Oct/15 ]

Author:

{u'username': u'visualzhou', u'name': u'Siyuan Zhou', u'email': u'siyuan.zhou@mongodb.com'}

Message: SERVER-20890 Always use double for priorities
Branch: master
https://github.com/mongodb/mongo/commit/c631867b043a6c143d60c336f7651ca835a47680

Generated at Thu Feb 08 03:55:36 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.