[SERVER-28438] Add keyId field to logicalTime object Created: 22/Mar/17 Updated: 06/Dec/17 Resolved: 28/Mar/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 3.5.6 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Misha Tyulenev | Assignee: | Jack Mulrow |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | Sharding 2017-04-17 |
| Participants: |
| Description |
|
The keyId field is populated during the signature generation and is used to uniquely identify the key that was used for it. 1. add int _keyId {0} member to the SignedLogicalTime class, change its c-tor to take a keyId argument.
4. change LogicalTimeMetadata::readFromMetadata to parse the keyId |
| Comments |
| Comment by Githook User [ 28/Mar/17 ] |
|
Author: {u'username': u'jsmulrow', u'name': u'Jack Mulrow', u'email': u'jack.mulrow@mongodb.com'}Message: |
| Comment by Randolph Tan [ 24/Mar/17 ] |
|
lgtm |
| Comment by Misha Tyulenev [ 24/Mar/17 ] |
|
renctan please take a look and provide the feedback on this approach. |