[SERVER-34196] OpObserver::onRenameCollection() dropTarget boolean argument is redundant Created: 29/Mar/18 Updated: 29/Oct/23 Resolved: 30/Mar/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | 3.7.4 |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Benety Goh | Assignee: | Benety Goh |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Participants: | |||||||||||||
| Linked BF Score: | 89 | ||||||||||||
| Description |
|
With UUIDs enabled by default, the dropped target collection UUID passed to the OpObserver::onRenameCollection() function is sufficient to infer the dropTarget state of the collection rename. This change should not be back ported to 3.6 because we may still need to generate renameCollection oplog entries with a boolean dropTarget field in the absence of UUIDs. |
| Comments |
| Comment by Githook User [ 30/Mar/18 ] |
|
Author: {'email': 'benety@mongodb.com', 'name': 'Benety Goh', 'username': 'benety'}Message: |
| Comment by Githook User [ 30/Mar/18 ] |
|
Author: {'email': 'benety@mongodb.com', 'name': 'Benety Goh', 'username': 'benety'}Message: |
| Comment by Benety Goh [ 29/Mar/18 ] |
|
This improvement was suggested during a review of the work in |