[SERVER-39989] Use a config.transactions find command for the begin fetching timestamp in initial sync Created: 06/Mar/19 Updated: 29/Oct/23 Resolved: 02/Apr/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | 4.1.10 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Judah Schvimer | Assignee: | Vesselina Ratcheva (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | prepare_initial_sync | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||||||||||
| Sprint: | Repl 2019-03-25, Repl 2019-04-08 | ||||||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||||||
| Description |
|
Initial sync will do a readConcern: local find on the config.transactions table instead of calling serverStatus after the changes in |
| Comments |
| Comment by Githook User [ 02/Apr/19 ] |
|
Author: {'name': 'Vesselina Ratcheva', 'username': 'vessy-mongodb', 'email': 'vesselina.ratcheva@10gen.com'}Message: |
| Comment by Githook User [ 28/Mar/19 ] |
|
Author: {'name': 'Vesselina Ratcheva', 'username': 'vessy-mongodb', 'email': 'vesselina.ratcheva@10gen.com'}Message: |
| Comment by Githook User [ 19/Mar/19 ] |
|
Author: {'name': 'Vesselina Ratcheva', 'username': 'vessy-mongodb', 'email': 'vesselina.ratcheva@10gen.com'}Message: |
| Comment by Vesselina Ratcheva (Inactive) [ 18/Mar/19 ] |
|
The above is needed for initial sync, as we need to pass in an optime for the oplog fetcher to use as its lastFetched. While there might be other solutions to that, this is definitely the simplest one. |
| Comment by Judah Schvimer [ 07/Mar/19 ] |
|
As part of this ticket, please remove the field from serverStatus so we do not accidentally release it ever. |